summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-06Use a namespace to keep apart implementations of network handlersBjørn Lindeijer7-17/+42
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 Lindeijer6-24/+31
Initialization order, return values, unused variables, missing enumerator.
2009-04-04Update Code::Blocks project fileJared Adams1-5/+17
2009-04-04Fixed CMake build files; both tmwserv and eathena clients will get built, ↵Bernd Wachter3-112/+188
the eathena-binary gets named tmw-ea Fixed gitignore for CMake files
2009-04-03Fill in TMWServ's TradeHandlerJared Adams15-132/+224
Also started temparary implementation of the Net::getXHandler() methods and started using them.
2009-04-02Start TMWServ's PlayerHandler and InventoryHandlerJared Adams9-17/+164
2009-04-02Make eAthena's CharHandlerJared Adams11-51/+93
Also add ping to MapHandler and fill in eAthena's MapHandler's connect method.
2009-04-02Updated Code::Blocks project file. Made it easier to work with both build ↵Philipp Sehmisch1-11/+18
targets in parallel by using separate object file directorys and different names for the created binaries.
2009-04-02Partially fixed compilation for TMWServ. src/gui/buysell.cpp still needs to ↵Philipp Sehmisch3-3/+3
be fixed.
2009-04-02Fixed number of trade window slotsBjørn Lindeijer2-15/+14
On eAthena you can only trade up to 10 items at a time. For now I don't care whether tmwserv would handle more, we'll unify that later. It's not so nice anyway to hardcode the number of rows and columns in my opinion.
2009-04-02Attempt to put item popup in a less annoying placeBjørn Lindeijer2-9/+13
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 Lindeijer25-218/+268
* 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 Adams9-6/+217
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-02Removed duplicated code in LocalPlayerBjørn Lindeijer2-68/+1
This code was present in both Player and LocalPlayer. If there's some kind of issue with executing this stuff in a different order, it should be solved differently.
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 Adams3-0/+163
2009-04-01Create a few more handlers for eAthenaJared Adams13-153/+142
Map, chat, and admin have been finished (to the degree they handle all existing cases).
2009-04-01Some cleanupJared Adams4-16/+3
2009-04-01Fix a bug for TMWServ compilationJared Adams1-2/+4
2009-04-01Make eAthena's inventory handlerJared Adams10-62/+118
Also cleanup some related #ifdefs in LocalPlayer.
2009-04-01Build eAthena's PlayerHandlerJared Adams6-76/+162
2009-03-31Implement a few more handlers for eAthenaJared Adams16-196/+229
Party, skill, and trade handlers made for eAthena.
2009-03-31Make network handler functions virtualJared Adams30-208/+234
2009-03-31Add first draft of net handlersJared Adams24-50/+846
eAthena NPC handler has been implemented and is being used for NPC interraction.
2009-03-31Remove unused backgroundJared Adams2-8/+0
2009-03-30Add a logging statement before trying to load mapsJared Adams1-0/+1
There is a rare segfault between this and the next logging statement, I think it's a bad map name. This will help test that.
2009-03-30fixed a segfault on client exit if the chatwindow has tabs and the main tab ↵Bernd Wachter1-1/+1
is active
2009-03-30fix segfault if the background image is missingBernd Wachter1-1/+2
2009-03-30Fixed checking for loading fonts before applying a styleBernd Wachter1-1/+2
2009-03-30Hilight chat tabs when appropriateJared Adams5-0/+25
2009-03-30Fix a bug in tradeJared Adams1-2/+3
There's still an offset problem that I can't figure out.
2009-03-30Allow tabs to be colored and color whisper tabsJared Adams3-4/+18
2009-03-30Fix an offset bug when selling itemsJared Adams1-1/+1
2009-03-30Fix a segfault in the equipment windowJared Adams1-1/+1
2009-03-30Merge weapon typesJared Adams3-27/+0
2009-03-30Merge item types to remove more #ifdefsJared Adams7-61/+46
2009-03-29Fix up eAthena party handling some moreJared Adams20-326/+339
2009-03-29Updated Code::Blocks filePhilipp Sehmisch1-17/+23
2009-03-29Merge branch 'master' of git@gitorious.org:tmw/mainlinePhilipp Sehmisch115-1231/+1103
2009-03-29Fixed compilation on WindowsPhilipp Sehmisch4-49/+463
2009-03-28Fix output location for CommandHandlerJared Adams4-164/+168
2009-03-28Clean up eAthena party handling a bit moreJared Adams16-130/+127
2009-03-28Forgot to add the sticky button graphics to makeJared Adams1-0/+1
2009-03-28Make the BuySellWindow eAthena onlyJared Adams2-12/+9
2009-03-28Remove #ifdefs related to Being creationJared Adams5-42/+49
Also move the Monster type offset handling into the eAthena netcode.
2009-03-28Add a sticky button to the Window classJared Adams6-14/+93
The Minimap window uses this so you can froce it to always be open. The Minimap toggle button can be used to show or hide it temporarily, as warping will reset it's visibility based on the sticky state and weather the 'new' map has a minimap.