summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.cpp
AgeCommit message (Collapse)AuthorFilesLines
2011-04-09Moved Channels to Mana::Event::ChannelThorbjørn Lindeijer1-7/+7
Acked-by: Jared Adams
2011-04-09Moved Events to Mana::Event::TypeThorbjørn Lindeijer1-10/+10
Acked-by: Jared Adams
2010-12-15Merge branch '0.5'Thorbjørn Lindeijer1-0/+5
2010-11-29Allow enter OK button key in input field.Andrei Karas1-0/+5
By default OK shortcut is space key. Reviewed-by: Jaxad0127, Kage
2010-11-13Replace config listeners with the event systemChuck Miller1-4/+7
Reviewed-by: Jared Adams
2010-11-12Change NPC handling in the net codeChuck Miller1-20/+10
Instead of using events to invoke netcode, invoke netcode directly and have it send events Reviewed-by: Freeyorp
2010-11-11Replace Event names with enums instead of stringsChuck Miller1-16/+16
2010-11-11Have the event system channels use enums instead of stringsChuck Miller1-11/+11
Reviewed-by: Freeyorp
2010-08-12Simplify working with the event systemJared Adams1-12/+12
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 Adams1-14/+26
Reviewed-by: Chuck Miller
2010-08-10Remove NpcDialog references from netcodeJared Adams1-9/+150
Reviewed-by: Chuck Miller
2010-08-01Remove isActive methods from NPC dialogs and InventoryWindowJared Adams1-0/+5
Uses counts in PlayerInfo instead. Reviewed-by: Chuck Miller
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira1-2/+2
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-05-17Remove Monster, Player, and NPC classesJared Adams1-1/+0
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-04-21Add a clear button to the NPC dialogJared Adams1-14/+50
Reviewed-by: Bertram
2010-03-25Simplify NPC input when only one dialog is openJared Adams1-0/+3
Reviewed-by: Freeyorp
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-13Make NPC dialogs instance instead of globalJared Adams1-7/+67
This change allows players to talk to multiple NPCs at a time (if the server agrees). Manaserv's netcode allows multiple commerce instances too. eAthena's is limited to one commerce instance, due to protocol limitations.
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-11Cleanup GUI classesJared Adams1-3/+4
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2010-01-10Fix handling of NPC talking statusJared Adams1-1/+0
2009-11-29Fix NPC choice interfaceJared Adams1-14/+14
Don't allow no selection to be sent. Reset selection on new dialog to fix issues with list size changes. Fixes: http://bugs.manasource.org/view.php?id=36
2009-08-07Gettext fixesKess Vargavind1-1/+2
Trying to use the same kind of capitalization and interpunctuation for various parts of the gui, melding a few split strings, updating POTFILES.in and adding translators' notes.
2009-07-26Gettext fixesKess Vargavind1-4/+4
And a Swedish translation of the desktop file.
2009-07-23Clear some more support ifdefsJared Adams1-0/+2
2009-06-30Fixed compiler warning about unsigned/signed integer comparisionThorbjørn Lindeijer1-1/+1
2009-06-27Prevent selection of out of range menu optionsJared Adams1-1/+5
2009-05-13Fixed two compiler warningsBjørn Lindeijer1-0/+3
Enumeration values not handled in switch and an ambiguous else.
2009-05-13Allow more control of NpcDialog using the keyboardJared Adams1-0/+16
The move up and move down keys will now let you navigate the list mode and change the value on the integer mode.
2009-05-10Fixed the resize grip of the party windowBjørn Lindeijer1-3/+0
It wasn't re-added after doing a clear. Also, don't leak all the PartyMember and Avatar instances.
2009-05-10Marked some strings as not translatableBjørn Lindeijer1-2/+2
NPC dialog requested translation of + and - and the chat dialog tried to translate a semicolon.
2009-05-09Increased the distance between head and overhead text a bitBjørn Lindeijer1-2/+3
Plus some small code cleanups.
2009-05-09Fix some memory leaksJared Adams1-0/+12
In doing so, NPC Dialogs now show the resize grip again.
2009-05-03Fixed compile warnings and other tweaksBjørn Lindeijer1-12/+10
Warnings were about initialization order and signed variables compared to unsigned variables. Please pay attention to these things. Also made some getters const and turned some std::string parameters into const std::string &.
2009-05-03NPC Integer input plus and minusBlue1-8/+22
Added plus and minus buttons on NPC Integer input. No server side modifications.
2009-05-03Fix some layout issues with the NPC dialogJared Adams1-6/+39
Also add a reset button for the string and integer input modes.
2009-05-03Moved strprintf into stringutils.{h,cpp}Bjørn Lindeijer1-1/+1
2009-05-02Fix up some things in the NPC dialogJared Adams1-3/+18
2009-05-01Forgot the new dialogJared Adams1-0/+277