Commit Graph
1672 Commits
Author SHA1 Message Date
Sven Hesse 2bb8cf25df GOB: Force live videos onto the backSurface
Fixes some inventory list uglyness in live videos.
It still flickers when mousing over it though, and keeps popping
when mousing over the register during the hotel scene

svn-id: r55429
2011-01-22 15:06:12 +00:00
Sven Hesse 40a4b09246 GOB: Fix the save list width
The length of the slot 0 string determines the list's width

svn-id: r55426
2011-01-22 14:23:03 +00:00
Sylvain Dupont 185a0b9070 GOB: Fixes the return value of dummy shooter in Last Dynasty
Mission 34 shooter must return 1 in order to proceed to the point & click part of the game.

svn-id: r55425
2011-01-22 13:19:16 +00:00
Sven Hesse 7c14cf2b1b GOB: Fix some of the live-video glitchyness
svn-id: r55421
2011-01-22 12:26:31 +00:00
Sven Hesse 6e254c4f01 GOB: Actually, startFrame == -2 seems to be the only live video flag
svn-id: r55418
2011-01-22 11:39:03 +00:00
Sven Hesse 5660b42a89 GOB: Another (?) non-blocking video flag
This fixes the intro needing an extra ESC.
Interestingly, the intro movie is actually interactive. You can
influence the paths Max takes by pressed the arrow keys at the
right times.

svn-id: r55411
2011-01-22 09:31:02 +00:00
Sven Hesse d99ca6e58c GOB: Don't mess with the break key in Urban Runner
To be able ESC videos, you need to switch on ESC in the settings
in the right part of the menu, because the scripts needs to
trigger the drawing of the last frame of the ESC'd video.
Otherwise, the graphics e.g. stops mid-frame during a turn.

svn-id: r55407
2011-01-22 04:39:39 +00:00
Sven Hesse e7006f2cf1 GOB: Urban: Save an empty sprite if necessary
svn-id: r55406
2011-01-22 04:14:33 +00:00
Sven Hesse af7c96cff1 GOB: Urban: Fix saving/loading in the Secret Room screen
For some reason, the original engine saves the console sprite to
disk instead of reconstructing it after loading the actual save...

Invalidates the Urban Runner saves again. Should be the last time,
though.

svn-id: r55384
2011-01-21 19:15:43 +00:00
Sven Hesse 9e338a170f GOB: Add support for saving true color sprites
Not exactly the "nice", since up-depthing the sprite data to 24bit
happens after it has been adapted to the current system's color
format, so we're going to gradually lose precision when the save
gets passed around different systems. Still, this is the least
headachy solution, I guess...

svn-id: r55383
2011-01-21 19:15:10 +00:00
Sven Hesse 678b5f361a GOB: Fix copypasta mistake
svn-id: r55377
2011-01-21 14:15:00 +00:00
Sven Hesse 100b25a29e GOB: Remove the now useless SaveConverter_v6
Since I just invalided the old Urban Runner saves anyway...

svn-id: r55376
2011-01-21 13:29:51 +00:00
Sven Hesse e95254ffa5 GOB: Urban: Fix loading/saving in the Cemetary/Lab screens
svn-id: r55375
2011-01-21 13:29:23 +00:00
Sven Hesse 8b3f2955a4 GOB: Make the Cemetary/Lab screen work correctly
Saving there still won't work though

svn-id: r55374
2011-01-21 13:28:35 +00:00
Sven Hesse bb6c230587 GOB: Implement looping live videos
Needed for the buttons in the Playtoons series

svn-id: r55359
2011-01-20 18:17:39 +00:00
Sven Hesse 03415868b0 GOB: Decrease the number of debug warnings
svn-id: r55358
2011-01-20 17:08:14 +00:00
Sven Hesse fd7159075d GOB: Give sound-only videos 500 extra ms for good measure
svn-id: r55357
2011-01-20 17:07:46 +00:00
Sven Hesse 715560edb9 GOB: Don't temper with the break key for live videos
svn-id: r55355
2011-01-20 17:06:50 +00:00
Sven Hesse adf8820aee GOB: Make blocking videos default
svn-id: r55354
2011-01-20 15:29:32 +00:00
Sven Hesse 862596bbd4 GOB: Ignore a few more dummy files
svn-id: r55353
2011-01-20 12:40:42 +00:00
Sven Hesse cba4bccf99 GOB: Removing a useless debug warning
svn-id: r55352
2011-01-20 12:40:17 +00:00
Sven Hesse 75eb1f7f10 GOB: Also ignore writing to kSaveModeIgnore files
svn-id: r55351
2011-01-20 12:39:54 +00:00
Sven Hesse f015e175df GOB: Change a warning() into a debugC()
Because it gets on my nerves :P

svn-id: r55350
2011-01-20 12:31:13 +00:00
Sven Hesse 3976342ec0 GOB: Don't not play videos with only sound
svn-id: r55349
2011-01-20 12:28:46 +00:00
Sven Hesse 6e403b38ba GOB: Reverse-blit the final frame of a live video
Fixes some glitches at the end of live videos

svn-id: r55347
2011-01-20 10:21:27 +00:00
Sven Hesse 6b85f809d9 GOB: Urban: Fix missing visuals at Cemetary/Lab
Urban Runner decouples _frontSurface and
_spritesArray[kFrontSurface] at that screen... *sigh*

svn-id: r55346
2011-01-20 10:20:57 +00:00
Sven Hesse bd3f9ad1e2 GOB: Use Surface::blit() in VideoPlayer::copyFrame()
svn-id: r55344
2011-01-20 05:19:41 +00:00
Sven Hesse d77899e158 GOB: Make Urban Runner's "3D view" work again
svn-id: r55340
2011-01-20 03:22:43 +00:00
Sven Hesse bad7f1ce9a GOB: Implement "live" (non-blocking) videos
Many thanks to SylvainTV. :)
Urban Runner might actually be completeable now.
One caveat: Hotspots at that hotel sequence are a bit glitchy...

svn-id: r55333
2011-01-19 18:57:43 +00:00
Sven Hesse adbeb20f3b GOB: Add preliminary Inca 2 save support
svn-id: r55323
2011-01-19 09:02:39 +00:00
Sven Hesse 12ff4f51f1 GOB: Add save stub and temp sprite for Inca2
svn-id: r55321
2011-01-19 09:01:38 +00:00
Sven Hesse b38b5d2484 GOB: Give Inca2 its own SaveLoad class
Add an quick hack to fudge reading of the "voice.inf" file,
so that the voice match the selected text language.

svn-id: r55298
2011-01-18 11:53:21 +00:00
Sven Hesse b4e12e6a89 GOB: Fix the indenting :P
svn-id: r55297
2011-01-18 11:52:44 +00:00
Sven Hesse d4357c5c3f GOB: Give Inca2 its own Inter class
svn-id: r55296
2011-01-18 11:52:24 +00:00
Sven Hesse 1c63862f2b GOB: Add a workaround for Inca2
The scripts seem to depend on var32_236 to be cleared at the
start of each new script file.

svn-id: r55295
2011-01-18 11:51:45 +00:00
Sven Hesse a6073a649a GOB: Add some sanity checks
svn-id: r55294
2011-01-18 10:42:26 +00:00
Sven Hesse efe0dea82c GOB: Implement Urban Runner autosave
Makes the "Try again" after a death work

svn-id: r55293
2011-01-18 09:27:32 +00:00
Sven Hesse 61b90c43d8 GOB: Fix a stupid typo in o2_readData()
svn-id: r55290
2011-01-18 08:14:23 +00:00
Sven Hesse f33b84ff3d GOB: Fix Woodruff object videos
svn-id: r55289
2011-01-18 07:03:42 +00:00
Sven Hesse dd01e4c303 GOB: Increase debug level for a debug message
svn-id: r55287
2011-01-18 07:02:42 +00:00
Sven Hesse e73484b259 GOB: Fix Urban Runner hotspot texts
Thanks to SylvainTV :)

svn-id: r55286
2011-01-18 06:30:47 +00:00
Sven Hesse 283bec822d GOB: Add a sanity check in oPlaytoons_readData
svn-id: r55284
2011-01-18 04:19:33 +00:00
Sylvain Dupont 92ddccec09 GOB: Add chroma values linear interpolation in drawYUV
Fixes the blockiness and apparent color shifting in some Urban Runner menu icons.

svn-id: r55283
2011-01-18 00:56:48 +00:00
Sven Hesse db13af5337 GOB: Make the variable stack endianness-independent
Since Urban Runner casts int16s to uint32 before pushing them onto the
stack and after popping assumes it's little endian, we have explicitely
preserve the variable space endianness while pushing/popping.

svn-id: r55277
2011-01-17 13:37:14 +00:00
Sven Hesse 6c6d85908f GOB: Fix o2_pushVars()
Fixes Urban Runner loading.
This being broken has the potential of messing up
/everything/ in unpredictable ways, so saves of games using
this opcode may be borked. Thankfully, I *think* it's just
Urban Runner, which isn't working/supported yet anyway.

svn-id: r55276
2011-01-17 12:09:06 +00:00
Sven Hesse da65a3cbf3 GOB: Fix the flow rate gauge in Urban Runner
svn-id: r55275
2011-01-17 09:48:42 +00:00
Sven Hesse 8a1e9c8256 GOB: Remove unused old shade functions
svn-id: r55274
2011-01-16 22:30:19 +00:00
Sven Hesse e6d04b8ad6 GOB: Adding a proper shade method
svn-id: r55273
2011-01-16 22:29:49 +00:00
Sven Hesse 58228919fc GOB: Use the correct font and shade color in Urban Runner
svn-id: r55272
2011-01-16 22:29:18 +00:00
Sven Hesse 0d11ae143f GOB: Add a method to get a true palette color
svn-id: r55271
2011-01-16 22:28:49 +00:00