summaryrefslogtreecommitdiff
path: root/src/net/ea
AgeCommit message (Collapse)AuthorFilesLines
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 Lindeijer10-2/+40
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 Lindeijer4-32/+42
Abstracts it away and out of main.cpp and register.cpp.
2009-04-11Remove more support #ifdefsJared Adams2-1/+35
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 Lindeijer3-10/+7
2009-04-07Implement TMWServ's PartyHandlerJared Adams4-32/+42
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 Adams10-79/+449
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-06Add support for changing direction under eAthenaJared Adams5-1/+25
2009-04-06Implement TMWServ's CharHandlerJared Adams2-13/+33
Also cleanup character creation, which isn't functional at the moment.
2009-04-06Add TMWServ's SkillHandlerJared Adams6-6/+45
Also namespace both Player- and TradeHandlers
2009-04-05Implement TMWServ's Admin-, Chat-, and MapHandlersJared Adams6-12/+38
2009-04-05Implement TMWServ's NpcHandlerJared Adams3-4/+10
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.