aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v1.cpp
AgeCommit message (Collapse)Author
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
2009-06-22Putting evalBoolResult() and evalExpr() into ScriptSven Hesse
svn-id: r41760
2009-06-22Implemented a call stackSven Hesse
svn-id: r41754
2009-06-22Encapsulating script file accessSven Hesse
svn-id: r41753
2009-06-22Encapsulated access to _resultStrSven Hesse
svn-id: r41751
2009-06-22Encapsulated access to Parse::_resultIntSven Hesse
svn-id: r41750
2009-06-18Splitting an ADLPlayer and MDYPlayer from the AdLib classSven Hesse
svn-id: r41633
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: Turned _spritesArray into a Common::Array (of fixed size) to detect ↵Max Horn
out-of-bounds access to it (since access is controlled by scripts, this could (and does :/) easily happen. Also removed an obsolete swap() method, and fixed one case where _spritesArray was indeed accessed out of bounds svn-id: r41305
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-31GOB: Replaced many uses of strdupcpy by Common::StringMax Horn
svn-id: r41077
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-29atol -> atoiMax Horn
svn-id: r41003
2009-05-21Splitting a few helper functions out of gob.hSven Hesse
svn-id: r40765
2009-04-21Patch #2725859 : Added some MD5 to the gob engine, modified the way the ↵Arnaud Boutonné
first STK and TOT is declared, added inter and draw skeleton for Fascination svn-id: r40059
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