summaryrefslogtreecommitdiff
path: root/src/net
AgeCommit message (Collapse)AuthorFilesLines
2005-10-16Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}.Björn Steinbrink5-72/+67
2005-10-16The connection should be non-blocking now and fixed the problem with sound ↵Eugenio Favalli4-86/+111
not being played at startup.
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer3-9/+8
hook themselves into the map on construction. The improved fringe layer is working as expected now. * Made sure TMW compiles without warnings even when using "-Wconversion -Wshadow -Wcast-qual -Wwrite-strings -ansi -pedantic", lots of cleanups. * Added two new small tilesets that contain the desert tiles that are twice and three times the height of a normal tile. One well in new_3-1 has been converted to use the new double tiles for testing purposes.
2005-10-05Fixed some resource cleanup and memory leaks. Also changed the way danglingBjørn Lindeijer1-1/+1
references to resources are reported to be more informative.
2005-09-27Dont crash if there is an unknown error at login.Cedric Borgese3-19/+33
Remove a bug that do x86_64 arch fail to connect to server : long is 8 bytes on that arch, use int for 4 bytes integer.
2005-09-26Now error message is displayed properly when the map server is offline.Eugenio Favalli1-0/+2
2005-09-26Added a nicer handling of when you get disconnected from the server.Eugenio Favalli1-8/+5
2005-09-22fixed minor bug; changed 16 to 32 (*reminds self to test before committing*)Duane Bailey1-1/+1
2005-09-22removed win2mac supportDuane Bailey5-45/+7
2005-09-19Mostly code cleanups related to commits in past two days.Bjørn Lindeijer4-17/+4
* Replaced custom function FIND_PATH with AC_PATH_PROG, used for finding sdl-config. * Removed -lphysfs from Makefile.am which should be added automatically already. * Actually show the overweight message, and only show it once for each time weight goes above half the max weight. * Surfaces passed to SDL_BlitSurface shouldn't be locked according to the manual. * Minimal fps limit is now 10 fps. * Reverted change by Bertram that hardcoded the updatehost value.
2005-09-19Got rid of writeSet() calls.Eugenio Favalli4-17/+5
2005-09-17configure.ac: Fix typo.Björn Steinbrink2-3/+3
src/Makefile.am: Remove useless (duplicate) -lpng. src/graphics.cpp: Add missing cstdarg header. src/net/messagein.cpp: Fix some funny looking preprocessor statement. src/net/messageout.cpp: Readd SDLnet header, for changed preprocessor stuff.
2005-09-172005-09-17 Duane Bailey <nayryeliab@gmail.com>Duane Bailey3-7/+7
* src/netmessagein.cpp, src/net/messageout.cpp, src/net/network.cpp: changed ifdefs to ifs
2005-09-172005-09-17 Duane Bailey <nayryeliab@gmail.com>Duane Bailey3-7/+7
* src/net/messagin.cpp, src/net/messageout.cpp, src/net/network.cpp: removed replaced MACOSX defines with big endian defines * src/graphics.cpp, src/graphics.h: added screenshot method * src/game.cpp: added code, so that when one presses 'alt-p' (for picture), it takes a screenshot and saves it to a png * src/Makefile.am, config.ac: added png library stuff
2005-09-172005-09-17 Duane Bailey nayryeliab@gmail.comDuane Bailey2-2/+3
* game.h: fixed bugs created by matt * messageout.h: fixed bug concering expand arguments * mesageout.cpp: adding include to win2mac.h and commented out SDL_net include; caused bugs on macs
2005-09-17Added PVPMatthias Hartmann1-0/+4
2005-09-17Completed transition to use MessageOut.Eugenio Favalli5-70/+41
2005-09-16Tiny error reporting improvement.Bjørn Lindeijer1-1/+1
2005-09-14Added stream operator for char, short and long reading and writing.Björn Steinbrink4-0/+44
2005-09-14Header cleanups.Björn Steinbrink6-18/+16
2005-09-14Add missing cassert header.Björn Steinbrink1-0/+2
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink13-401/+937
2005-09-08Removed inclusion of malloc.h header as it doens't seem necessary and wasBjørn Lindeijer1-3/+0
problematic on FreeBSD.
2005-08-13Updated dev-cpp project file, removed unnecessary header, fixed some include ↵Eugenio Favalli1-3/+1
paths.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink2-15/+18
2005-07-28Fix an ATTACK still not being declared as being in namespace Being, cvs ↵Björn Steinbrink1-1/+1
didn't notice the changed file...
2005-07-26Added Being::Type enumeration and type-aware findNode(). Fixed font not ↵Björn Steinbrink1-11/+19
being reset after drawing speech. Target marker drawing moved into engine.
2005-07-22Merge between moi1392's branch and headCedric Borgese1-2/+2
2005-07-12windows compilation fixesEugenio Favalli1-0/+1
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer3-3/+3
2005-07-03- Fixed blue, red and yellow damage fonts to work in SDL modeBjørn Lindeijer1-3/+3
- Added two international characters to fixed font, fixed autotarget - Fixed mouse autotarget (now default for left click) - Cleaned up showing of empty right click menus
2005-06-27Fixed initialisation of Being*. The problem is that the attack() function isBjørn Lindeijer1-2/+2
since recently being called with up to 8 directions while it is written to only handle 4.
2005-05-27autoTarget is now a Being*, also may have fixed related crash and added labelBjørn Lindeijer2-6/+12
to show current target.
2005-05-22Fixed little oopsie.Bjørn Lindeijer2-3/+6
2005-05-22This way auto attack should work with left ctrl too (alsoEugenio Favalli2-16/+15
some docs updates)
2005-05-22An attemp on auto attack, not bug free for sureEugenio Favalli2-0/+26
2005-05-21restoring backwards compatibility for trade by using an unused packetJan-Fabian Humann1-1/+1
2005-05-21first part of trade fix, second part will be serversideJan-Fabian Humann1-1/+2
2005-05-14Hide mouse when the application doesn't have mouse focus.Bjørn Lindeijer1-10/+11
2005-05-02Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.Bjørn Lindeijer2-11/+11
2005-04-26Changed keyboard control to integrate better with mouse walk, changed locationBjørn Lindeijer1-0/+3
of packet.list and chatlog.txt and removed name from player chat "balloon".
2005-04-22Now you can attack with right mouse button, useful when using bow, need ↵Eugenio Favalli1-4/+4
improvements though
2005-04-18Fixed tileset loading to clear tilesets vector when finished.Bjørn Lindeijer1-4/+8
2005-04-01* The client will now only attempt to load .tmx or .tmx.gz files.Bjørn Lindeijer1-3/+4
* When unable to connect to char server, report IP to which it can't connect. * Cleaned up logger a bit.
2005-03-25Fix compile issues on Windows.Bjørn Lindeijer1-1/+1
2005-03-25Fix a few more log and error calls to make sure it compiles...Bjørn Lindeijer2-14/+16
2005-03-21Some cleanups and button, radiobutton and checkbox now take into accountBjørn Lindeijer1-8/+12
disabled status.
2005-03-13* Moved Being public char *speech to private std::string speechBjørn Lindeijer1-1/+1
* Moved Being public PATH_NODE *path to private std::list<PATH_NODE> path * Fixed warping issue which corrupted player (which also applies to respawning) * Got rid of sound error in Setup window
2005-03-11Well, yet again the commit seems to have left some files out.Bjørn Lindeijer1-0/+1
2005-03-10Fixed showing death bitmap when other players die and fixed the black hairBjørn Lindeijer1-0/+9
problem.