Sven Hesse
7fbad08fd1
Implemented a call stack
...
svn-id: r41754
2009-06-22 10:14:18 +00:00
Sven Hesse
962fc19b57
Encapsulating script file access
...
svn-id: r41753
2009-06-22 10:13:37 +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
d4855ff819
Splitting an ADLPlayer and MDYPlayer from the AdLib class
...
svn-id: r41633
2009-06-18 13:27:35 +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
3d3da173b0
GOB: Turned _spritesArray into a Common::Array (of fixed size) to detect 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-06 21:37:30 +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
Max Horn
400d2b10af
GOB: Replaced many uses of strdupcpy by Common::String
...
svn-id: r41077
2009-05-31 16:59:45 +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
Max Horn
d5da63c496
atol -> atoi
...
svn-id: r41003
2009-05-29 14:39:10 +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
Arnaud Boutonné
ee92913683
Patch #2725859 : Added some MD5 to the gob engine, modified the way the first STK and TOT is declared, added inter and draw skeleton for Fascination
...
svn-id: r40059
2009-04-21 21:44:37 +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
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
5f8323bd50
Plugging leaks
...
svn-id: r35355
2008-12-14 04:33:28 +00:00
Sven Hesse
4ec3826080
Working (minus text) menu in Urban Runner
...
svn-id: r35310
2008-12-12 02:44:34 +00:00
Sven Hesse
19146fe032
Working cursor in Urban Runner
...
svn-id: r35309
2008-12-12 00:10:39 +00:00
Sven Hesse
c65886a3ea
Changing the Urban Runner sprite drawer to work more correctly. It does use YUV data, but I can use the ditherer there
...
svn-id: r35308
2008-12-11 21:57:47 +00:00
Sven Hesse
9a788d8bf3
Some dummy changes for Urban Runner
...
svn-id: r35289
2008-12-09 14:55:21 +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
Max Horn
7953312bc6
Merging more of the GSoC 2008 RTL branch: GOB
...
svn-id: r34245
2008-09-01 17:50:00 +00:00
Sven Hesse
5c060ef5d9
Fixing _itemsMap access (bug #2069177 )
...
svn-id: r34113
2008-08-23 14:18:12 +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
220d6ce82f
Restructured sound code
...
svn-id: r31937
2008-05-08 00:47:23 +00:00
Paul Gilbert
6eb64102a4
Fix to remove a tab character from the GPL header
...
svn-id: r30238
2008-01-05 12:45:14 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Sven Hesse
e802f067cd
Lost in Time now (kind of) shows the title and the wobble-effect is drawn
...
svn-id: r28433
2007-08-03 15:18:00 +00:00
Sven Hesse
34292a6b58
Minor DataIO-cleanup
...
svn-id: r28349
2007-07-31 01:43:32 +00:00
Sven Hesse
872a1ea369
Fixed o1_fillRect() again
...
svn-id: r28209
2007-07-26 03:29:45 +00:00
Sven Hesse
b644e460aa
Corrected Woodruff's hotspot text positions.
...
svn-id: r28208
2007-07-26 03:17:54 +00:00
Sven Hesse
e151167dd8
Some more safety checks and the first room's background can be seen
...
svn-id: r28204
2007-07-25 21:02:30 +00:00
Sven Hesse
99a707d89e
Added a few safety checks. Now Woodruff shows the loading image (closely followed by a crash).
...
svn-id: r28203
2007-07-25 20:36:14 +00:00
Sven Hesse
09c2ea82de
- Separated game type and features
...
- Added feature constants for a 640x480 resolution and adlib
- Added support for game with a 640x480 resolution. Woodruff now inits the screen before it segfaults
svn-id: r28185
2007-07-24 23:24:40 +00:00