summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2010-10-19Heavy GUI fixes related to stats for Manaserv.Yohann Ferreira1-19/+30
Also tested to be compatible with tA. Now the Status window is much more nicer when using Manaserv. HP, max hp, ... are now working fine along with corrections made in the attributes.xml file (in next commit.) Reviewed-by: Thorbjorn.
2010-10-04Remove the AFK response systemChuck Miller1-1/+0
This would be if it was handled by a addon later. Reviewed-By: Freeyorp < Freeyorp101@hotmail.com >
2010-10-04Remove the following systemChuck Miller2-10/+0
The implamentation is poor, and this is something that would be better handled by the addon engine later down the road. Reviewed-By: Freeyorp < Freeyorp101@hotmail.com >
2010-09-25Merge branch '1.0'Thorbjørn Lindeijer26-277/+371
Conflicts: src/actorspritemanager.h src/beingmanager.cpp src/game.cpp src/gui/beingpopup.cpp src/gui/chat.cpp src/gui/chat.h src/gui/inventorywindow.h src/gui/itempopup.cpp src/gui/socialwindow.cpp src/gui/statuswindow.cpp src/gui/widgets/chattab.cpp src/gui/widgets/chattab.h src/net/tmwa/inventoryhandler.cpp src/net/tmwa/partyhandler.cpp src/party.cpp src/sound.cpp src/utils/stringutils.cpp src/utils/stringutils.h
2010-09-13Avoid loading non-existing music and minimapsStefan Dombrowski1-1/+2
Reviewed-by: Thorbjorn
2010-09-12Deactivating OpenGL by default on WindowsStefan Dombrowski1-2/+12
For Linux OpenGL was already deactivated. For OSX it is still by default switched on. Reviewed-by: Jaxad0127
2010-09-11Fixing misspelling in Setup_Video and removing empty lines from logStefan Dombrowski2-4/+4
Reviewed-by: Jaxad0127
2010-09-08Adding missing updates for buttons in InventoryWindowStefan Dombrowski2-2/+14
Reviewed-by: Thorbjorn
2010-09-08Adding missing update for attributes in StatusWindowStefan Dombrowski2-4/+11
Reviewed-by: Thorbjorn
2010-09-04Fix crash with missing skill iconJared Adams1-2/+8
Reviewed-by: Bertram
2010-09-02Avoiding empty lines in historyStefan Dombrowski1-1/+2
2010-09-02Fixing escape key in charselectdialogStefan Dombrowski1-14/+6
* In charselectdialog the requestFocus is now called later, because before it had no effect, since it was called before the characters were present. Having no char with focus has the side effect that the escape key gets ignored. * Removing the code for variable width of CharacterDisplay, because with recent changes it is executed before the characters are present, therefore it had no effect.
2010-08-31Fixing auto complete and chat historyStefan Dombrowski2-14/+8
Reviewed-by: Jaxad0127
2010-08-30Fixing segmentation fault and making invite to guild in pop-up conditionalStefan Dombrowski2-1/+3
How to reproduce the segmentation fault: Open the emote pop-up. Then press the escape key and switch the character. The emote pop-up is still open and clicking on it makes the game crash. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-29Move handling of autocomplete and input history into TextFieldJared Adams7-203/+222
Reviewed-by: Freeyorp
2010-08-27Changing findBeingByName so that it searches case insensitiveStefan Dombrowski1-2/+4
Adding error message when trying to create a party with to long name. Removing non-existing files from C::B project. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-26Merged testing branch into master.Yohann Ferreira11-52/+62
2010-08-25Adding autoComplete for inviteStefan Dombrowski7-11/+48
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-24Giving functionality to invite in socialwindow and allow enter key in textdialogStefan Dombrowski2-3/+2
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-22Fixing segmentation fault when tab gets removedStefan Dombrowski1-17/+3
How to reproduce the bug: Leave a party, while the party tab in the chat window is not selected. Then click with the mouse on the chat window. Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-08-21Fixing segmentation fault and improving gui for partyStefan Dombrowski1-2/+2
* Segmentation fault happened if a player left a party while other party members are offline. * While creating a party the key input is not anymore reused for game play. * The vertical scrollbar is only shown when needed. * The default height was raised, because before much of the functionality was hidden. Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-08-20Show info popups for all playersStefan Dombrowski1-11/+14
Until now popups were only shown for players who are member of a party. This resolves http://bugs.manasource.org/view.php?id=197 Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-19Fixing some bugs in NPC-shop guiStefan Dombrowski3-0/+26
* Price and total money is now shown from the beginning in sell dialog. * Item popup is set invisible when mouse has moved away from items. * Item popup gets deleted when shop closes. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-18Fix Theme loadingJared Adams1-0/+4
Reviewed-by: Freeyorp
2010-08-18Fixing overlapping icons in item popupsStefan Dombrowski1-17/+18
The bug could not be reproduced by everyone. Many thanks to Jaxad0127 for testing it on an affected system. This patch resolves http://bugs.manasource.org/view.php?id=191 Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-16Move more to the event systemJared Adams8-53/+89
Most of Net::InventoryHandler is now done through events. The ActorSpriteManager was also replaced by events. A few odds and ends were taken care of too. Reviewed-by: Bertram
2010-08-12Simplify working with the event systemJared Adams5-17/+17
EventManager has been merged into Event, with some new convinience methods added. Reviewed-by: Chuck Miller
2010-08-12Replace most of Net::NpcHandler with eventsJared Adams2-19/+31
Reviewed-by: Chuck Miller
2010-08-12Forgot a Label constructorJared Adams1-0/+1
2010-08-12Fix Label color handlingJared Adams1-1/+1
2010-08-10Remove NpcDialog references from netcodeJared Adams2-18/+153
Reviewed-by: Chuck Miller
2010-08-09Replace remaining gcn::Label instances with Label instancesJared Adams3-4/+8
Reviewed-by: Chuck Miller
2010-08-05Have Being manage speech creation and add permissions to eventsJared Adams1-1/+3
The Being and Player Chat events now have the precomuted permissions for SPEECH_LOG and SPEECH_FLOAT. The Being class now acts on those events to show speech (if SPEECH_FLOAT is present). ChatWindow now checks for the SPEECH_LOG permission. Reviewed-by: Freeyorp
2010-08-03Move Theme and UserPalette to the resources folderJared Adams44-1318/+52
Reviewed-by: Yohann Ferreira
2010-08-03Merge remote branch 'origin/1.0'Jared Adams1-4/+36
Conflicts: src/net/tmwa/chathandler.cpp
2010-08-03Added double click to equip unequip and use itemsdweems1-4/+36
-Double-click items in invetory to equip/unequip -Double-click items in inventory to use Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-02Fix some bugsJared Adams1-2/+4
Trivial fixes.
2010-08-02Remove non-GUI references to MiniStatusWindowJared Adams4-28/+88
Reviewed-by: Freeyorp
2010-08-02Convert most of the remaining chat system to use the event systemChuck Miller1-0/+25
Reviewed-by: Jared Adams
2010-08-01Remove isActive methods from NPC dialogs and InventoryWindowJared Adams7-17/+18
Uses counts in PlayerInfo instead. Reviewed-by: Chuck Miller
2010-08-01Remove isActive methods from buy/sell windowsJared Adams7-16/+21
Uses a state variable in PlayerInfo instead. Moves isTalking from Being to PlayerInfo. Also some small cleanups. Reviewed-by: Chuck Miller
2010-08-01Reduce localChatTab presence replacing it with the event systemChuck Miller6-46/+39
Reviewed-By: Jared Adams
2010-07-30Fixed two more forgotten hard-coded references.Yohann Ferreira1-1/+3
2010-07-29Changed the items loading to handle a new 'attack-action' parameter.Yohann Ferreira1-2/+2
The old behaviour was to load the weapon-type value and do many unnecessary checks and transformation on it: The weapon-type was transformed using hard-coded values into an integer enum value. The exact same thing was done on the opposite side in the animation files before comparing the two. As both data were string values, I simplified all of it by using the value taken in items.xml to call the corresponding action. This now also permit to set up new attack animation in items.xml and in the playerset.xml without having the need to modify the client code. Last but not least, the weapon-type value was used by both the skills and the actions and avoided the possibility to set up a definite action for a weapon-type. Note: The weapon-type parameter will become deprecated for the server in favor of a 'skill' parameter to reflect more it's actual use. This patch is the first step to fix Manasource issue: #157.
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira33-120/+118
Please note that I didn't turned all the getValue() call into new ones, simply because I have to have config object initiated which is not forcefully the case the branding file. Resolves: Manasource Mantis #170.
2010-07-22Add two debug map modes and improve slightly map drawing.Andrei Karas1-1/+1
Reviewed-by: Bertram
2010-07-19Merge branch '1.0'Yohann Ferreira7-19/+56
Conflicts: src/gui/itempopup.cpp src/item.cpp src/monster.cpp src/net/manaserv/playerhandler.cpp src/net/tmwa/partyhandler.cpp src/npc.cpp src/player.cpp src/resources/itemdb.cpp src/resources/monsterdb.cpp src/resources/monsterinfo.cpp src/resources/npcdb.cpp src/resources/spritedef.cpp
2010-07-18Fix runtime crash from bad event keysChuck Miller1-8/+13
Reviewed-by: Jared Adams
2010-07-18Add event.h to eventmanager.h and listener.h to reduce total number of includesChuck Miller4-4/+0
You'll have to include it anyways 99% of the time
2010-07-18Move the majority of the netcode's server messages to the event systemChuck Miller2-1/+19
There is still a good way to go, but this should get us started Reviewed-by: Jared Adams