aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/puzzle.h
AgeCommit message (Collapse)Author
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: 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: Move Puzzle logic into a .cpp filerichiesams
2013-08-04ZVISION: Convert Puzzle to a classrichiesams
It needed a copy constructor and destructor to handle the heap memory ResultActions
2013-08-04ZVISION: Remove supurflouous 'const' and add 'inline'richiesams
2013-08-04ZVISION: Add operator< to the Puzzle structrichiesams
ScriptManager does a unique-fication of a container of Puzzles using a sort with some other logic. The sort uses operator<
2013-08-04ZVISION: Clean up includesrichiesams
2013-08-04ZVISION: Rename result_action.h/.cpp files to actions.h/.cpprichiesams
2013-08-04ZVISION: Remove nonstandard C type declaration from the StateFlags enumFilippos Karapetis
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: Convert ScriptManager methods to use ResultAction classes logicrichiesams
2013-08-04ZVISION: Modify utility and puzzle comments to make them more clearrichiesams
2013-08-04ZVISION: Fix code formatting to follow the conventionrichiesams
2013-08-04ZVISION: Split puzzleControl into two files. Add ResultAction enumrichiesams
After further investigation, puzzles and controls don't really share any structs. So it makes more sense to keep them seperate.