aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/scripting/actions.cpp
AgeCommit message (Collapse)Author
2018-11-04ZVISION: Disable MPEG movies when liba52 is not enabledThierry Crozat
2018-11-04ZVISION: Play hi-res videos, even if they have no low-res versionTorbjörn Andersson
This is used for some logo animations at the start of the game. I don't know if it's used for anything else, but probably not.
2018-11-04ZVISION: Enable hi-res videos for testing purposesTorbjörn Andersson
2016-09-03JANITORIAL: Make GPL headers uniformEugene Sandulenko
2015-07-07ZVISION: Correct code styleDavid Russo
2015-03-22ZVISION: Silence Cppcheck warningTorbjörn Andersson
2015-02-14ZVISION: Fix script bug #6791 (max value of delay_render)Filippos Karapetis
This fixes the delay outside the Frobozz Electric building. In all other places, delay_render is called with a value ranging from 1 to 10, so the 100 here looks to be a script bug, and causes an unnecessary long pause in that scene. Thus, we're capping the frame delay value to 10.
2015-02-14ZVISION: Also reference the script manager in ResultAction membersFilippos Karapetis
2015-02-14ZVISION: Fix script bug #6794 - "ZVISION: Yoruk's coffin instant death"Filippos Karapetis
Fixes an edge case where the player goes to the dark room with the grue without holding a torch, and then quickly runs away before the grue's sound effect finishes. Many thanks to eriktorbjorn for the original workaround
2015-01-26ZVISION: Cleanup.Torbjörn Andersson
We usually don't check a pointer before deleting it.
2015-01-26ZVISION: Use ValueSlot for volume in ActionMusicTorbjörn Andersson
As suggested by Marisa-Chan. I had based my earlier implementation on parseCritera(), and was unaware of this alternative. The good thing is that the diff from the old code is now much smaller, which should reduce the risk of regressions. (There is a lot I haven't tested here...)
2015-01-26ZVISION: Fix ActionMusic volumeTorbjörn Andersson
The volume can be either a constant or a state value. The latter is used by ZGI to simulate a sound being heard at different distances, e.g. the beehive in the Dungeon Master's hideout.
2015-01-23ZVISION: Use correct virtual class type instead of MusicNodeMarisa-Chan
2015-01-23ZVISION: Correct value for attenuateMarisa-Chan
2015-01-17ZVISION: Fix bug #6769 (the "Alchemical debacle" video in ZGI)Filippos Karapetis
2015-01-16ZVISION: Properly handle sounds reusing the same sound slot (bug #6761)Filippos Karapetis
This is based on Marisa-Chan's observations in commit 28e27ea1d9. Tested with both ZNEM and ZGI
2015-01-15ZVISION: Allow multiple sound effects to play at the same timeRichieSams
This is the original behavior. This was noted in bug #6761. Specifically, the knocker on the door plays a sound whenever it is a the top of the bottom of the swing. By only allowing one sound effect to play at the same time, the knocker would only play once, even though it bounces at the bottom.
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 screen resolution for the hires DVD videos to 800x600Filippos Karapetis
Also, this hooks up the MPEG-PS decoder, but only if libmpeg2 is compiled in. The DVD videos are still disabled until AC3 audio support is implemented. The hires DVD videos are encoded a 720x480 resolution, with double the frame rate of the lowres ones (29.97FPS up from 15FPS)
2015-01-07ZVISION: Add stubs for the hires VOB MPEG2 videos of ZGI DVDFilippos Karapetis
VOB file handling is based on clone2727's work. The lowres videos are played for now, until AC3 sound handling is implemented
2015-01-07ZVISION: Use a common function for loading game animationsFilippos 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: Remove duplicate blitting code for images and animationsFilippos Karapetis
2014-12-26ZVISION: Move more graphics code out of the main engine codeFilippos Karapetis
2014-12-26ZVISION: Remove some unused actions. CleanupFilippos Karapetis
2014-12-26ZVISION: Move the save manager together with the other file classesFilippos Karapetis
2014-12-25ZVISION: Document where MIDI commands are usedFilippos Karapetis
2014-12-25ZVISION: Document some of the ActionRegion effectsFilippos Karapetis
2014-12-24ZVISION: Set all the internal graphics operations to use RGB555 (1/2)Filippos Karapetis
This is the first part of the changes to make the engine use RGB555 internally again. This is done to simplify the rendering pipeline - the engine will use RGB555 internally, but will output to RGB565. The overall changes have been broken into two commits, thus this first commit will break all the game colors
2014-12-23ZVISION: Fix some buffer overruns with the usage of sscanf()Filippos Karapetis
2014-12-23ZVISION: Remove leftover warningFilippos Karapetis
2014-12-23ZVISION: Limit the default engine delay for all animationsFilippos Karapetis
This fixes the lag between frames for all in-game animations with a default frame delay
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257088)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257087)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257086)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257085)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257084)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257083)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257082)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257079)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257075)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257074)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257072)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257071)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257070)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257069)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257068)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257067)Marisa-Chan
2014-12-19ZVISION: Fix uninitialized scalar field (CID 1257066)Marisa-Chan