Max Horn
0be985ce83
Changed class File (and derived classes) to only support read-only access; added a new class DumpFile for writing
...
svn-id: r33412
2008-07-29 16:09:10 +00:00
Sven Hesse
5544e180a3
More savegame-endianness fixes :/
...
svn-id: r33222
2008-07-23 02:41:02 +00:00
Bertrand Augereau
5de579930d
Minor constness fix to help with aliasing
...
svn-id: r33017
2008-07-12 20:35:44 +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
Max Horn
815d75e870
Don't use kPlainSoundType if you don't have to
...
svn-id: r33009
2008-07-11 20:28:14 +00:00
Sven Hesse
da0495cd78
Added a Gob1 version supplied by raina in the forums.
...
It does look like the Mac version with a DOS executable and stripped music to me, so let's hope the Mac level image workaround works there as well.
svn-id: r32963
2008-07-08 11:36:52 +00:00
Sven Hesse
4a1cc78016
Modified the EGA story image delay to work for the Mac versions as well
...
svn-id: r32962
2008-07-08 11:35:09 +00:00
Sven Hesse
56c6840ff7
Fixing a crash when loading a save made within the cult/bargon building (bug #2005965 )
...
svn-id: r32895
2008-07-03 16:25:59 +00:00
Sven Hesse
0c6c7de355
Fixed a palette issue in Lost in Time
...
svn-id: r32738
2008-06-19 22:54:17 +00:00
Sven Hesse
f1b0e379d1
Only try playing object videos when the game version supports that (only Woodruff, for now)
...
svn-id: r32737
2008-06-19 16:27:49 +00:00
Sven Hesse
8be7d3c522
Ooops, intialize variables properly.
...
svn-id: r32453
2008-06-01 01:32:28 +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
a6649af56e
Fixed an endian-related issue, making Woodruff controlable on big-endian machines.
...
It still breaks when switching screens and object videos are mispositioned, though.
svn-id: r32310
2008-05-27 00:03:29 +00:00
Sven Hesse
a0a8e0e690
Fixed Italian Woodruff's MD5
...
svn-id: r32309
2008-05-26 23:03:17 +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
9eed36cc4f
Use memmove when source and destination sprite areas overlap in drawSprite()
...
svn-id: r32305
2008-05-26 21:07:49 +00:00
Sven Hesse
7227ddb6fa
Changed anim/static PieceDesc loading, to allow for more sanity checks.
...
This should take care of all invalid reads in renderStatic(), updateStatic() and updateAnim()
svn-id: r32292
2008-05-26 15:29:12 +00:00
Sven Hesse
d94bfc66ad
Ooops, made frame skipping for A/V sync correction work again (instead of locking up)
...
svn-id: r32276
2008-05-26 05:17:21 +00:00
Sven Hesse
6ef8e5238b
Increased _soundSliceLength's accuracy. This fixes the A/V sync problems in Woodruff's intro
...
svn-id: r32274
2008-05-25 23:12:32 +00:00
Sven Hesse
1fcf93875e
Fixed the small static sound in Woodruff's intro video.
...
Interestingly, this does _not_ fix the audio lag, so I was apparently wrong and it's another issue. *g*
This does however fix the glitches in the Last Dynasty intro.
svn-id: r32273
2008-05-25 22:46:16 +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
3f4d22338e
Fixing Bug #1970111 ("WOODRUFF: Close Up not erased")
...
svn-id: r32266
2008-05-25 06:25:16 +00:00
Sven Hesse
afa92cf083
Added updateStatic()'s sanity checks to renderStatic() as well.
...
Fixes an invalid read when entering the red light district
svn-id: r32246
2008-05-24 14:54:22 +00:00
Sven Hesse
b36354c998
Added the Italien version of Woodruff, as supplied by DjDiabolik in bug report #1891864
...
svn-id: r32244
2008-05-24 14:23:16 +00:00
Sven Hesse
9a03a9a665
Removing test code
...
svn-id: r32234
2008-05-23 21:02:21 +00:00
Sven Hesse
62d0a0d1d1
Implemented GobEngine::pauseEngineIntern()
...
svn-id: r32233
2008-05-23 20:40:28 +00:00
Chris Apers
1b69c18b56
Fixed PalmOS compilation
...
svn-id: r32223
2008-05-23 11:13:15 +00:00
Sven Hesse
beb81bdc6e
Fixing a valgrind warning
...
svn-id: r32218
2008-05-22 21:26:56 +00:00
Sven Hesse
bfff91b172
Reverting my last commit, as it breaks Gob3 (and probably elsewhere, too)
...
svn-id: r32214
2008-05-22 18:30:29 +00:00
Sven Hesse
6a54cbc4eb
Fixing the flickering when changing from object animations to videos
...
svn-id: r32213
2008-05-22 17:33:31 +00:00
Sven Hesse
f2294d9b89
Fixing another split screen glitch
...
svn-id: r32212
2008-05-22 17:10:41 +00:00
Sven Hesse
7dbceb8e63
Oops, that way around should be more correct
...
svn-id: r32211
2008-05-22 16:52:24 +00:00
Sven Hesse
a70d37009a
Correctly delete'ing CDROM and Backgroundatmosphere, fixing segfaults on machines slower than mine (thanks, LordHoto ;))
...
svn-id: r32210
2008-05-22 14:25:27 +00:00
Sven Hesse
abe87559bc
Fixing the menu glitch in Woodruff
...
svn-id: r32209
2008-05-22 05:02:39 +00:00
Sven Hesse
14c411e90b
Fixing the "meteor fragment and bluxtre pulp not drawn"-glitch by not closing the object video right when it finished playing through
...
svn-id: r32172
2008-05-18 15:02:01 +00:00
Sven Hesse
5d11b8f6ed
Ooops, forget that one
...
svn-id: r32163
2008-05-17 23:59:56 +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
ec763c4be9
This fixes the messed-up palette after levitating in Bigwig's place in Woodruff.
...
I hope it doesn't break anything else, though...
svn-id: r32159
2008-05-17 19:26:10 +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
5127f1a8f1
Fixing the "object videos not minding drawing order / limits" glitch in Woodruff
...
svn-id: r32146
2008-05-17 04:07:16 +00:00
Sven Hesse
aac4786bbe
This should fix the video not closing / chunk slot clogging bug (Yeah, I'm apparently stupid *g*)
...
svn-id: r32131
2008-05-14 23:58:26 +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
eef0a317a2
Added a warning when all chunk slots are full, as that's still a problem in Woodruff (some videos aren't closed correctly yet).
...
svn-id: r32091
2008-05-13 19:53:14 +00:00
Sven Hesse
72dc3ecc55
Fixing the crash when entering the virtual trip tower in Woodruff
...
svn-id: r32090
2008-05-13 18:43:26 +00:00
Sven Hesse
85d28316ac
Implemented support for object videos with more than 256 frames, this fixes a lockup when entering the bar
...
svn-id: r32087
2008-05-13 15:52:01 +00:00
Sven Hesse
317b382757
Fixing a segfault when quitting while an object video with sound plays
...
svn-id: r32086
2008-05-13 15:40:29 +00:00
Sven Hesse
83987b0cfd
Implemented/Fixed saving/loading in Woodruff -- this time for real.
...
svn-id: r32079
2008-05-13 04:54:58 +00:00
Sven Hesse
9390c4021a
Implemented saving/loading in Woodruff. Should work, although it tries to save and load sprites (which we ignore currently, doesn't seem to have any impact).
...
svn-id: r32040
2008-05-11 22:08:18 +00:00
Sven Hesse
c5498a69bf
Implemented temp buffer saving/loading ("SAVE.TMP") in Woodruff.
...
Objects you take from or leave in screens are remembered correctly now.
svn-id: r32030
2008-05-11 18:55:40 +00:00