summaryrefslogtreecommitdiff
path: root/src/net/messagein.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-05-05Removed the shared base classes of MessageIn and MessageOutThorbjørn Lindeijer1-162/+0
There wasn't a whole lot gained by sharing a common base class, and it makes extending the manaserv Message{In,Out} classes with a debugging mode unnecessarily complicated. Reviewed-by: Yohann Ferreira
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2011-06-03Replace SDL_types.h with cstdintJared Adams1-9/+11
This required moving to C++0x, so it does that too, and fixes a few errors with that. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2011-06-03Cleanup network code to use unsigned integers of the relevant sizeBen Longbons1-4/+4
2010-10-17Removed unnecessary condition in net::readCoordinates.Yohann Ferreira1-6/+2
It is used only by tmwa handlers. Trivial fix.
2010-10-17Fixing missing translation of direction for tA-serverStefan Dombrowski1-0/+7
Reviewed-by: Bertram
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-10Change code styleAndrei Karas1-1/+2
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams1-51/+4
2009-10-24REplace instances of TMW with ManaJared Adams1-5/+5
2009-04-02Don't use assertions in MessageInBjørn Lindeijer1-60/+56
Not nice if some data corruption would cause the client to crash unnecessarily.
2009-03-27Changed the includes for the net/tmwserv/ directoryBjørn Lindeijer1-1/+1
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-33/+56
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2009-01-15Style cleanups throughout most of the code. Splitting function type fromIra Rice1-14/+7
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-5/+2
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-07-18Import of client treeLloyd Bryant1-1/+1
2007-11-21Renamed {read,write}{Byte,Short,Long} to {read,write}{Int8,Int16,Int32}. ThisBjørn Lindeijer1-5/+5
is less confusing in 64-bit context and less conflicting with the 0.0 client.
2007-08-14Fixed error-prone interface. Handled money as an inventory part.Guillaume Melquiond1-12/+8
2006-09-02Removed pixel-based synchronisation. Added variable length move messages.Guillaume Melquiond1-0/+11
2006-08-27Got rid of no longer used protocol.cppBjørn Lindeijer1-1/+1
2006-08-20Changed MessageHandler::handleMessage to take a reference instead of a pointer.Bjørn Lindeijer1-2/+0
Removed unused Packet class. Added stub for handling GPMSG_BEING_ENTER.
2006-07-25Switched client to use enet and modified login sequence to work with the new ↵Eugenio Favalli1-132/+39
protocol from tmwserv.
2006-06-26Fixed the readString method (synchronized with the server version by GuillaumeBjørn Lindeijer1-16/+12
Melquiond).
2006-02-07Made the being directions being stored in a bitfield.Björn Steinbrink1-0/+32
2005-10-16Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}.Björn Steinbrink1-25/+23
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-3/+2
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-22removed win2mac supportDuane Bailey1-5/+3
2005-09-19Mostly code cleanups related to commits in past two days.Bjørn Lindeijer1-1/+1
* 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-17configure.ac: Fix typo.Björn Steinbrink1-1/+1
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 Bailey1-3/+3
* 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 Bailey1-3/+3
* 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-16Tiny error reporting improvement.Bjørn Lindeijer1-1/+1
2005-09-14Added stream operator for char, short and long reading and writing.Björn Steinbrink1-0/+18
2005-09-14Add missing cassert header.Björn Steinbrink1-0/+2
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-0/+151