summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2010-06-10Merge BeingManager and FloorItemManager as ActorSpriteManagerJared Adams6-34/+44
No need for two different classes to manage ActorSprites. Reviewed-by: Chuck Miller
2010-06-09Fix dead Beings not being removed using tmwAthenaJared Adams1-2/+2
Rename mWalkTime to mActionTime in Being and have Being manage death. Reviewed-by: 4144
2010-06-01Made the MP bar be shown only if the protocol is using it.Yohann Ferreira2-14/+42
Reviewed-by: Jaxad0127.
2010-05-21Remove some unneeded printfsJared Adams1-4/+0
2010-05-21Fix compilationJared Adams1-1/+2
2010-05-21Merge branch '1.0'Thorbjørn Lindeijer16-45/+171
Conflicts: src/beingmanager.cpp src/beingmanager.h src/client.cpp src/localplayer.cpp
2010-05-17Remove Monster, Player, and NPC classesJared Adams19-119/+83
Instead of having these three subclasses with minor differences, this commit merges them back into Being. In the future, we can make Beings that are talkable to some, attackable by others, etc. This also puts back support for monster equipment. Also changes remaining references to Being::Type and the constants to refer to ActorSprite::Type. Reviewed-by: Freeyorp
2010-05-13Draw item image in item popups.Andrei Karas4-11/+55
Now draw image only in chat item popup. Reviewed-by: Bertram
2010-05-06Add support for floor item spritesJared Adams2-5/+8
This commit adds a sprite hierarchy (Sprite->ImageSprite,AnimatedSprite,CompundSprite; CompoundSprite,Actor->ActorSprite;ActorSprite->Being,FloorItem) to collect common functionailty into new base classes which will make other Mantis tickets easier to do. Also allows monsters to use particle effects. Reviewed-by: Bertram
2010-05-06Fix reading arrays at index -1.Andrei Karas2-3/+12
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-05-06Fixed some copy/pasted documentationThorbjørn Lindeijer1-3/+3
2010-05-05Fix showing the type of the default serverJared Adams1-0/+2
Reviewed-by: Thorbjørn Lindeijer
2010-05-05Allow start game if update server is down.Andrei Karas1-9/+23
Small code style changes. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-05-01Add chat logging.Andrei Karas7-1/+43
Add option in players setup page. Add command line option. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-04-25Fix some button issues in SocialWindowJared Adams2-2/+21
The invite and leave buttons are now only enabled when there are tabs. Also, the code to handle them will do nothing if no tab is selected (backup logic). Reviewed-by: Chuck Miller
2010-04-25Make ManaServ player stats softcodedJared Adams2-2/+4
A new stats.xml file is parsed for player stats for ManaServ. The old hardcoded stats remain as backup. Reviewed-by: Bertram
2010-04-25Fix some storage bugsJared Adams2-15/+17
Reviewed-by: Bertram
2010-04-25Fixed the VideoMode listBox logic in the setup window.Bertram1-0/+34
Reviewed by: Jaxad0127
2010-04-21Add a clear button to the NPC dialogJared Adams4-16/+73
Reviewed-by: Bertram
2010-04-19Add afk mode for player.Andrei Karas1-0/+5
Add variable cur_time for current time. Add command /away [text] Reviewed by: Bertram
2010-04-17Changed eAthena protocol name to TmwAthena and changed the config files ↵Bertram3-11/+11
accordingly. This makes room for the actual eAthena protocol future inclusion.
2010-04-16Fix canceling game connectionJared Adams2-0/+3
Reviewed-by: Bertram
2010-04-12Fix error in server list download when download has problemsJared Adams1-2/+5
2010-04-12Added the player collision rectangle and tweaked colorsBertram1-2/+9
2010-04-12Added a more trusty path debug view for ManaServ.Bertram2-15/+58
2010-04-09Add support for registration disabled for eAthenaJared Adams1-0/+3
Reviewed-by: Chuck Miller`
2010-04-06Fix a crash when adding new serversJared Adams2-28/+9
Reviewed-by: Chuck Miller
2010-03-31Removed the ability to assign custom skins to windows/popupsThorbjørn Lindeijer8-67/+3
Old settings are causing it to fall back on the wrong combination of files if old data is in the search path. Reviewed-by: Jared Adams
2010-03-30Fix some memory issuesJared Adams1-0/+1
Reviewed-by: Thorbjørn Lindeijer
2010-03-29Add minimum version information to the server listJared Adams4-30/+156
Use it to hilight entries that we don't meet. Also make the entries in that list higher, put server name and location on different lines, and use the description below the list. The dialog is also resizable now. Reviewed-by: Freeyorp
2010-03-29Fix ListBox::draw to work more correctlyJared Adams1-4/+4
Reviewed-by: Thorbjørn Lindeijer
2010-03-27Fix crash with showing BeingPopupJared Adams1-1/+1
Reviewed-by: Freeyorp
2010-03-26Reduce the amount of "Unable to unequip item" when changing outfits.Chuck Miller1-5/+3
It will still do it at times because of lag. But this reduced it for me by about 80% Reviewed-by: Jared Adams
2010-03-26Replace most dynamic_casts with static_castsJared Adams8-61/+39
The remaining instances can't easily or safely be changed as the classes involved don't have type information like Being does. Reviewed-by: Freeyorp
2010-03-25Simplify NPC input when only one dialog is openJared Adams1-0/+3
Reviewed-by: Freeyorp
2010-03-25Fix the close button on the inventory windowChuck Miller1-5/+8
Reviewed-by: Jared Adams
2010-03-25Fix crash in inventory window, adds quick retrieve to the windowChuck Miller1-4/+11
Reviewed-by: Jared Adams
2010-03-25Remove the type boolean from InventoryWindowJared Adams4-17/+15
This moves inventory/storage type into the Inventory class, having size default to a call to the netcode to get the sive for the given type. Reviewed-by: Chuck Miller
2010-03-25Fix save/load storage window position.Andrei Karas1-1/+1
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-03-25Remove InventoryWindows from their instances list when deletedJared Adams1-0/+1
2010-03-25Merge StorageWindow into InventoryWindowJared Adams6-389/+133
Reviewed-by: Chuck Miller
2010-03-25Eliminate the logic methods from InventoryWindow and StorageWindowJared Adams4-101/+71
2010-03-25Fix some ProgressBar issues in StatusWindowJared Adams1-2/+8
When max was 0, it was causing problems.
2010-03-21Make the Dye class more flexible and fix an issue in itJared Adams1-3/+1
After the last change, it could go over the end of the colors array. Reviewed-by: Chuck Miller Reviewed-by: Freeyorp
2010-03-21Make TextDialog use the layout systemJared Adams1-19/+5
Reviewed-by: Chuck Miller Reviewed-by: Philipp Sehmisch
2010-03-21Make TextDialog send an appropriate event for cancelJared Adams3-20/+36
Reviewed-by: Chuck Miller
2010-03-20Fix base skill in old servers.Andrei Karas1-6/+36
2010-03-20Initialize missed variables in vieportAndrei Karas1-1/+3
2010-03-19Fix crash when player chooses to follow a being that has been deleted alreadyChuck Miller1-2/+2
Reviewed-By: Jarad Adams
2010-03-17Make sure existing parties get added to SocialWindowJared Adams1-0/+5