aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/scripting/script_manager.cpp
AgeCommit message (Collapse)Author
2016-09-03JANITORIAL: Make GPL headers uniformEugene Sandulenko
2015-02-14ZVISION: Add custom equality operators for game locationFilippos Karapetis
This makes the location checks more readable
2015-01-21ZVISION: Remove unnecessary spacesTorbjörn Andersson
2015-01-21ZVISION: Remove superfluous checkFilippos Karapetis
2015-01-20ZVISION: Fix saving when using the original save dialogFilippos Karapetis
A regression from commit dcac5be493
2015-01-19ZVISION: Fix bug #6771 (unable to leave room when loading a game)Filippos Karapetis
Avoid overwriting the previous location when loading a saved game
2015-01-19ZVISION: Simplify the checks in the location changing codeFilippos Karapetis
2015-01-19ZVISION: Fix bug #6768 (unable to save in the prison area)Filippos Karapetis
The save buffer preparation code had a bug, which triggered in the jail area because its room is 'j'
2015-01-18ZVISION: Don't change location when coming back from ScummVM save dialog and ↵RichieSams
do change location when coming back from restore dialog Fixes bug # 6771 We don't need to change locations, since we use the ScummVM save dialog instead of the original one (which is actually a location). Instead we just need to reset _nextLocation to _currentLocation so the engine can stop trying to save. If we change locations, the StateKey_LastWorld/Room/etc. end up being overwritten with the current room. So if a script refers to location 0, 0, 0, 0 (aka, the last room), the engine will try to change location to the same room. On restore, we have to force a location change, just in case we restore to the same room. (Since the logic will only do a location change if _nextLocation != _currentLocation)
2015-01-18Revert "ZVISION: Don't change location when coming back from ScummVM save ↵RichieSams
dialog" This reverts commit b835eacc0cd401bb0d15a33e60d2ac47ebb4d718.
2015-01-18ZVISION: Don't change location when coming back from ScummVM save dialogRichieSams
Fixes bug # 6771 We don't need to change locations, since we use the ScummVM save dialog instead of the original one (which is actually a location). Instead we just need to reset _nextLocation to _currentLocation so the engine can stop trying to save. If we change locations, the StateKey_LastWorld/Room/etc. end up being overwritten with the current room. So if a script refers to location 0, 0, 0, 0 (aka, the last room), the engine will try to change location to the same room.
2015-01-18ZVISION: Fix formatting and add curliesRichieSams
2015-01-10Revert "ZVISION: Remove ActionRestoreGame and loading of r.svr (restart slot)"Filippos Karapetis
This reverts commit 9f642074ba8e17aa23b01bcee82b2293fe84f8f1, as it broke the credits screen in ZGI. This has been rewritten to use the common save code
2015-01-10ZVISION: Change wordingFilippos Karapetis
2015-01-07ZVISION: Remove ActionRestoreGame and loading of r.svr (restart slot)Filippos Karapetis
This is handled internally now, so r.svr isn't needed anymore
2014-12-30ZVISION: Rename some scripting classes to better represent what the classes areRichieSams
Also, rename the graphics 'Effect' class in order to avoid naming clashes (and/or coder confusion) with the newly named ScriptingEffect class. Lastly, add some documentation for the classes for further clarity.
2014-12-26ZVISION: Implement auto-savingFilippos Karapetis
2014-12-26ZVISION: Move more graphics code out of the main engine codeFilippos Karapetis
2014-12-26ZVISION: Move the save manager together with the other file classesFilippos Karapetis
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257089)Marisa-Chan
2014-12-16ZVISION: Move trimCommentsAndWhiteSpace() into the script managerFilippos Karapetis
This allows us to remove the last remnants of utility.*
2014-12-16ZVISION: Move all the remaining utility classes into the coreFilippos Karapetis
2014-12-16ZVISION: Move the mouse cursor handling code into the graphics codeFilippos Karapetis
2014-12-08ZVISION: Implement several advanced engine features and ScummVM dialogsFilippos Karapetis
The functionality to return to launcher, list saves, delete saves, load games from the launcher and load and save games during runtime has been implemented. Also, ScummVM save/load dialogs have been implemented. Saved games now have three numbers in their file extension, bumping the possible save game slots up to 999
2014-12-03ZVISION: Remove superfluous spacing and reorder some includesFilippos Karapetis
2014-11-20ZVISION: More CamelCase and a bit of comments cleanupMarisa-Chan
2014-11-12ZVISION: Make menu bar fully enabled after changelocation calledMarisa-Chan
2014-11-12ZVISION: Passive borders check for tilt and panorama for changelocationMarisa-Chan
2014-11-08ZVISION: Implement action:restore_gameMarisa-Chan
2014-11-08ZVISION: Implement action:flush_mouse_eventsMarisa-Chan
2014-11-04ZVISION: Implement settings functionsMarisa-Chan
2014-10-10ZVISION: Fix code styleMarisa-Chan
2014-08-04ZVISION: Prepare save data while changing locationMarisa-Chan
2014-08-04ZVISION: Don't focus on already focused controlMarisa-Chan
2014-08-04ZVISION: New scriptManager location methodsMarisa-Chan
2014-08-04ZVISION: Make controls processing breakeable.Marisa-Chan
2014-07-12ZVISION: Bool results for keyUp and keyDown events for controls.Marisa-Chan
2014-07-12ZVISION: Implement fuctionality for change focus without of calling ↵Marisa-Chan
focus/unfocus
2014-07-12ZVISION: Implement code for getControlMarisa-Chan
2014-07-05ZVISION: Process events for controls similar to original engine, fix some ↵Marisa-Chan
errors.
2014-07-05ZVISION: Fix puzzle disable condition checkMarisa-Chan
2014-07-02ZVISION: Reorgonize source files into directories.Marisa-Chan
2014-06-14ZVISION: Fix compilation errors with latest scummvmMarisa-Chan
2014-06-13Merge remote-tracking branch 'upstream/master' into zvisionMarisa-Chan
Conflicts: engines/zvision/animation/rlf_animation.cpp engines/zvision/animation_control.h engines/zvision/core/console.cpp engines/zvision/core/events.cpp engines/zvision/cursors/cursor.cpp engines/zvision/cursors/cursor_manager.cpp engines/zvision/cursors/cursor_manager.h engines/zvision/fonts/truetype_font.cpp engines/zvision/graphics/render_manager.cpp engines/zvision/graphics/render_manager.h engines/zvision/inventory/inventory_manager.h engines/zvision/inventory_manager.h engines/zvision/meta_animation.h engines/zvision/module.mk engines/zvision/scripting/actions.cpp engines/zvision/scripting/control.h engines/zvision/scripting/controls/animation_control.cpp engines/zvision/scripting/controls/animation_control.h engines/zvision/scripting/controls/input_control.cpp engines/zvision/scripting/controls/lever_control.cpp engines/zvision/scripting/controls/timer_node.cpp engines/zvision/scripting/controls/timer_node.h engines/zvision/scripting/puzzle.h engines/zvision/scripting/scr_file_handling.cpp engines/zvision/scripting/script_manager.cpp engines/zvision/scripting/script_manager.h engines/zvision/sidefx.cpp engines/zvision/sound/zork_raw.cpp engines/zvision/sound/zork_raw.h engines/zvision/video/video.cpp engines/zvision/video/zork_avi_decoder.h engines/zvision/zvision.cpp engines/zvision/zvision.h
2014-02-18ZVISION: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-01ZVISION: Fix compilationTorbjörn Andersson
2013-11-01ZVISION: Update includes to use the new file structureRichieSams
2013-11-01ZVISION: Create a folder structure for ZVision source filesRichieSams
I personally used filters within my IDE, but since others are now joining the project, it was brought to my attention that some better organization would be nice.