summaryrefslogtreecommitdiff
path: root/src/net/messageout.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-05-05Removed the shared base classes of MessageIn and MessageOutThorbjørn Lindeijer1-79/+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-3/+2
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-2/+2
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 )
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams1-133/+6
2009-10-24REplace instances of TMW with ManaJared Adams1-8/+8
2009-09-30Merge login state machines for both clientsJared Adams1-0/+1
Also do some cleanup and refactoring of related code.
2009-04-27Moved special coordinates packing into MessageOutBjørn Lindeijer1-0/+61
Is a better place. The reading part was already in MessageIn.
2009-03-27Made eAthena's Network class statically accessibleBjørn Lindeijer1-8/+3
Now the instance doesn't need to be passed into the MessageOut class anymore. Expect a lot of cleanup in the next commit.
2009-03-27Changed the includes for the net/tmwserv/ directoryBjørn Lindeijer1-2/+3
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-35/+71
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.
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-11-20Merged revisions 3692 via svnmerge from Bjørn Lindeijer1-2/+3
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3692 | gmelquio | 2007-10-27 11:03:13 +0200 (Sat, 27 Oct 2007) | 1 line Made it compile with GCC 4.3 ........
2007-10-27Made it compile with GCC 4.3Guillaume Melquiond1-2/+3
2007-01-30Removed unused Packet class.Bjørn Lindeijer1-1/+0
2006-08-26Got rid of the default MessageOut constructor, since all messages should haveBjørn Lindeijer1-7/+0
an ID.
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-08-20The Network can now connect to the three servers and affected methods now takeBjørn Lindeijer1-0/+8
the server type as a parameter. The MessageOut gained a convenience constructor (same as was added server side). The game states during login sequence have been renamed and redone in order to ensure no communication is attempted to unconnected servers. This allowed the removal of the outgoing message queue. Connecting to the account server has been moved before the login/register phase (dialogs will still need to be updated). Quite a few things are expected to be broken since I'm rather tired at the moment. I've left many TODO entries in the code.
2006-08-14Completed porting of character creation/deletion, fixed some issues with ↵Eugenio Favalli1-2/+2
network code.
2006-07-25Switched client to use enet and modified login sequence to work with the new ↵Eugenio Favalli1-51/+51
protocol from tmwserv.
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-41/+8
2005-10-16Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}.Björn Steinbrink1-26/+23
2005-09-27Dont crash if there is an unknown error at login.Cedric Borgese1-6/+9
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-22fixed minor bug; changed 16 to 32 (*reminds self to test before committing*)Duane Bailey1-1/+1
2005-09-22removed win2mac supportDuane Bailey1-5/+3
2005-09-19Mostly code cleanups related to commits in past two days.Bjørn Lindeijer1-3/+3
* 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 Favalli1-2/+5
2005-09-17configure.ac: Fix typo.Björn Steinbrink1-2/+2
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-2/+2
* 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-2/+2
* 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 Bailey1-1/+2
* 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-17Completed transition to use MessageOut.Eugenio Favalli1-5/+3
2005-09-14Added stream operator for char, short and long reading and writing.Björn Steinbrink1-0/+18
2005-09-14Header cleanups.Björn Steinbrink1-1/+2
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-0/+130