aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/script.cpp
AgeCommit message (Collapse)Author
2018-11-05GROOVIE: Fix Spaces in Savegame Naming.D G Turner
This patch was originally from bug Trac #6276 and was submitted by bluegr.
2018-11-03GROOVIE: Fix GMM loads, block saves in a puzzleScott Thomas
Loading and returning from subscripts alters the _variables used, thus are not guaranteed to create a valid save state. Loading a save should be valid at any time, as long as the active script being run is restored to the base game script.
2018-08-03GROOVIE: Allow saving via GMM and increase save slots to 25David Fioramonti
If the user enters in an invalid description for the save then it will be simplified by the saved name cache process in Script::savegame. I checked this with t7g, but not with the 11th guest or any other Groovie game. The original in-game loading/saving can still only access the first 10 save slots (0-9). Its possible to saving via the GMM when the game is interactive. Loading a game saved via the gui using the original in-game load menu works fine. Saving via the GMM with timestamp works, but only only saves the characters up to the first non-alpha non-letter characer.
2016-10-09JANITORIAL: Remove trailing spacesEugene Sandulenko
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2014-11-03GROOVIE: Initial implementation of direct game load for the 11th HourFilippos Karapetis
2014-11-03GROOVIE: Add a stub for opcode 42 in V2 gamesFilippos Karapetis
This was o_cellmove in T7G (the Microscope puzzle)
2014-11-03GROOVIE: Implement o2_copyscreentobg and o2_copybgtoscreenFilippos Karapetis
2014-11-03GROOVIE: Add initial full screen functionality for V2 gamesFilippos Karapetis
2014-11-03GROOVIE: Finish implementation of o_hotspot_outrectFilippos Karapetis
This is needed by the main menu in the 11th Hour
2014-06-05GROOVIE: Use debugC() and debugCN() functions directly in script debug.D G Turner
This removes the debugScript() wrapper, which can now be implemented directly using the relevant debug function. This avoids the variadic debug functions being wrapped in a second layer of variadic function which is probably causing a significant overhead.
2014-06-05GROOVIE: Remove engine-specific "all" debugflag. Minor naming cleanup.D G Turner
This is now uneeded as the GUI debugger superclass implements the same functionality and this removes a bunch of complexity from the Groovie engine debug calls. Also, removed groovie prefix from the debug flag naming as unecessary as these are within the Groovie namespace.
2014-06-02GROOVIE: Add sanity checks and range limits to copyRect opcode param.D G Turner
This prevents segfault crashes in "The 11th Hour" when you open the Gamebook palmtop from the top of the screen. The opcode needs some work on the changes from 7th Guest, but this will prevent crashes while this is being worked on.
2014-02-18GROOVIE: Make GPL headers consistent in themselves.Johannes Schickel
2013-08-03GROOVIE: Take advantage of Surface::getPixels.Johannes Schickel
2012-06-16GROOVIE: Get rid of casts on OSystem::copyRectToScreen calls.Johannes Schickel
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-11-29GROOVIE: Prefer 'mask' animations to run at regular speed.Scott Thomas
Not all 'mask' animations have sound, so need to mark preference for regular speed for both 'mask' and 'teeth' animations.
2011-08-06ALL: Reduce audio/ header dependencyEugene Sandulenko
2011-07-02ENGINES: Clean up SaveStateDescriptor.Johannes Schickel
Now SaveStateDescriptor no longer subclasses HashMap. Instead all possible saved meta data is included directly into SaveStateDescriptor. This is slightly less flexible, but we never needed that flexibility so far. On the other hand it should reduce the memory usage. At least on my system (Linux/amd64) the old SaveStateDescriptor had a size of 928 and the new SaveStateDescriptor has a size of 200.
2011-06-13I18N: Make many more GUI MessageDialog strings translatableThierry Crozat
2011-05-31Merge remote branch 'upstream/master' into t7g-iosMatthew Hoops
Conflicts: engines/groovie/script.cpp
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax Horn
This also removes the dependency of engines on the event recorder header and API, and will make it easier to RandomSources that are not properly registered.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-11Merge remote branch 'upstream/master' into t7g-iosMatthew Hoops
Conflicts: audio/decoders/qdm2.h common/util.cpp engines/groovie/music.cpp engines/groovie/resource.h video/qt_decoder.cpp video/qt_decoder.h
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-25GROOVIE: fix for bug #3093310spookypeanut
Instead of crashing if the save game isn't writable, popup a gui message and then skip
2011-04-20GROOVIE: Tweak supernatural teeth detection (for VDX playback speed)Scott Thomas
2011-04-15GROOVIE: Use uint32 when searching for a video id by nameScott Thomas
This brings ResMan::getRef into line with the rest of the engine.
2011-04-14ALL: centre -> centerMax Horn
2011-04-07GROOVIE: Add additional play-speed modes to T7G.Scott Thomas
These two speed modes enable faster movement throughout the mansion. iOS mode matches the behavior of the official iOS release while tweaked mode additionally uses original framerate for 'teeth' animations.
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-06-25AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either ↵Florian Kagerer
select MDT_PREFER_MT32 or MDT_PREFER_GM svn-id: r50288
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-07Groovie:Jordi Vilalta Prat
- Rewritten T7G's font code to subclass Graphics::Font and make it cleaner. - Use theme fonts for the Mac version of T7G (which used ugly system fonts originally). With this the Mac version should be completable. - Cleanup include interdependencies. svn-id: r49487
2010-05-11Add support for loading T7G Mac resources using the MacResManager.Matthew Hoops
svn-id: r49005
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2009-12-2411H: Add some more opcode stubsScott Thomas
svn-id: r46524
2009-10-26Groovie: Fix some styling issues pointed by cppcheckJordi Vilalta Prat
svn-id: r45411
2009-10-01T7G: Proper fix for #2847539 - remove ambiguity in multi-byte script reads.Scott Thomas
svn-id: r44524
2009-09-08T7G: Fix bug #2853185 where card puzzle doesn't clean up, resulting in a ↵Scott Thomas
blank menu in special instances svn-id: r44009
2009-08-30Groovie: Replace sprintf() usage with String::printf()Jordi Vilalta Prat
svn-id: r43827
2009-08-21Groovie: Sync changes from 16bpp branch. Hopefully no regressions sneak in hereScott Thomas
svn-id: r43598
2009-08-16Fix warning caused by -Wformat-security.Johannes Schickel
svn-id: r43446
2009-08-05T7G: Fix bug #2831041 by implementing opcode responsible for starting music ↵Scott Thomas
partway through a video svn-id: r43068
2009-08-03T7G: Fix bug #2831046 where save names not shown after loading a save from ↵Scott Thomas
launcher svn-id: r43020
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-07-20Proper implementation of microscope puzzle.Eugene Sandulenko
svn-id: r42634
2009-07-03Added more GCC_PRINTF attributes, and fixed resulting warnings in format stringsMax Horn
svn-id: r42054