Commit Graph

20 Commits

Author SHA1 Message Date
richiesams
dd11566ffd ZVISION: Move the ScriptManager update functions to a single update() function.
Then make the individual update functions private
2013-08-10 17:28:41 -05:00
richiesams
5bba509db8 ZVISION: Create a global puzzle list and parse universe.scr into it during ScriptManager::initialize() 2013-08-10 17:25:38 -05:00
richiesams
20c8920929 ZVISION: Pass the scr fileName as a const reference 2013-08-05 00:05:26 -05:00
richiesams
9e996c4fec ZVISION: Convert _activeNodes and _activeControls to Lists of SharedPtr 2013-08-04 13:33:08 -05:00
richiesams
2faaf8488b ZVISION: Convert ResultAction pointers to SharePtr
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 13:33:04 -05:00
richiesams
e170be4ea5 ZVISION: Remove redundant class qualifier 2013-08-04 13:32:59 -05:00
richiesams
f1135292d0 ZVISION: Optimize integer type usages
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 13:32:55 -05:00
richiesams
f39e1fdc43 ZVISION: Move CriteriaOperator, Criteria, and StateFlag inside the Puzzle class 2013-08-04 13:32:54 -05:00
richiesams
00eb279243 ZVISION: Create ScriptManager member function to change location 2013-08-04 13:32:53 -05:00
richiesams
070042fcb4 ZVISION: Modify Control parsing to use new Control class structure 2013-08-04 13:32:52 -05:00
richiesams
d4ae293f88 ZVISION: Rename parseResult() to parseResults() 2013-08-04 13:32:52 -05:00
richiesams
b20437a17d ZVISION: Modify Criteria parsing to handle empty Criteria 2013-08-04 13:32:50 -05:00
richiesams
94000e0781 ZVISION: Replace includes with forward declarations 2013-08-04 13:32:29 -05:00
richiesams
c45a13cdd7 ZVISION: Conform to GCC spacing for template inside template 2013-08-04 13:32:18 -05:00
richiesams
24dc3e1793 ZVISION: Create ScriptManager state handling logic 2013-08-04 13:32:14 -05:00
richiesams
78daaeb583 ZVISION: Create main containers in ScriptManager 2013-08-04 13:32:13 -05:00
richiesams
a8e5e1e2db ZVISION: Rename result_action.h/.cpp files to actions.h/.cpp 2013-08-04 13:32:03 -05:00
richiesams
3822de2aec ZVISION: Change Puzzle::resultActions to a List of pointers instead of ResultAction objects
ResultAction is abstract, therefore, it can't be directly stored in the list
2013-08-04 13:31:59 -05:00
richiesams
1710468121 ZVISION: Fix includes to use new underscore names 2013-08-04 13:31:56 -05:00
richiesams
f99d613dcb ZVISION: Rename files to use underscores instead of camelCase 2013-08-04 13:31:55 -05:00