Age | Commit message (Collapse) | Author |
|
iterate over _activeControls
We also change _activeControls to a List instead of a HashMap because a List should have
slightly better iteration time.
|
|
Control syntax
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This makes memory management a lot easier as well as removes the need for
multiple lists that point to the same objects. However, there will be quite a few Controls
that don't need all the functionality of ActionNode and MouseEvent, so the default
implementations are No Op.
|
|
|
|
|
|
|
|
go negative
|
|
|
|
|
|
|
|
|
|
We no longer use SharedPtr
|
|
|
|
using getFrameData()
|
|
|
|
|
|
|
|
|
|
methods internally.
Rather than creating an instance of MouseEvent and passing argument around.
|
|
every process()
|
|
|
|
|
|
SharedPtrs
|
|
|
|
|
|
The code was moved to the class PushToggleControl
|
|
Some Puzzles don't have flags, which caused it to never be initialized
|
|
|
|
|
|
This allows List::push_back() to not cause a data copy
|
|
|
|
|
|
|
|
|
|
Animations use incremental frame changes. That is, only a few frames
are complete (I-frames), the rest are just the pixels that change between the current
frame and both the previous frame and the next frame (B-frames). See
https://en.wikipedia.org/wiki/Video_compression_picture_types
|
|
|
|
|
|
|
|
|
|
This ensures the background will be rendered before anything from Puzzles or Controls
|
|
|
|
|
|
|
|
|