aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/script_manager.cpp
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-10-02ZVISION: Convert all for-loops to use pre-increment instead of post-incrementRichieSams
2013-10-02ZVISION: Replace all occurances of (*iter). with iter->RichieSams
2013-10-02ZVISION: Add debug levelsRichieSams
2013-09-21ZVISION: Directly access _globalState instead of using setStateValueRichieSams
setStateValue does a _referenceTable lookup and potentially adds Puzzles to _puzzlesToCheck. We know that _referenceTable and _puzzlesToCheck with be cleared during ScriptManager::changeLocation(), so using setStateValues ends up just being wasteful.
2013-09-21ZVISION: Clear out the current state table values before loading any from a ↵RichieSams
save file
2013-09-16ZVISION: Enable auto savingRichieSams
2013-09-16ZVISION: Remove all AlphaEntries on room changeRichieSams
2013-09-15ZVISION: Ensure getControl always returns somethingRichieSams
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-07ZVISION: Set a Puzzle as completed before executing its ResultActionsRichieSams
2013-09-07ZVISION: Delete a Control * when removing it from _activeControlsRichieSams
2013-09-06ZVISION: Delete action_nodeRichieSams
2013-09-06ZVISION: Save the Puzzle key, since ChangeLocation could be calledRichieSams
Which wipes all the puzzles
2013-09-06ZVISION: Disable saving until it can be fixedRichieSams
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-03ZVISION: Cleanup _activeControls in ScriptManager destructorrichiesams
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: Add note about _activeNodesrichiesams
2013-08-24ZVISION: Fix memory leakrichiesams
We no longer use SharedPtr
2013-08-24ZVISION: Make Control purely virtualrichiesams
2013-08-24ZVISION: Convert ScriptManager::_activeNodes to normal pointers instead of ↵richiesams
SharedPtrs
2013-08-20ZVISION: Delete Puzzles from heap before clearing _activePuzzlesrichiesams
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: Force & operator to have precedence over == operatorrichiesams
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: Allow ONCE_PER_INST puzzles to be repeated once per room instead of ↵richiesams
once per game
2013-08-18ZVISION: Set the background position after the .scr file has been parsed so ↵richiesams
we know the RenderState
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-14ZVISION: Add cursor and background image resets during location changerichiesams
2013-08-14ZVISION: Set the initial game location (The opening video and menu)richiesams
2013-08-11ZVISION: Implement mouse event handlingrichiesams
2013-08-11ZVISION: Remove a verbose debug messagerichiesams
2013-08-11ZVISION: Fix enum qualifiersrichiesams
2013-08-11ZVISION: Change the initializer list formatting to conform to how everything ↵richiesams
else is formatted