summaryrefslogtreecommitdiff
path: root/src/event.h
AgeCommit message (Collapse)AuthorFilesLines
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-3/+3
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2024-01-24Fixed compilation issues and use of deprecated C++ featuresThorbjørn Lindeijer1-12/+12
* Fixed compiler errors due to dynamic exception specifications * Replace std::auto_ptr with std::unique_ptr * Replace std::mem_fun with std::mem_fn * Prefix for_each with std:: (apparently not needed before) * Just use lambda instead of std::bind2nd * Removed usages of std::unary_function
2012-01-28Moved mTrading into the TradeHandlerThorbjørn Lindeijer1-2/+0
Really only the trade handler is concerned about whether the player is currently in a trade or not. Reviewed-by: Erik Schilling
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-26Removed 'inline' keyword where it's not of any valueThorbjørn Lindeijer1-10/+10
Members that are implemented inline are already inline, there is no need to mark them as such. Made two inline members of OpenGLGraphics private since because they are marked as inline, they can't be used from other classes. Reviewed-by: Erik Schilling
2011-04-09Renamed Listener to EventListenerThorbjørn Lindeijer1-6/+6
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-8/+3
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-24/+23
Acked-by: Jared Adams
2011-04-09Moved Events to Mana::Event::TypeThorbjørn Lindeijer1-69/+68
Acked-by: Jared Adams
2010-11-13Replace config listeners with the event systemChuck Miller1-0/+2
Reviewed-by: Jared Adams
2010-11-12Change NPC handling in the net codeChuck Miller1-7/+7
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-6/+59
2010-11-11Have the event system channels use enums instead of stringsChuck Miller1-7/+22
Reviewed-by: Freeyorp
2010-08-16Move more to the event systemJared Adams1-1/+63
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 Adams1-0/+52
EventManager has been merged into Event, with some new convinience methods added. Reviewed-by: Chuck Miller
2010-08-12Fix some issues in the Event classJared Adams1-6/+6
Reviewed-by: Thorbjørn Lindeijer
2010-08-10Add some new methods to the Event classJared Adams1-7/+84
Adds get methods with default values, and has methods that return true if the variable exists. Reviewed-by: Chuck Miller
2010-08-01Remove isActive methods from buy/sell windowsJared Adams1-0/+4
Uses a state variable in PlayerInfo instead. Moves isTalking from Being to PlayerInfo. Also some small cleanups. Reviewed-by: Chuck Miller
2010-07-14Removed unnecessary semicolons after namespacesThorbjørn Lindeijer1-3/+4
Please don't, it causes warnings with my settings, which makes my build fail. ;)
2010-07-13Add the foundation for the event systemChuck Miller1-0/+73