aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v2.cpp
AgeCommit message (Collapse)Author
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
2009-06-17Changed opcodeDraw to be functor-basedSven Hesse
svn-id: r41601
2009-06-15Renamed _inter_resStr to _resultStrSven Hesse
svn-id: r41575
2009-06-15Renaming _inter_resVal to _resultIntSven Hesse
svn-id: r41574
2009-06-15Moving _inter_resVal and _inter_resStr from Global to ParseSven Hesse
svn-id: r41573
2009-06-15Renaming some variables in o1_assign() and o2_assign() to mirror the ↵Sven Hesse
structure in o6_assign() svn-id: r41569
2009-06-15Using the TYPE_ enum where applicableSven Hesse
svn-id: r41568
2009-06-15Propagating variable name changesSven Hesse
svn-id: r41565
2009-06-06Renamed the evaluateStore opcodes to assign, because that's what they areSven Hesse
svn-id: r41312
2009-06-06GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to ↵Max Horn
SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references svn-id: r41299
2009-05-31Replacing NULL with 0, since that's normally the C++-waySven Hesse
svn-id: r41059
2009-05-31- A new save system for the GobEngine, one that is not fundamentally broken ↵Sven Hesse
and is versioned. Unfortunately, this invalidates most save games created on big-endian machines, since endian-issues was a main problem with the old system - Removed the now superfluous variables sizes svn-id: r41056
2009-05-21Splitting a few helper functions out of gob.hSven Hesse
svn-id: r40765
2009-03-19Adding detection and title music playback for Little Red Riding Hood (Amiga ↵Sven Hesse
version) svn-id: r39551
2009-03-05Fix for bug #2664460: Various SeekableReadStream::seek() implementations (as ↵Max Horn
well as our unit tests, ouch) handled SEEK_END incorrectly (using -offset instead of offset), contrary to what the docs said and what fseek does. Hopefully I found and fixed all affected parts, but still watch out for regressions svn-id: r39135
2008-12-18Note to self: Don't sleep-deprive and code, for it makes you daft as a broom ;)Sven Hesse
(Thanks to md5 for pointing this out to me) svn-id: r35423