summaryrefslogtreecommitdiff
path: root/src/net
AgeCommit message (Collapse)AuthorFilesLines
2009-04-20Removed the unused itemshortcutwindow.{h,cpp}Bjørn Lindeijer1-1/+3
2009-04-20Fix clearing handlers on connecting to game server.David Athay3-1/+7
2009-04-19Error server unavailable Add an error box when then game server isn't ↵blue1121-0/+6
available (on char selection)
2009-04-19Fix TMWServ compilationJared Adams1-1/+6
2009-04-19Flesh out eAtehan party handlingJared Adams6-24/+245
2009-04-18Make sure every eAthena packet has a #defineJared Adams7-42/+79
2009-04-16Fix compilation under TMWServJared Adams2-12/+14
2009-04-16Remove last support #ifdef in the resource codeJared Adams2-0/+40
2009-04-16Some cleanupsBjørn Lindeijer2-2/+2
* std::string arguments to 'const std::string &' * findMember2 renamed to findOrCreateMember * Made some functions const
2009-04-16Rehash CommandHandler a bit, it's now fully mergedJared Adams3-37/+26
Tabs can now interract with CommandHandler and define their own commands in a seemless way. Most channel-related commands have been moved into ChannelTab, the close command is now in the WhisperTab, and eAthena's party tab now shows all standard commands.
2009-04-16Make sure math functions are still inlinedBjørn Lindeijer1-5/+0
A function call could be quite a large overhead on top of a fast square root function.
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.