summaryrefslogtreecommitdiff
path: root/src/net
AgeCommit message (Collapse)AuthorFilesLines
2009-04-15Merge the trade dialogJared Adams1-3/+6
2009-04-15Some PopupMenu cleanups/fixes and additions.Tametomo1-0/+1
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-14Put the remaining unnamespaced handlers in a namespaceBjørn Lindeijer20-2/+79
Also fixed some initialization order warnings when compiling with tmwserv support and made two getters const.
2009-04-13Some cleanup of the Configuration interfaceBjørn Lindeijer1-3/+3
Mainly avoid all the convertions from integer to float and then to string and also back from string to float and then to integer.
2009-04-12Properly interpret `PC is dead' information from eAthena serverFate1-0/+4
(cf. 5cf18a062ffca03196b83fe6fda8ea3e54079c57; apparently the change was lost later)
2009-04-12Append _F or _M to username in eAthena network layerBjørn Lindeijer7-48/+57
Abstracts it away and out of main.cpp and register.cpp.
2009-04-11Remove more support #ifdefsJared Adams5-1/+53
2009-04-10Introduced a Desktop widget to handle the wallpaperBjørn Lindeijer2-1/+6
Cleans up main.cpp a little.
2009-04-09Some random cleanupsBjørn Lindeijer4-12/+8
2009-04-09Remove a segfault when exiting the clientJared Adams1-0/+2
2009-04-07Forgot to finish Net::getPartyHandler()Jared Adams1-2/+2
2009-04-07Implement TMWServ's PartyHandlerJared Adams8-45/+135
2009-04-08Associated setup tab name with the tab itselfBjørn Lindeijer3-3/+1
Keeps things together in the right place and allowed writing a bit more generic code in the Setup class.
2009-04-07Make GeneralHandlers for both networksJared Adams27-118/+888
Also make Net::LogoutHandler
2009-04-07Used custom widgets where appropriate and some cleanupBjørn Lindeijer2-12/+3
Replaced many gcn::Label with Label, gcn::Slider with Slider in character creation dialog. Also cleaned up includes.
2009-04-07Fixed compile warnings about unsigned/signed comparisonsBjørn Lindeijer1-8/+11
2009-04-06Add support for changing direction under eAthenaJared Adams6-1/+27
2009-04-06Implement TMWServ's CharHandlerJared Adams6-21/+111
Also cleanup character creation, which isn't functional at the moment.
2009-04-06Moved many MessageOut constructions aroundBjørn Lindeijer11-251/+126
No real point in having these abstracted away twice. We're using network interfaces now instead of functions structured in namespaces.
2009-04-06Fixed compile warning about initialization orderBjørn Lindeijer1-1/+3
Also made CMakeLists.txt consistent with Makefile.am regarding the BuySellDialog.
2009-04-06Remove unneeded includesJared Adams1-17/+0
2009-04-06Add TMWServ's SkillHandlerJared Adams14-22/+169
Also namespace both Player- and TradeHandlers
2009-04-05Implement TMWServ's Admin-, Chat-, and MapHandlersJared Adams15-31/+404
2009-04-05Implement TMWServ's NpcHandlerJared Adams11-33/+140
2009-04-06Use a namespace to keep apart implementations of network handlersBjørn Lindeijer5-4/+27
Since we'll have three "InventoryHandler" classes, etc. this shows an example of how we can compile with all of them at the same time using namespaces. We'll have: Net::InventoryHandler - the interface EAthena::InventoryHandler - the eAthena implementation TmwServ::InventoryHandler - the tmwserv implementation Maybe we'll find a better way later, but for now this works. I'm not convinced yet that using namespaces is better than just using longer class names like EAthenaInventoryHandler.
2009-04-05Fixed compile warningsBjørn Lindeijer4-22/+28
Initialization order, return values, unused variables, missing enumerator.
2009-04-03Fill in TMWServ's TradeHandlerJared Adams10-5/+194
Also started temparary implementation of the Net::getXHandler() methods and started using them.
2009-04-02Start TMWServ's PlayerHandler and InventoryHandlerJared Adams7-5/+152
2009-04-02Make eAthena's CharHandlerJared Adams8-11/+78
Also add ping to MapHandler and fill in eAthena's MapHandler's connect method.
2009-04-02Fix inventory offset when populating sell dialogJared Adams1-1/+1
2009-04-02Don't use assertions in MessageInBjørn Lindeijer2-61/+57
Not nice if some data corruption would cause the client to crash unnecessarily.
2009-04-02Some cleanup and renamingBjørn Lindeijer22-198/+248
* Removed superfluous 'virtual' keyword in *Handler implementations * Renamed NPCHandler to NpcHandler * Renamed InvyHandler to InventoryHandler * Made all *Handler interface methods pure virtual * Used forward declarations in net.h * Renamed {start,end}Shoping to {start,end}Shopping
2009-04-02Add some missing handler for eAthenaJared Adams6-6/+196
Also expand aAthena's AdminHandler
2009-04-02Fixed an inventory offset that I missed previouslyBjørn Lindeijer2-5/+6
When confirming item add for trade, the inventory offset was not substracted from the item index.
2009-04-01Fix "unnamed" monstersJared Adams1-2/+6
2009-04-01Fix sending chat to eAthenaJared Adams1-2/+2
2009-04-01Forgot a few files for eAthena's admin handlerJared Adams2-0/+161
2009-04-01Create a few more handlers for eAthenaJared Adams6-124/+105
Map, chat, and admin have been finished (to the degree they handle all existing cases).
2009-04-01Make eAthena's inventory handlerJared Adams3-4/+83
Also cleanup some related #ifdefs in LocalPlayer.
2009-04-01Build eAthena's PlayerHandlerJared Adams3-5/+127
2009-03-31Implement a few more handlers for eAthenaJared Adams11-149/+175
Party, skill, and trade handlers made for eAthena.
2009-03-31Make network handler functions virtualJared Adams29-208/+220
2009-03-31Add first draft of net handlersJared Adams16-1/+817
eAthena NPC handler has been implemented and is being used for NPC interraction.
2009-03-29Fix up eAthena party handling some moreJared Adams6-157/+167
2009-03-28Clean up eAthena party handling a bit moreJared Adams7-90/+67
2009-03-28Remove #ifdefs related to Being creationJared Adams2-7/+41
Also move the Monster type offset handling into the eAthena netcode.
2009-03-28Removed a lot of useless isVisible() checksBjørn Lindeijer1-1/+2
The draw() method of a widget isn't called when a widget is not visible.
2009-03-27Moved the inventory and storage offset handling into netcodeBjørn Lindeijer3-54/+98
No need to complicate the item containers and inventory classes with a silly offset used by the eAthena server. Also fixed the logToStandardOut option by reading it from the config after the configuration has been initialized.
2009-03-27Clean up some ifdefs and start cleanup of partiesJared Adams6-4/+395
2009-03-27Clean up of most of the Network pointersBjørn Lindeijer1-2/+0
Now that messages can be sent without requiring a pointer to the Network instance, a lot of cleanup was possible.