aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/script_manager.h
AgeCommit message (Collapse)Author
2013-08-10ZVISION: 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-10ZVISION: Move the ScriptManager update functions to a single update() function.richiesams
Then make the individual update functions private
2013-08-10ZVISION: Create a global puzzle list and parse universe.scr into it during ↵richiesams
ScriptManager::initialize()
2013-08-05ZVISION: Pass the scr fileName as a const referencerichiesams
2013-08-04ZVISION: Convert _activeNodes and _activeControls to Lists of SharedPtrrichiesams
2013-08-04ZVISION: Convert ResultAction pointers to SharePtrrichiesams
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-04ZVISION: Remove redundant class qualifierrichiesams
2013-08-04ZVISION: Optimize integer type usagesrichiesams
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-04ZVISION: Move CriteriaOperator, Criteria, and StateFlag inside the Puzzle classrichiesams
2013-08-04ZVISION: Create ScriptManager member function to change locationrichiesams
2013-08-04ZVISION: Modify Control parsing to use new Control class structurerichiesams
2013-08-04ZVISION: Rename parseResult() to parseResults()richiesams
2013-08-04ZVISION: Modify Criteria parsing to handle empty Criteriarichiesams
2013-08-04ZVISION: Replace includes with forward declarationsrichiesams
2013-08-04ZVISION: Conform to GCC spacing for template inside templaterichiesams
2013-08-04ZVISION: Create ScriptManager state handling logicrichiesams
2013-08-04ZVISION: Create main containers in ScriptManagerrichiesams
2013-08-04ZVISION: Rename result_action.h/.cpp files to actions.h/.cpprichiesams
2013-08-04ZVISION: Change Puzzle::resultActions to a List of pointers instead of ↵richiesams
ResultAction objects ResultAction is abstract, therefore, it can't be directly stored in the list
2013-08-04ZVISION: Fix includes to use new underscore namesrichiesams
2013-08-04ZVISION: Rename files to use underscores instead of camelCaserichiesams