aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v2.cpp
AgeCommit message (Collapse)Author
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
2008-12-18Preliminary save/load support for Urban RunnerSven Hesse
svn-id: r35418
2008-12-15Script fix. Magnifier, Memory and Save/Load, while still not working ↵Sven Hesse
correctly, don't crash the game anymore svn-id: r35385
2008-12-13Added a SaveLoad for Urban Runner with an entry to make the scripts believe ↵Sven Hesse
the file mdo.def (config file created by the original installer) always exists svn-id: r35338
2008-12-04Changing the GobEngine to use its dirty rects also for OSystem-copies, ↵Sven Hesse
instead of relying on kFeatureAutoComputeDirtyRects svn-id: r35239
2008-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-07-14Merged revisions ↵Christopher Page
32744-32745,32747,32750-32759,32762-32764,32769,32777,32783,32785-32786,32789-32791,32798-32799,32801-32807,32809-32812,32816-32817,32819-32821,32823-32830,32832-32836,32838-32844,32846-32850,32852-32854,32858-32859,32865-32868,32873-32874,32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33051
2008-07-12Changed tricky variable access from pointers to a new class that minds ↵Sven Hesse
endianess. This should fix a few regressions with BE games on LE systems and vice versa that I introduced when I changed how variables are stored (which was necessary to get Woodruff work on BE systems). svn-id: r33014
2008-07-10Removed unnecessary #inlcudesChristopher Page
svn-id: r32984
2008-07-09Reimplemented pushEvent() and artificialEventQueue to work with Events ↵Christopher Page
instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM svn-id: r32971
2008-07-08GOB works with the new GMM implementationChristopher Page
svn-id: r32955
2008-06-24Added main menu dialog files. Gob is now using the new _quit flagChristopher Page
svn-id: r32771
2008-05-28Script variables are now always stored in the game version's native endianess.Sven Hesse
This should make Woodruff playable on big-endian systems. svn-id: r32352