aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v1.cpp
AgeCommit message (Collapse)Author
2019-12-12GOB: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2014-10-19GOB: Remove useless memcpy()Sven Hesse
Happened while removing Draw::_vgaSmallPalette in 0f9b1364c. Fixes Coverity issue #1230309.
2014-03-16GOB: Remove the last remnants of Draw::_vgaSmallPaletteSven Hesse
Draw::_vgaSmallPalette was supposed to be a 16-color VGA palette / EGA palette, but we've been using the first 16 entries of Draw::_vgaPalette for that for ages now. The only parts where we didn't were codepaths never actually taken in the gob games, so for the sake of clarity (and fixing Coverity issues), this commit removes those as well. Fixes Coverity issues 1192648 and 1192649.
2014-02-18GOB: Make GPL headers consistent in themselves.Johannes Schickel
2012-06-15GOB: Implement Util::getKeyState() for Little RedSven Hesse
This makes the bees level playable, removing the "lock-up". Collision detection between Little Red and the bees and butterflies doesn't work yet though, so they're just flying through her. Nevertheless, the game seems to be completable now.
2012-06-14GOB: Fix a failed assert in Litte Red Riding HoodSven Hesse
2012-06-11GOB: Play the music on the title screen of Gob1 EGASven Hesse
The EGA version of Gobliiins comes with an MDY track. While the original doesn't play it, we thought it might be a nice idea to play it nevertheless.
2012-06-07GOB: Add a way to reopen currently opened IMD/VMD videosSven Hesse
This is a workaround for how Lost in Time behaves in combination with changes I made to the DataIO code for running Urban Runner on low-memory devices. Urban Runner's intro are far to big to have them copied into memory for these devices, so I made the DataIO code return a SafeSeekableSubReadStream into the opened archive stream instead. Unfortunately, Lost in Time might not close a video file when it closes the data file which it was originally in, especially when loading a saved game. Since the video player needs to be able to gaplessly continue a video and there does not, by itself, close the video if not requested by the scripts, this leads to reading out of an already closed stream in certain cases. So, to worka round this issues, the video player tries to reopen each currently opened video after a data archive was closed, to make sure that that video is still available. If not, the video is closed.
2012-01-29GOB: Add a cheat debug commandSven Hesse
- Cheat the Diving minigame to a win - Get the mastermind solution
2011-11-03GOB: Fix analyser warnings regarding sprintf() parameter signnessSven Hesse
2011-08-26GOB: Add cheat output for Geisha's mastermindSven Hesse
2011-08-26GOB: Fix EGA palette animationSven Hesse
The Geisha intro is now watchable
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-02-02GOB: Remove the vidMode parameter from Video::initSurfDescSven Hesse
svn-id: r55727
2011-01-29GOB: Add Script::evalInt() and Script::evalString()Sven Hesse
svn-id: r55634
2011-01-29GOB: Rename Script::evalBoolResult() to Script::evalBool()Sven Hesse
svn-id: r55633
2011-01-29GOB: Add GobEngine::isCurrentTot()Sven Hesse
svn-id: r55630
2011-01-29GOB: Change _curTotFile and _totToLoad into Common::StringSven Hesse
svn-id: r55629
2011-01-29GOB: Move OpcodeFunc's return flag into its parameterSven Hesse
To make the meaning of the flag more clear and make the func opcodes more similar to draw and gob opcodes. svn-id: r55627
2011-01-26GOB: Check font index for kFontCountSven Hesse
svn-id: r55547
2011-01-25GOB: Add a sanity check to o1_freeFontSven Hesse
svn-id: r55537
2011-01-25GOB: Adding stubs for AddySven Hesse
svn-id: r55508
2011-01-22GOB: Fix some of the live-video glitchynessSven Hesse
svn-id: r55421
2011-01-18GOB: Increase debug level for a debug messageSven Hesse
svn-id: r55287
2010-11-04GOB: Extended workaround for Goblin Stuck On Reload to cover bug #3065914David Turner
This generalises the workaround added for bug #3018918 i.e. UOTODDV issue, to cover the ICVGCGT case and hopefully all future cases, by executing the variable correction during the reload after Game Over and using the variable read by the script triggering the movement lock, rather than the movement lock variable (59) itself as this may not be set until a later script. svn-id: r54061
2010-10-31GOB: Silence a compiler warningSven Hesse
svn-id: r53988
2010-10-31GOB: Clean up class DataIOSven Hesse
Removing the need for class DataStream and that handle mess. svn-id: r53984
2010-10-30GOB: Make some more map properties protectedSven Hesse
svn-id: r53952
2010-10-15GOB: Remove the now useless helper.hSven Hesse
svn-id: r53491
2010-10-15GOB: Remove strncpy0()Sven Hesse
Replacing it (and some strncpy + manual terminating) with Common::strlcpy() svn-id: r53490
2010-09-30GOB: Change all drawing to use class SurfaceSven Hesse
svn-id: r52947
2010-08-08GOB: Add constants for different surfaces/spritesSven Hesse
Add static const int kFrontSurface = 20; static const int kBackSurface = 21; static const int kAnimSurface = 22; static const int kCursorSurface = 23; static const int kCaptureSurface = 30; to class Draw and substitute the raw numbers in other files with those aliases, for readability. svn-id: r51852
2010-06-29GOB : Adding workaround for Bug #3018918 UOTODDV Reload Goblin Stuck Issue.David Turner
This was present in the original interpreter. svn-id: r50480
2010-06-24Initialize properly paramCount in gob1. This fixes several valgrind errors, ↵Arnaud Boutonné
and the unknown opcodes are now skipped as expected. (related to bug #3018918, only partially solved) svn-id: r50209
2010-05-17Enforce conversion formatting on pointer casts in the DEV code.Johannes Schickel
svn-id: r49068
2010-02-08Fascination: - Suppress the recently added oFascin_keyFunc, replace it with ↵Arnaud Boutonné
a check in o1_keyFunc. This fixes the animation speed regression - Rename Amiga-specific protracker functions - Rewrite winDecomp. svn-id: r48011
2010-02-03Minor style-related changesSven Hesse
svn-id: r47839
2010-01-27- Fixed openWin, saveWin, restoreWin, closeWin, winMove and activeWin, so ↵Arnaud Boutonné
that windows are AT LEAST working - Suppressed dirty traces. This has to be reviewed/rewritten. It looks better without. - Add initialization of two variables in one exceptional case in winDraw. (Thanks Cyx) svn-id: r47616
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-08-24Playtoons uses a variable space that exceeds 32767 bytes. Changing a few ↵Sven Hesse
variables to unsigned makes the construction mode not crash anymore (though it now hangs in a loop) svn-id: r43713
2009-07-28More alignment-related changesSven Hesse
svn-id: r42858
2009-07-25Added a workaround to fix the Last Dynasty video greenness for nowSven Hesse
svn-id: r42766
2009-07-09Giving Font its own real classSven Hesse
svn-id: r42277
2009-07-05Adding a workaround for an invalid expression in Gob1 EGASven Hesse
svn-id: r42135
2009-07-05Moving the "Collision" stuff to Hotspots in hotspots.cpp/.hSven Hesse
svn-id: r42123
2009-07-05Commenting prepareStr a bit and renaming it to cleanupStrSven Hesse
svn-id: r42120
2009-07-01Use MIN with correct template parameter.Lars Persson
svn-id: r42008
2009-06-24Wrapping resources (out of TOT, EXT, IM? and EX? files) loading into its own ↵Sven Hesse
class svn-id: r41839
2009-06-22Renaming parse.h and parse.cpp to expression.h and expression.cppSven Hesse
svn-id: r41773