Age | Commit message (Collapse) | Author |
|
|
|
|
|
once per game
|
|
we know the RenderState
|
|
Since it can be in either the x or the y direction
|
|
|
|
|
|
|
|
|
|
|
|
else is formatted
|
|
|
|
the end of the frame
This prevents memory corruption since changeLocation could be called in the middle of
a Puzzle list iteration and changeLocation clears all the Puzzle lists.
|
|
Then make the individual update functions private
|
|
ScriptManager::initialize()
|
|
|
|
|
|
|
|
|
|
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
|
|
is changed
|
|
|
|
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.
|
|
|
|
|
|
Only fire off the Results of ALL of the criteria are met
|
|
|
|
|
|
|
|
|