Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-10 | ZVISION: Stop checking puzzles if ResultAction::execute() returns false | richiesams | |
2013-08-10 | ZVISION: Make ScriptManager::changeLocation delay the actual change until ↵ | richiesams | |
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. | |||
2013-08-10 | ZVISION: Move the ScriptManager update functions to a single update() function. | richiesams | |
Then make the individual update functions private | |||
2013-08-10 | ZVISION: Create a global puzzle list and parse universe.scr into it during ↵ | richiesams | |
ScriptManager::initialize() | |||
2013-08-05 | ZVISION: Add StateFlag handling to Puzzle checking | richiesams | |
2013-08-05 | ZVISION: Fix typo in Puzzle checking | richiesams | |
2013-08-05 | ZVISION: Set the puzzle global variable after a Puzzle is completed | richiesams | |
2013-08-05 | ZVISION: Add debug statements for Puzzle checking | richiesams | |
2013-08-05 | ZVISION: Check if a key exists before returning _globalState value. | richiesams | |
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 | |||
2013-08-04 | ZVISION: Add logic to check _referenceTable Puzzles every time a globalState ↵ | richiesams | |
is changed | |||
2013-08-04 | ZVISION: Convert _activeNodes and _activeControls to Lists of SharedPtr | richiesams | |
2013-08-04 | ZVISION: Sort using iterators instead of the actual elements | richiesams | |
Also convert the argument to a reference instead of a pointer | |||
2013-08-04 | ZVISION: Convert ResultAction pointers to SharePtr | richiesams | |
This gets rid of the need for specific destruction as well as making the copy swap operations in the ScriptManger _referenceTable more efficient | |||
2013-08-04 | ZVISION: Fix typo in format string | richiesams | |
2013-08-04 | ZVISION: Initialize the iterator | richiesams | |
2013-08-04 | ZVISION: Optimize integer type usages | richiesams | |
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. | |||
2013-08-04 | ZVISION: Move CriteriaOperator, Criteria, and StateFlag inside the Puzzle class | richiesams | |
2013-08-04 | ZVISION: Create ScriptManager member function to change location | richiesams | |
2013-08-04 | ZVISION: Move the criteriaMet bool outside of the loop | richiesams | |
Only fire off the Results of ALL of the criteria are met | |||
2013-08-04 | ZVISION: Conform to GCC spacing for template inside template | richiesams | |
2013-08-04 | ZVISION: Create ScriptManager state handling logic | richiesams | |
2013-08-04 | ZVISION: Fix includes to use new underscore names | richiesams | |
2013-08-04 | ZVISION: Rename files to use underscores instead of camelCase | richiesams | |