summaryrefslogtreecommitdiff
path: root/src/net/ea
AgeCommit message (Collapse)AuthorFilesLines
2009-04-06Use a namespace to keep apart implementations of network handlersBjørn Lindeijer2-1/+7
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 Lindeijer1-18/+14
Initialization order, return values, unused variables, missing enumerator.
2009-04-03Fill in TMWServ's TradeHandlerJared Adams2-3/+3
Also started temparary implementation of the Net::getXHandler() methods and started using them.
2009-04-02Start TMWServ's PlayerHandler and InventoryHandlerJared Adams2-2/+2
2009-04-02Make eAthena's CharHandlerJared Adams6-6/+67
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-02Some cleanup and renamingBjørn Lindeijer15-102/+154
* 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 Adams5-6/+194
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 Adams2-1/+80
Also cleanup some related #ifdefs in LocalPlayer.
2009-04-01Build eAthena's PlayerHandlerJared Adams2-1/+122
2009-03-31Implement a few more handlers for eAthenaJared Adams10-148/+174
Party, skill, and trade handlers made for eAthena.
2009-03-31Make network handler functions virtualJared Adams15-24/+26
2009-03-31Add first draft of net handlersJared Adams2-1/+102
eAthena NPC handler has been implemented and is being used for NPC interraction.
2009-03-29Fix up eAthena party handling some moreJared Adams5-154/+164
2009-03-28Clean up eAthena party handling a bit moreJared Adams7-90/+67
2009-03-28Remove #ifdefs related to Being creationJared Adams1-5/+38
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 Adams5-1/+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.
2009-03-27Made eAthena's Network class statically accessibleBjørn Lindeijer2-1/+14
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-27Clean up chat and chat tabs some moreJared Adams7-9/+12
2009-03-27Fix some problems with NPC dialogsJared Adams1-0/+2
NPCListDialog couldn't be opened because of infinite recursion, and it and NPCTextDialog both had resize bugs.
2009-03-27Merge branch 'aethyra/master'Bjørn Lindeijer1-5/+4
Conflicts: src/beingmanager.cpp src/gui/confirm_dialog.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/label.cpp src/gui/label.h src/gui/popup.cpp src/gui/popup.h src/gui/scrollarea.cpp src/gui/skin.cpp src/gui/skin.h src/gui/speechbubble.cpp src/gui/window.cpp src/gui/window.h src/localplayer.h src/main.cpp src/net/ea/playerhandler.cpp src/resources/ambientoverlay.h src/resources/dye.cpp src/resources/imagewriter.cpp src/resources/itemdb.cpp src/shopitem.cpp
2009-03-27Fixed some compiler warningsBjørn Lindeijer1-5/+4
Fixed a faulty == statement that should have been an assignment and a mismatched 'else' block.
2009-03-27Moved choosing of random death message to a functionBjørn Lindeijer1-55/+58
Also dynamically calculated the size of the array, so that you don't have to count the messages manually. :P
2009-03-27Include statement cleanup for net/ea/ directory.Bjørn Lindeijer32-239/+264
2009-03-26Major clean up of ChatTab handlingJared Adams7-32/+32
ChatTabs now manage their own adding/removal from the chat window, which lost most of it's chat related messages. Whisper handling is stil done by the ChatWindow, but it no longer manages any other tabs. ChannelTab handling is now the sole responsability of the Channels they are attached to. The general tab is handled by Game.
2009-03-26Add WhisperTabsJared Adams1-7/+4
2009-03-27Compile warning fixesBjørn Lindeijer1-1/+1
Mostly unsigned/signed mismatches and an unused variable.
2009-03-25A host of code style fixesBjørn Lindeijer2-3/+3
Mostly putting & and * in the right place and making some getters const.
2009-03-25Merge branch 'origin/master'Bjørn Lindeijer2-0/+102
Conflicts: .mailmap
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer10-130/+183
Conflicts: A lot of files.
2009-03-24Forgot to add eAthena's item handlerJared Adams2-0/+102
2009-03-23Remove the CHATSKILL structJared Adams1-9/+0
2009-03-23Remove extra function for skill messagesJared Adams1-95/+89
2009-03-22Move handling of eA skill messages to SkillHandlerJared Adams1-1/+129
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer30-0/+3997
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!