Sven Hesse
50108e9135
Renaming the last occurences of "Collision" to "Hotspot"
...
svn-id: r42153
2009-07-05 21:39:55 +00:00
Sven Hesse
aeb020602a
More state-related encapsulation
...
svn-id: r42144
2009-07-05 19:56:40 +00:00
Sven Hesse
18550c1314
Moving the "Collision" stuff to Hotspots in hotspots.cpp/.h
...
svn-id: r42123
2009-07-05 11:27:54 +00:00
Sven Hesse
d03dc08b64
Wrapping resources (out of TOT, EXT, IM? and EX? files) loading into its own class
...
svn-id: r41839
2009-06-24 21:49:37 +00:00
Sven Hesse
ec5b2d6c9a
Added a method to query the number of variables needed by a Script
...
svn-id: r41791
2009-06-23 01:20:05 +00:00
Sven Hesse
c3aafec1fb
Renaming parse.h and parse.cpp to expression.h and expression.cpp
...
svn-id: r41773
2009-06-22 16:30:35 +00:00
Sven Hesse
7d005f62c3
Putting evalBoolResult() and evalExpr() into Script
...
svn-id: r41760
2009-06-22 10:29:32 +00:00
Sven Hesse
962fc19b57
Encapsulating script file access
...
svn-id: r41753
2009-06-22 10:13:37 +00:00
Sven Hesse
dd9e62e31e
Adding DataIO::existData()
...
svn-id: r41752
2009-06-22 10:12:33 +00:00
Sven Hesse
1dafcabb43
Encapsulated access to _resultStr
...
svn-id: r41751
2009-06-22 10:11:53 +00:00
Sven Hesse
f6717373b5
Encapsulated access to Parse::_resultInt
...
svn-id: r41750
2009-06-22 10:11:25 +00:00
Sven Hesse
0ae767ae8c
Fixing The Last Dynasty again after the opcode dispatcher changes
...
svn-id: r41664
2009-06-19 09:43:01 +00:00
Sven Hesse
6c47f9f4f8
Changed opcodeGob to be functor-based
...
svn-id: r41603
2009-06-17 04:16:51 +00:00
Sven Hesse
8615c57791
Changed opcodeFunc to be functor-based
...
svn-id: r41602
2009-06-17 04:16:21 +00:00
Sven Hesse
25c92dfdef
Changed opcodeDraw to be functor-based
...
svn-id: r41601
2009-06-17 04:15:45 +00:00
Sven Hesse
434be5c65a
Renamed _inter_resStr to _resultStr
...
svn-id: r41575
2009-06-15 23:11:29 +00:00
Sven Hesse
1b67620d99
Renaming _inter_resVal to _resultInt
...
svn-id: r41574
2009-06-15 23:11:08 +00:00
Sven Hesse
67a9ff7dd3
Moving _inter_resVal and _inter_resStr from Global to Parse
...
svn-id: r41573
2009-06-15 23:10:51 +00:00
Sven Hesse
f6ca65206f
Renaming some variables in o1_assign() and o2_assign() to mirror the structure in o6_assign()
...
svn-id: r41569
2009-06-15 23:09:37 +00:00
Sven Hesse
190dd0d077
Using the TYPE_ enum where applicable
...
svn-id: r41568
2009-06-15 23:09:23 +00:00
Sven Hesse
42007f9d04
Propagating variable name changes
...
svn-id: r41565
2009-06-15 23:08:28 +00:00
Sven Hesse
64a920d52f
Renamed the evaluateStore opcodes to assign, because that's what they are
...
svn-id: r41312
2009-06-06 23:39:58 +00:00
Max Horn
0989bb0b90
GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references
...
svn-id: r41299
2009-06-06 20:03:13 +00:00
Sven Hesse
1656f69183
Replacing NULL with 0, since that's normally the C++-way
...
svn-id: r41059
2009-05-31 03:32:16 +00:00
Sven Hesse
896df6daf3
- A new save system for the GobEngine, one that is not fundamentally broken 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-31 02:15:43 +00:00
Sven Hesse
10b1b28610
Splitting a few helper functions out of gob.h
...
svn-id: r40765
2009-05-21 17:12:33 +00:00
Sven Hesse
9f43c32c25
Adding detection and title music playback for Little Red Riding Hood (Amiga version)
...
svn-id: r39551
2009-03-19 23:42:19 +00:00
Max Horn
05b4370c21
Fix for bug #2664460 : Various SeekableReadStream::seek() implementations (as 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
2009-03-05 20:37:53 +00:00
Sven Hesse
5b7cb7ae3e
Note to self: Don't sleep-deprive and code, for it makes you daft as a broom ;)
...
(Thanks to md5 for pointing this out to me)
svn-id: r35423
2008-12-18 16:38:28 +00:00
Sven Hesse
4ceecdb25f
Preliminary save/load support for Urban Runner
...
svn-id: r35418
2008-12-18 02:48:15 +00:00
Sven Hesse
f825ccd63f
Script fix. Magnifier, Memory and Save/Load, while still not working correctly, don't crash the game anymore
...
svn-id: r35385
2008-12-15 16:01:39 +00:00
Sven Hesse
dce40f6ffe
Added a SaveLoad for Urban Runner with an entry to make the scripts believe the file mdo.def (config file created by the original installer) always exists
...
svn-id: r35338
2008-12-13 13:18:16 +00:00
Sven Hesse
5d9c8b7c47
Changing the GobEngine to use its dirty rects also for OSystem-copies, instead of relying on kFeatureAutoComputeDirtyRects
...
svn-id: r35239
2008-12-04 18:38:55 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Christopher Page
d2e8d4831e
Merged revisions 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-14 00:10:09 +00:00
Sven Hesse
c1ec21d999
Changed tricky variable access from pointers to a new class that minds 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-12 15:21:38 +00:00
Christopher Page
30b1a62e81
Removed unnecessary #inlcudes
...
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page
e808cdf7a0
Reimplemented pushEvent() and artificialEventQueue to work with Events 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-09 02:27:05 +00:00
Christopher Page
a43f016b94
GOB works with the new GMM implementation
...
svn-id: r32955
2008-07-08 00:16:55 +00:00
Christopher Page
c14804e22f
Added main menu dialog files. Gob is now using the new _quit flag
...
svn-id: r32771
2008-06-24 23:19:23 +00:00
Sven Hesse
8da68b2964
Script variables are now always stored in the game version's native endianess.
...
This should make Woodruff playable on big-endian systems.
svn-id: r32352
2008-05-28 21:15:11 +00:00
Sven Hesse
59df762f0a
More split screen fixes.
...
I never get tired out those... ;)
svn-id: r32308
2008-05-26 22:02:20 +00:00
Sven Hesse
da222b1a48
Added a workaround for the nut rolling animation in the administration center in Woodruff
...
svn-id: r32269
2008-05-25 13:02:23 +00:00
Sven Hesse
4e785a9e73
Changing the split stuff again, fixing several scrolling and hotspot-text related issues
...
svn-id: r32161
2008-05-17 23:55:04 +00:00
Sven Hesse
ad044516cb
Adding video debug output in Inter_v2, too
...
svn-id: r32158
2008-05-17 19:23:44 +00:00
Sven Hesse
6e13bde213
Changing debug channels a bit
...
svn-id: r32157
2008-05-17 19:01:00 +00:00
Sven Hesse
cfd1fa6973
Some fixes for vertical scrolling in Woodruff
...
svn-id: r32095
2008-05-13 23:22:31 +00:00
Sven Hesse
257aaa3ced
Restructured saving/loading and added a stub for Woodruff
...
svn-id: r31989
2008-05-10 20:59:43 +00:00
Sven Hesse
220d6ce82f
Restructured sound code
...
svn-id: r31937
2008-05-08 00:47:23 +00:00
Sven Hesse
5681ae1e82
Draw order related fixes.
...
This also (finally) fixes the Gob3 draw order glitch (for real, this time)
svn-id: r31915
2008-05-07 02:56:18 +00:00