Commit graph

11 commits

Author SHA1 Message Date
3522ce37a3 Add an offset in HorzCollisionBar and reset it at the beginning of every frame. 2014-08-01 16:41:55 +02:00
1037e2e141 Fix the assert when quitting. 2014-07-31 12:00:29 +02:00
250600d8b2 Make the verbosity of the observers manager switchable from the cmake file. 2014-07-17 16:53:14 +02:00
3f79507beb Assertion that the ObserverManager is empty when it's destroyed and verbosity. 2014-07-10 21:56:05 +02:00
1682b1ade7 Use the new tree class instead of a flat array.
This is so that observers being registered can refer
"sub-observers" recursively. When such observer is deleted,
the whole underlying subtree is removed with it. This facilitates
the process of unregistering observers - ie: when the main
observer goes down because it is destroyed, all of its sub-observers
are removed as well, because in this architecture they are expected
to be aggregated to the main observer.
2014-07-10 21:56:05 +02:00
103689a29a Refactoring in ObserversManager.
Pull out the storage part so the class is more tidy.
2014-07-10 21:56:05 +02:00
b4ddfa8f4f Fix for a crash occurring when the window is resized.
Temporary Platform objects were registering themselves.
The move ctor would then initialize the final object in
the circular buffer (see PlatformSystem), but it would
leave the address of the temporary object registered in
the ObserversManager.
2014-07-06 02:21:25 +02:00
9a8367c00c Bugfix.
Too many elements were trimmed from the end of the lists
due to a wrong calculation of the last unused chunk length.
2014-07-04 13:23:37 +02:00
452761985d Buildfix for clang 2014-03-21 22:51:28 +01:00
fce08ed793 GPLv3 license. 2014-02-25 14:17:09 +01:00
402681762a New class to manage subscribers and give IDs. 2014-02-21 23:11:02 +01:00