Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
instead of accumulation of time
|
|
|
|
|
|
|
|
operator[] creates a key value pair if it doesn't exist. So blindly returning a value without checking if the
key exists could result in undefined behavior, depening on what the value is initialized to in its constructor
|
|
|
|
|
|
|
|
The script system requires that all ResultAction::execute() block until they finish. The video system *was* 'asyncronous'
in that you would just start a video and then run() would finish processing it. This code forces the video to complely finish
before playVideo returns. The Clock object is used to keep track of deltaTime while the video is playing.
|
|
|
|
the game
|
|
|
|
subRect coords
|
|
|
|
|
|
|
|
is changed
|
|
|
|
|
|
setting all the settings
|
|
|
|
|
|
|
|
Puzzle now uses smart pointers so clone is no longer necessary
|
|
Also convert the argument to a reference instead of a pointer
|
|
This gets rid of the need for specific destruction as well as making the copy swap
operations in the ScriptManger _referenceTable more efficient
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The general thought is int is faster than int16 or byte. So if you can afford the
space, use it over int16 or byte. Also, only use int32 when you specifically need
the 32 bits.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Control options
|