summaryrefslogtreecommitdiff
path: root/src/event.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-16/+16
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-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2011-04-09Renamed Listener to EventListenerThorbjørn Lindeijer1-4/+4
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-5/+0
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-4/+4
Acked-by: Jared Adams
2010-11-11Have the event system channels use enums instead of stringsChuck Miller1-3/+3
Reviewed-by: Freeyorp
2010-08-16Move more to the event systemJared Adams1-0/+68
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/+40
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-4/+4
Reviewed-by: Thorbjørn Lindeijer
2010-08-10Add some new methods to the Event classJared Adams1-0/+28
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/+20
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-1/+1
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/+99