Commit Graph

19805 Commits

Author SHA1 Message Date
Filippos Karapetis
8928dc3cf5 SCI: Changed the expensive and inaccurate floating-point divisions to integer divisions. Fixes asserting of 90.rbt in Phantasmagoria (the game's logo video)
svn-id: r55405
2011-01-22 03:28:14 +00:00
Filippos Karapetis
84a04d6876 SCI: Code formatting
svn-id: r55404
2011-01-22 02:51:39 +00:00
David Turner
39de104c5c TOON: Fix Uninitialized Memory Read During Cursor Animation on Load.
This was mainly due to _mouseX, which along with the associated variables was not defined until the first mouse event. This was detected by Valgrind.

svn-id: r55402
2011-01-22 01:07:14 +00:00
David Turner
e8e6df9106 TOON: Fix for Memory Leak during Savegame Loading.
svn-id: r55401
2011-01-22 00:00:30 +00:00
David Turner
cb7eb365ae TOON: Fix Memory Leak when opening Inventory.
svn-id: r55400
2011-01-21 23:43:02 +00:00
Sylvain Dupont
f9422fb726 TOON: Bug #3153351 fixed with disappearing Drew
Bug #3153351: "TOON: Drew vanishes when fixing churnatron"
Made sure the scale is never zero.

svn-id: r55399
2011-01-21 23:24:17 +00:00
Sylvain Dupont
8cacde95e7 TOON: Always reset video playback to lowRes when loading new movie
svn-id: r55398
2011-01-21 22:56:22 +00:00
Lars Skovlund
9f1904d661 SCI: Fix robot palette activation
svn-id: r55397
2011-01-21 22:50:30 +00:00
Sylvain Dupont
5469aa1687 TOON: Fix double declaration warning
Thanks to clone2727 ;)

svn-id: r55396
2011-01-21 22:04:41 +00:00
Bastien Bouclet
f7f453a925 MOHAWK: Fix channelwood var getter 3, water flawing to temple elevator.
svn-id: r55395
2011-01-21 21:40:06 +00:00
Bastien Bouclet
efec8d8864 MOHAWK: Implement Channelwood generic lever opcodes, and bridge opcodes
svn-id: r55394
2011-01-21 21:24:24 +00:00
Sylvain Dupont
d5cb146f4c TOON: Fix all the glitches in smacker video playback
Handle manually 2x scaling when it is needed now.

svn-id: r55393
2011-01-21 20:26:25 +00:00
David Turner
bbb1379def PARALLACTION: Minor Whitespace fixup in walk.cpp
svn-id: r55392
2011-01-21 20:08:11 +00:00
Lars Skovlund
4818b2ae08 SCI: Add comment for GK1 workaround.
svn-id: r55391
2011-01-21 19:56:23 +00:00
Lars Skovlund
cd62c3ae42 SCI: Fix robot memory leak
svn-id: r55390
2011-01-21 19:52:52 +00:00
Alyssa Milburn
bb2ae25626 MOHAWK: Implement kCSTimeEventRemoveItemFromInventory.
svn-id: r55389
2011-01-21 19:45:58 +00:00
Alyssa Milburn
13eb46eb99 MOHAWK: Fix disabling inventory features in CSTime.
svn-id: r55388
2011-01-21 19:45:33 +00:00
Alyssa Milburn
0c797cf359 MOHAWK: Use the provided drag flags when dropping a feature.
svn-id: r55387
2011-01-21 19:45:08 +00:00
Lars Skovlund
74f8462a7b SCI: Fix GK1 breaking into the debugger when watching the intro
svn-id: r55386
2011-01-21 19:33:36 +00:00
David Turner
a7df59a0ac TOUCHE: Fixed Uninitialised Read in first call to ToucheEngine::res_loadBackdrop().
svn-id: r55385
2011-01-21 19:25:24 +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
Lars Skovlund
0e33dd9164 SCI: Partial robot support, currently disabled since it does not run
asynchronously as it should.

svn-id: r55382
2011-01-21 18:53:35 +00:00
Alyssa Milburn
c31e483a6f MOHAWK: Add casts to remaining uses of ~0.
This silences some warnings for now.

svn-id: r55379
2011-01-21 14:20:48 +00:00
Alyssa Milburn
58c7e66800 MOHAWK: Implement CSTime big note display.
svn-id: r55378
2011-01-21 14:17:49 +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
Alyssa Milburn
398c95a331 MOHAWK: Remove non-state uses of ~0 from CSTime.
svn-id: r55373
2011-01-21 12:24:18 +00:00
Alyssa Milburn
f5b4f96404 MOHAWK: De-hardcode CSTime font paths.
The original Broderbund release had the installer data in a different
directory.

svn-id: r55372
2011-01-21 11:53:44 +00:00
Alyssa Milburn
94ac240761 MOHAWK: Fix two CSTime cursor shape/state checks.
(Thanks to [md5]/thebluegr.)

svn-id: r55371
2011-01-21 10:59:49 +00:00
David Turner
14d74d2063 PARALLACTION: Fix Un-initialized Memory Errors and Leaks in Nippon Safes Amiga Demo.
These were found using Valgrind.

svn-id: r55369
2011-01-21 03:25:01 +00:00
Matthew Hoops
7ed456f268 MOHAWK: Add support for installer files from Riven and other Broderbund games
svn-id: r55368
2011-01-21 01:58:53 +00:00
Matthew Hoops
476eeb69e6 COMMON: Move SCI's DCL decompression code to common
svn-id: r55367
2011-01-21 01:55:44 +00:00
Filippos Karapetis
572dfd2a23 MOHAWK: Added a FIXME and fixed a logic bug
svn-id: r55366
2011-01-21 00:29:55 +00:00
Arnaud Boutonné
a321f2a007 HUGO: Merge misc versions of display, intro and scheduler classes
svn-id: r55365
2011-01-20 22:50:50 +00:00
David Turner
5a7e25a3a6 HUGO: Close Memory Leak in TopMenu Surfaces.
svn-id: r55363
2011-01-20 22:31:05 +00:00
Alyssa Milburn
b10f072c9e MOHAWK: Add CSTime engine.
svn-id: r55362
2011-01-20 21:35:00 +00:00
Alyssa Milburn
1e2ac8bc13 MOHAWK: Add shared view code.
The design/code here is still very much in flux, because it's still
unclear exactly how the code is used by some games.

svn-id: r55361
2011-01-20 21:34:19 +00:00
Arnaud Boutonné
30a94d2af6 HUGO: Cleanup: Remove some C-style comments
svn-id: r55360
2011-01-20 19:33:31 +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