summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2009-04-02Start TMWServ's PlayerHandler and InventoryHandlerJared Adams1-1/+1
2009-04-02Make eAthena's CharHandlerJared Adams1-26/+9
Also add ping to MapHandler and fill in eAthena's MapHandler's connect method.
2009-04-02Partially fixed compilation for TMWServ. src/gui/buysell.cpp still needs to ↵Philipp Sehmisch1-1/+1
be fixed.
2009-04-02Fixed number of trade window slotsBjørn Lindeijer1-7/+4
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-02Some cleanup and renamingBjørn Lindeijer1-11/+11
* 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 Adams1-0/+17
Also expand aAthena's AdminHandler
2009-04-01Create a few more handlers for eAthenaJared Adams2-15/+8
Map, chat, and admin have been finished (to the degree they handle all existing cases).
2009-04-01Some cleanupJared Adams2-9/+2
2009-04-01Make eAthena's inventory handlerJared Adams4-27/+18
Also cleanup some related #ifdefs in LocalPlayer.
2009-04-01Build eAthena's PlayerHandlerJared Adams1-17/+22
2009-03-31Implement a few more handlers for eAthenaJared Adams2-36/+41
Party, skill, and trade handlers made for eAthena.
2009-03-31Add first draft of net handlersJared Adams7-44/+25
eAthena NPC handler has been implemented and is being used for NPC interraction.
2009-03-31Remove unused backgroundJared Adams2-8/+0
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 item types to remove more #ifdefsJared Adams4-44/+44
2009-03-29Fix up eAthena party handling some moreJared Adams9-110/+144
2009-03-29Merge branch 'master' of git@gitorious.org:tmw/mainlinePhilipp Sehmisch65-562/+428
2009-03-29Fixed compilation on WindowsPhilipp Sehmisch2-1/+5
2009-03-28Fix output location for CommandHandlerJared Adams2-3/+3
2009-03-28Clean up eAthena party handling a bit moreJared Adams2-3/+27
2009-03-28Make the BuySellWindow eAthena onlyJared Adams1-9/+6
2009-03-28Add a sticky button to the Window classJared Adams5-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.
2009-03-28Allow changing chat tabs with the keyboardJared Adams2-0/+32
Defaults to: [ for previous tab ] for next tab
2009-03-28Some more cleanupBjørn Lindeijer3-68/+67
Renamed Skill_Tab to SkillTab and got rid of MAX_SLOT, using maxSlot instead.
2009-03-28Fixed the wrapping of item and emoticon shortcut windowsBjørn Lindeijer1-4/+4
Take into account incomplete rows.
2009-03-27Make chat wrapJared Adams1-1/+1
2009-03-28Make the full inventory accessible againBjørn Lindeijer4-17/+17
Was broken due to tmwserv having only 50 as opposed to 100 places in the inventory at the moment.
2009-03-28Removed a lot of useless isVisible() checksBjørn Lindeijer17-51/+5
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 Lindeijer2-11/+8
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 Adams1-1/+0
2009-03-27Clean up of most of the Network pointersBjørn Lindeijer22-168/+15
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 Lindeijer13-50/+24
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-27Removed unnecessary parenthesis on constructorsBjørn Lindeijer11-19/+19
2009-03-27Clean up chat and chat tabs some moreJared Adams13-150/+114
2009-03-27Fixed selection shadow not to overlap the emoticonsBjørn Lindeijer1-23/+24
Also fixed positioning for emoticons above the player sprite. Mantis-issue: 675
2009-03-27Fixed inventory window. Not resizable though.Bjørn Lindeijer11-139/+108
Resizing of the inventory window may come back later. Also did some more code cleanups, moving defines to enums, getting rid of eAthena-specific offset handling (to be done in the network layer), etc. Mantis-issue: 666
2009-03-27Gray out the magic bar when magic can't be usedBjørn Lindeijer1-0/+4
Restored code that probably got lost in a merge somewhere. Mantis-issue: 663
2009-03-27Fixed some positioning issuesBjørn Lindeijer1-1/+1
Started with not being able to click NPCs properly, and I ended up correcting the draw positions of overhead text, targets and sprite ordering. It's now a bit more straight-forward. The position of a being is simply in the middle of the sprite at the bottom. When drawing the sprite, an offset remains because all the sprites are compensating for getting drawn half a tile to the left and one tile up.
2009-03-27Removed the unused "logged" button statusBjørn Lindeijer2-12/+3
Seems to be remnant from before we had a proper tabbed area.
2009-03-27Removed all the static initializations of mAlphaBjørn Lindeijer16-16/+16
They happened before the configuration was initialized, so that didn't make any sense. It never showed up as a problem since the value is constantly set in the draw methods anyway.
2009-03-27Simplified and fixed initialization of login dataBjørn Lindeijer1-1/+2
Command line parameters were being overridden by old configuration settings.
2009-03-27Add some const to the chat tabsJared Adams6-8/+8