aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/script_manager.h
AgeCommit message (Collapse)Author
2013-10-20ZVISION: Style modifing by astyle.Marisa-Chan
2013-10-18ZVISION: Basic integration of SideFX into scriptManager.Marisa-Chan
2013-10-17ZVISION: Consistently use the type of the state mapMatthew Hoops
Should fix the AmigaOS4 build
2013-10-04ZVISION: Add typedefs to shorten long type namesRichieSams
2013-10-02ZVISION: Standardize includes order and formatRichieSams
Format is: common/scummsys.h (Only if a .cpp file) header file for this file (Only if a .cpp file) zengine includes other includes, grouped by module
2013-09-15ZVISION: Add focus support for the ScriptManagerRichieSams
2013-09-15ZVISION: Add ScriptManager support for key press eventsRichieSams
2013-09-09ZVISION: Add method for getting a pointer to a ControlRichieSams
2013-09-04ZVISION: Initialize Location to the main menurichiesams
This ensures that the first auto save of the game will have a useful location
2013-09-04ZVISION: Create ScriptManager _activeControls serialization methodsrichiesams
2013-09-04ZVISION: Create ScriptManager state table serialization methodsrichiesams
2013-09-04ZVISION: Create method for getting the current locationrichiesams
2013-09-04ZVISION: Remove zero valued entries in the global state table once a framerichiesams
2013-09-03ZVISION: Allow changeLocation to be executed right away instead of next framerichiesams
2013-09-24ZVISION: Create console method for parsing ALL .scr filesrichiesams
Useful for putting a breakpoint at certain ResultActions/Controls to test out different instances of them.
2013-08-28ZVISION: Add ScriptManager mouse event handlersrichiesams
This allows the main engine to pass mouse events to Controls
2013-08-28ZVISION: Remove ScriptManager::_activeNodes and change all iterators to ↵richiesams
iterate over _activeControls We also change _activeControls to a List instead of a HashMap because a List should have slightly better iteration time.
2013-08-28ZVISION: Update ScriptManager::enableControl()/disableControl() to fit new ↵richiesams
Control syntax
2013-08-24ZVISION: Convert ScriptManager::_activeNodes to normal pointers instead of ↵richiesams
SharedPtrs
2013-08-20ZVISION: Store the Puzzles in _activePuzzles and _globalPuzzles on the heaprichiesams
This allows List::push_back() to not cause a data copy
2013-08-18ZVISION: Revert to normal pointers instead of shared pointersrichiesams
2013-08-18ZVISION: Convert _puzzlesToCheck to a Queue instead of a Stackrichiesams
2013-08-18ZVISION: Allow Puzzles to have mutiple 'sets' of CriteriaEntriesrichiesams
2013-08-18ZVISION: Allow controls to be enabled or disabledrichiesams
2013-08-18ZVISION: Convert _activeControls from a List to a HashMaprichiesams
2013-08-16ZVISION: Rename 'x' variable in changeLocation to 'offset'richiesams
Since it can be in either the x or the y direction
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