aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v2.cpp
AgeCommit message (Collapse)Author
2012-06-15GOB: Add class Inter_LittleRedSven Hesse
This fixes the crash when selecting an animal in the "Languages" screen. Interestingly, the German names of the animals are partially wrong... And for "Das Schmetterling" (sic!), even the recorded speech sample is wrong.
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.
2011-11-03GOB: Fix analyser warnings regarding sprintf() parameter signnessSven Hesse
2011-06-13I18N: Make many more GUI MessageDialog strings translatableThierry Crozat
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-04GOB: Add oPlaytoons_loadMultObjectSven Hesse
svn-id: r55769
2011-02-03GOB: Fix a regression that broke Lost in TimeSven Hesse
svn-id: r55760
2011-01-29GOB: Add Script::evalInt() and Script::evalString()Sven Hesse
svn-id: r55634
2011-01-29GOB: Rename "skipPlay" to "function" in playTotSven Hesse
svn-id: r55628
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-27GOB: Only draw text when coordinates are within the surfaceSven Hesse
svn-id: r55575
2011-01-27GOB: Some Addy gameflow stubsSven Hesse
svn-id: r55562
2011-01-25GOB: Add a sanity check assert()Sven Hesse
svn-id: r55535
2011-01-20GOB: Also ignore writing to kSaveModeIgnore filesSven Hesse
svn-id: r55351
2011-01-18GOB: Give Inca2 its own Inter classSven Hesse
svn-id: r55296
2011-01-18GOB: Fix a stupid typo in o2_readData()Sven Hesse
svn-id: r55290
2011-01-17GOB: Make the variable stack endianness-independentSven Hesse
Since Urban Runner casts int16s to uint32 before pushing them onto the stack and after popping assumes it's little endian, we have explicitely preserve the variable space endianness while pushing/popping. svn-id: r55277
2011-01-17GOB: Fix o2_pushVars()Sven Hesse
Fixes Urban Runner loading. This being broken has the potential of messing up /everything/ in unpredictable ways, so saves of games using this opcode may be borked. Thankfully, I *think* it's just Urban Runner, which isn't working/supported yet anyway. svn-id: r55276
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-08-08GOB: Adapt the remaining bits to the new VideoPlayer interfaceSven Hesse
svn-id: r51895
2010-08-08GOB: Fix video continuingSven Hesse
svn-id: r51878
2010-08-08GOB: Make o2_playImd use the new VideoPlayer interfaceSven Hesse
svn-id: r51864
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-05-17Enforce conversion formatting on pointer casts in the DEV code.Johannes Schickel
svn-id: r49068
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-08-13Suppress no longer needed Playtoons workaroundArnaud Boutonné
svn-id: r43346
2009-08-10gob - Add a workaround for files (at least in Playtoons) that are tested on ↵Arnaud Boutonné
CD only, with the '@' symbol svn-id: r43227
2009-08-08Changed the scroll-handling to be more like the original. This fixes bug ↵Sven Hesse
#2832362 ("GOB3: Scrolling locked after cutscene") svn-id: r43147
2009-08-02Show a message if saving or loading a game fails.Sven Hesse
svn-id: r43001
2009-07-18Adding a workaround for the guard house card game "game over" screen in WoodruffSven Hesse
svn-id: r42588
2009-07-05Added an enum for the hotspot statesSven Hesse
svn-id: r42155
2009-07-05Renaming the last occurences of "Collision" to "Hotspot"Sven Hesse
svn-id: r42153
2009-07-05More state-related encapsulationSven Hesse
svn-id: r42144
2009-07-05Moving the "Collision" stuff to Hotspots in hotspots.cpp/.hSven Hesse
svn-id: r42123
2009-06-24Wrapping resources (out of TOT, EXT, IM? and EX? files) loading into its own ↵Sven Hesse
class svn-id: r41839
2009-06-23Added a method to query the number of variables needed by a ScriptSven Hesse
svn-id: r41791
2009-06-22Renaming parse.h and parse.cpp to expression.h and expression.cppSven Hesse
svn-id: r41773
2009-06-22Putting evalBoolResult() and evalExpr() into ScriptSven Hesse
svn-id: r41760
2009-06-22Encapsulating script file accessSven Hesse
svn-id: r41753
2009-06-22Adding DataIO::existData()Sven Hesse
svn-id: r41752
2009-06-22Encapsulated access to _resultStrSven Hesse
svn-id: r41751
2009-06-22Encapsulated access to Parse::_resultIntSven Hesse
svn-id: r41750
2009-06-19Fixing The Last Dynasty again after the opcode dispatcher changesSven Hesse
svn-id: r41664
2009-06-17Changed opcodeGob to be functor-basedSven Hesse
svn-id: r41603
2009-06-17Changed opcodeFunc to be functor-basedSven Hesse
svn-id: r41602