summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.h
AgeCommit message (Collapse)AuthorFilesLines
2012-01-09Added a close button to the npc dialog window.Yohann Ferreira1-2/+6
The close button will only display when the window is waiting for the server, so that crashed windows can be closed without restarting the client. Pushing the QUIT key (Escape by default) will also close the crashed windows in that case. I also fixed a memleak with the "next" button. Resolves: Mana-Mantis #72, 93, 389. Reviewed-by: Ablu.
2012-01-07Made the first choice item be selected at the beginningBen Longbons1-0/+5
Resolves Mana-Mantis: #432. Reviewed-by: Bertram, Ablu.
2011-05-25Added more double clickable actionsAngelo Castellani1-3/+7
- double clicking a do_choice item submits it - double clicking the npc chat will hit 'next' - double click to buy/sell a single item - clicking on no item in the inventory now deselects - double click to use/activate items in inventory
2011-04-09Removed a lot of useless "documentation"Thorbjørn Lindeijer1-5/+0
I have to admit I contributed a large part of these. Sorry for that. Less empty space, more attention to the code. Acked-by: Jared Adams
2011-04-09Renamed Listener to EventListenerThorbjørn Lindeijer1-2/+2
Makes it clear what kind of listener it is, since there are other listener classes as well. Acked-by: Jared Adams
2011-04-09Removed the Mana namespaceThorbjørn Lindeijer1-2/+2
It's just an annoyance when it's only applied to a few classes. Either we place everything in this namespace or nothing, and at the moment I don't see any rationale for placing everything in a Mana namespace. Acked-by: Jared Adams
2011-04-09Moved Channels to Mana::Event::ChannelThorbjørn Lindeijer1-1/+1
Acked-by: Jared Adams
2010-12-15Merge branch '0.5'Thorbjørn Lindeijer1-0/+2
2010-11-29Allow enter OK button key in input field.Andrei Karas1-0/+2
By default OK shortcut is space key. Reviewed-by: Jaxad0127, Kage
2010-11-13Replace config listeners with the event systemChuck Miller1-3/+3
Reviewed-by: Jared Adams
2010-08-10Remove NpcDialog references from netcodeJared Adams1-9/+3
Reviewed-by: Chuck Miller
2010-08-01Remove isActive methods from NPC dialogs and InventoryWindowJared Adams1-5/+0
Uses counts in PlayerInfo instead. Reviewed-by: Chuck Miller
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-2/+9
Reviewed-by: Bertram
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-10/+25
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-28Increase integer input default maximum to 2^31-1Jared Adams1-1/+2
2010-01-12Standardize header orderJared Adams1-2/+2
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2009-05-13Allow more control of NpcDialog using the keyboardJared Adams1-0/+2
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-09Fix some memory leaksJared Adams1-0/+2
In doing so, NPC Dialogs now show the resize grip again.
2009-05-03Fixed compile warnings and other tweaksBjørn Lindeijer1-9/+13
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-2/+4
Added plus and minus buttons on NPC Integer input. No server side modifications.
2009-05-03Fix some layout issues with the NPC dialogJared Adams1-0/+6
Also add a reset button for the string and integer input modes.
2009-05-02Fix up some things in the NPC dialogJared Adams1-2/+8
2009-05-01Forgot the new dialogJared Adams1-0/+185