summaryrefslogtreecommitdiff
path: root/src/net/network.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-2/+2
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+3
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-04Went through the gui folder and revised the include statements to notIra Rice1-13/+1
include anything not needed by that specific widget or window. This appears to have cleaned up system performance a bit on my current setup, where it went from idling on 45% in game with opengl down to 30% now. Also moved iptostring to the tostring header, as importing all of network.h is a little overkill to use that function, and it goes along with the basic functions that are in that header file anyways. TODO: find out a way to get rid of warnings when a class doesn't use this function. Signed-off-by: Ira Rice <irarice@gmail.com>
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-2/+1
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-07-23Updated item database, Selim and network.cppDouglas Boffey1-1/+1
2008-07-18Import of client treeLloyd Bryant1-2/+2
2007-08-30Merged equipment database with items database and got rid of the unused itemBjørn Lindeijer1-1/+1
art attribute. Removed the now unnecessary multiplication of weapon IDs with 10000. Added a fallback item icon and used it for unknown items or when an item image fails to load.
2007-03-24Make sure that when a network error occurs, the error message is available andBjørn Lindeijer1-21/+29
shown to the user. Also, only enable Register button when all necessary fields are filled in.
2006-11-09Fixed a conflict with Windows headers and updated project filesEugenio Favalli1-12/+12
2006-11-05Changed some printf statements to log statements.Bjørn Lindeijer1-1/+1
2006-08-02Some cleanups, fixes and a small start on a solution for the animated spriteBjørn Lindeijer1-2/+2
synchronization problem (resetting all animations).
2006-03-15Fixed connection not being shut down completely in case of an error.Björn Steinbrink1-4/+7
2006-02-24Another bunch of cosmetic cleanups, ie mostly typedefs...Björn Steinbrink1-13/+4
2006-02-04Unify the various login dialogs to use LoginData.Björn Steinbrink1-10/+6
2006-01-22Make dispatchMessages actually handle more than one message per call.Björn Steinbrink1-11/+11
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-220/+285
2005-12-30Applied pcloud's patch that enhances chat window functionality while hidden.Bjørn Lindeijer1-3/+3
2005-12-30Added a new item, improved smooth login sequence, added a registration ↵Eugenio Favalli1-0/+25
window (a lot of duplicated code to be removed).
2005-10-16The connection should be non-blocking now and fixed the problem with sound ↵Eugenio Favalli1-30/+101
not being played at startup.
2005-09-27Dont crash if there is an unknown error at login.Cedric Borgese1-12/+23
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-22removed win2mac supportDuane Bailey1-4/+1
2005-09-19Got rid of writeSet() calls.Eugenio Favalli1-10/+0
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-17Completed transition to use MessageOut.Eugenio Favalli1-35/+0
2005-09-14Header cleanups.Björn Steinbrink1-8/+8
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-107/+254
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-1/+1
2005-05-02Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.Bjørn Lindeijer1-7/+7
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 Lindeijer1-9/+10
2005-02-21Updates to change log, file lists, lots of doxygen comments and small changes.Bjørn Lindeijer1-1/+1
2005-02-20Added basic functionality for the new skill dialog. Class support, ↵Kiyoshi Kyokai1-1/+1
initialization, creation, deconstruction, etc. You can activate it with ALT+n.
2005-02-14Simplified logging for the sake of simplicity.Bjørn Lindeijer1-18/+21
2005-02-06Fixing inventory (still needed to add a proper way to choose items, now ↵Eugenio Favalli1-1/+6
creating a item widget)
2005-01-05Removed bugging cancel button from npc dialog and fixed npc sprites.Bjørn Lindeijer1-2/+2
2004-12-26- final touch to writing mechanism of the config systemAlexander Baldeck1-73/+73
- tmw now can read and write its ini file - some fixes in login.cpp to get it to work properly - Init method -> init - Write method -> write - minor code "beautification" in several files
2004-12-23Fixed up iptostring() memory leak.Aaron Marks1-3/+3
2004-12-11Core sprite classes of the new graphic engineEugenio Favalli1-2/+2
2004-12-10Use a consistent tab-less header throughout the code.Bjørn Lindeijer1-22/+20
2004-09-26*** empty log message ***Eugenio Favalli1-0/+177