summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-08-16Move more to the event systemJared Adams1-5/+3
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-01Remove isActive methods from NPC dialogs and InventoryWindowJared Adams1-1/+2
Uses counts in PlayerInfo instead. Reviewed-by: Chuck Miller
2010-06-10Merge BeingManager and FloorItemManager as ActorSpriteManagerJared Adams1-2/+2
No need for two different classes to manage ActorSprites. Reviewed-by: Chuck Miller
2010-05-17Remove Monster, Player, and NPC classesJared Adams1-16/+22
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-06Add support for floor item spritesJared Adams1-3/+6
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-03-26Replace most dynamic_casts with static_castsJared Adams1-22/+9
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-25Merge StorageWindow into InventoryWindowJared Adams1-2/+1
Reviewed-by: Chuck Miller
2010-03-19Fix crash when player chooses to follow a being that has been deleted alreadyChuck Miller1-2/+2
Reviewed-By: Jarad Adams
2010-02-24Move StorageWindow to instancing intead of globalJared Adams1-4/+6
Also make storage under eAthena more flexible. Reviewed-by: Dennis Friis
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-3/+1
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-31Unify eAthena and manaserv support in to one build.Daniel Bradshaw1-1/+1
Finish support for server types in the server dialog. Using the new server type function, strip out ifdefs, replacing them with if blocks for later merging in smaller atomic commits. Remove any remaining references to the support defs, including in build system.
2010-01-13Adds a follow manager for usersBlueSansDouze1-4/+5
Right click contextual menu on player "follow" entry Cancel the following by moving with mouse or keys Adds a special behavior for map changes
2010-01-11Cleanup GUI classesJared Adams1-7/+7
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2010-01-10Change code styleAndrei Karas1-1/+2
2009-12-27Add right click whisperdweems000@gmail.com1-0/+8
2009-11-26Merge a little more and remove the BuddyWindowJared Adams1-19/+1
The BuddyWindow was only half implemented and would have been made redundant with the planned social window.
2009-10-24REplace instances of TMW with ManaJared Adams1-2/+2
2009-09-23Fixes party inviteChuck Miller1-1/+1
2009-09-13Add ellipsis (...) to some options requiring further inputKess Vargavind1-3/+6
2009-08-31Fixes NPC names on the popup menu.Freeyorp1-6/+2
Mantis-issue: 861
2009-08-07Gettext fixesKess Vargavind1-3/+4
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-24Prevent translations from leaving popups uselessJared Adams1-35/+63
2009-07-23Clear some more support ifdefsJared Adams1-2/+0
2009-07-17Various gettext fixesKess Vargavind1-1/+2
* Merged a few split strings * Fixed some spellings and wordings * Turned a couple of std::cout and std::cerr into logger messages
2009-05-12Fix up handling of GM statusJared Adams1-9/+12
2009-05-12Adjust the context menu's invite optionsJared Adams1-1/+4
Guild will no longer show for eAthena builds and party will only show if you are in a party.
2009-05-12Remove methods from LocalPlayer that just call NetJared Adams1-5/+7
And make a few others like that, and remove them too.
2009-05-06Clean up the bypass code for the ItemAmountWindowJared Adams1-4/+4
2009-05-06Remove more inventory handling support #ifdefsJared Adams1-7/+2
This also fixes some minor bugs and centralizes some logic.
2009-05-05Fix the context menu for the storage windowJared Adams1-15/+41
2009-05-03Moved strprintf into stringutils.{h,cpp}Bjørn Lindeijer1-1/+1
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-3/+3
We don't use underscores in the filenames generally, and let's be consistent on that matter.
2009-04-22Some string fixesKess Vargavind1-3/+3
2009-04-20Reduced the weight of a few gui windows and popups which wrapped theirIra Rice1-4/+0
TextBoxes in ScrollAreas, but never needed to scroll (and disabled both the horizontal and vertical scrollbars, which makes using a scrollarea kind of pointless to begin with). Signed-off-by: Ira Rice <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-15Made the PopupMenu a Popup subclassBjørn Lindeijer1-8/+1
It's a natural better fit. The SkinLoader was changed into a singleton, since it's used by both Window and Popup classes.
2009-04-15Fix some memory problemsJared Adams1-0/+1
2009-04-15Trim out (npc) tag from NPC names in PopupMenuTametomo1-2/+8
Generally, it's good to tack on this tag onto nearly everything, but for popup options, it looks a tad tacky. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-15Some PopupMenu cleanups/fixes and additions.Tametomo1-17/+25
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-10Fix popup to prevent an item from showing on warpsJared Adams1-1/+2
2009-04-09Remove a segfault when exiting the clientJared Adams1-3/+1
2009-04-09Add a popup menu item to add Being name to chatJared Adams1-11/+10
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-1/+2
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.
2009-04-05Implement TMWServ's Admin-, Chat-, and MapHandlersJared Adams1-1/+1
2009-04-02Partially fixed compilation for TMWServ. src/gui/buysell.cpp still needs to ↵Philipp Sehmisch1-1/+1
be fixed.
2009-04-02Add some missing handler for eAthenaJared Adams1-0/+17
Also expand aAthena's AdminHandler
2009-04-01Some cleanupJared Adams1-7/+1
2009-04-01Make eAthena's inventory handlerJared Adams1-4/+0
Also cleanup some related #ifdefs in LocalPlayer.