Sven Hesse
c8f58b4e19
GOB: o7_draw0x0D is o7_loadCursor
...
Not implemented yet, because they're in cursor32.dll as PE resources...
svn-id: r55526
2011-01-25 11:01:51 +00:00
Lars Skovlund
e1a9c866bf
SCI3: Fix script abort during startup on Big Endian platforms
...
svn-id: r55525
2011-01-25 10:21:44 +00:00
David Turner
b52859323c
LASTEXPRESS: Fixed Memory Leak in Subtitles.
...
Also, fixed minor uninitialised read in animation event polling.
svn-id: r55524
2011-01-25 08:24:57 +00:00
Julien Templier
6400659ead
LASTEXPRESS: Correct typos in Alexei logic and sound code
...
svn-id: r55523
2011-01-25 04:25:06 +00:00
Sven Hesse
e5304457b4
GOB: Add o7_oemToANSI
...
I don't think that we'll need that :P
svn-id: r55522
2011-01-25 03:44:34 +00:00
Sven Hesse
2ce333bf16
GOB: o7_draw0xA1 is o7_getINIValue
...
svn-id: r55521
2011-01-25 03:44:07 +00:00
David Turner
d183a3618d
LASTEXPRESS: Fix accidental assignment in sound.cpp.
...
Checked with Littleboy that this was not intentional.
svn-id: r55520
2011-01-25 03:22:37 +00:00
David Turner
f9c54abee8
LASTEXPRESS: Corrected format warning in state.h
...
svn-id: r55519
2011-01-25 03:11:27 +00:00
Sven Hesse
64da68cb0d
GOB: Adi 4 should get a Inter_v7 too
...
svn-id: r55518
2011-01-25 02:52:19 +00:00
Sven Hesse
a875901485
GOB: o7_draw0x90 is o7_loadLBM
...
Stubbed for now
svn-id: r55517
2011-01-25 02:51:51 +00:00
Sven Hesse
c293eb6073
GOB: o7_draw0xC4 is o7_opendBase
...
Not implemented for now, of course
svn-id: r55516
2011-01-25 02:51:26 +00:00
Sven Hesse
c8997d0ef8
GOB: o7_draw0x44 is o7_displayWarning
...
svn-id: r55515
2011-01-25 02:50:56 +00:00
Sven Hesse
0b5af778b0
GOB: o7_draw0x8C is o7_getSystemProperty
...
svn-id: r55514
2011-01-25 02:50:26 +00:00
Julien Templier
8db6eb7b87
LASTEXPRESS: Add per-entry sound stream (this fixes all dialog being cut as soon as a new sound is queued)
...
svn-id: r55513
2011-01-25 02:17:05 +00:00
Julien Templier
8f7418556a
LASTEXPRESS: Fix typo in Francois logic
...
svn-id: r55512
2011-01-25 02:16:45 +00:00
Julien Templier
0fd380441a
LASTEXPRESS: Add some subtitle support to Sound class
...
svn-id: r55511
2011-01-25 02:16:29 +00:00
David Turner
ccb1faef7e
PARALLACTION: Removal of unecessary returns and whitespace fixes to saveload.*
...
svn-id: r55510
2011-01-25 01:58:26 +00:00
Sven Hesse
1a44ed588f
GOB: Some more Addy stubs
...
svn-id: r55509
2011-01-25 01:28:31 +00:00
Sven Hesse
176e49975c
GOB: Adding stubs for Addy
...
svn-id: r55508
2011-01-25 00:50:26 +00:00
Arnaud Boutonné
2846ce14f3
HUGO: Move text arrays to a separate class
...
svn-id: r55507
2011-01-25 00:32:48 +00:00
Matthew Hoops
45a4dfa44d
MOHAWK: Improve support for installer archives (partial directory support)
...
svn-id: r55506
2011-01-24 21:12:44 +00:00
Sven Hesse
ffb3de5bc0
SWORD25: Fix some invalid writes / crashes
...
On my system, sizeof(png_uint_32) == 8, while sizeof(int) == 4.
svn-id: r55504
2011-01-24 14:59:21 +00:00
Sven Hesse
9eea8c6bca
GOB: Wait for the exact moment of the video sound's end
...
This should fix all cut-off sound issues in Urban Runner
svn-id: r55503
2011-01-24 14:10:15 +00:00
Filippos Karapetis
6dc0999c6d
SWORD25: Cleanup
...
svn-id: r55501
2011-01-24 14:00:55 +00:00
Julien Templier
03faae8551
LASTEXPRESS: Add Italian release (and update file dates for German and Spanish releases)
...
svn-id: r55500
2011-01-24 12:41:16 +00:00
Lars Skovlund
aa5e8e6c2b
SCI/Robot: Simplify ::setPalette()
...
svn-id: r55498
2011-01-24 11:17:47 +00:00
Lars Skovlund
3b61cb57d4
SCI/Robot: Fix typo
...
svn-id: r55497
2011-01-24 10:57:19 +00:00
Sven Hesse
d706ab3ee8
GOB: Urban: Write intro.0xx to file too
...
This fixes retrying after dying in the Secret Room.
svn-id: r55496
2011-01-24 10:31:19 +00:00
Matthew Hoops
5564926e06
MOHAWK: Fix Gehn's music player when clicking on it the first time (thanks, digitall)
...
svn-id: r55495
2011-01-24 06:30:39 +00:00
Matthew Hoops
e70efa2fad
MOHAWK: Properly initialize the bspit-gspit magcar variables (thanks, digitall)
...
svn-id: r55494
2011-01-24 05:50:49 +00:00
Matthew Hoops
d6a4ff3639
MOHAWK: Recheck the current hotspot if a script has changed the enabled hotspots in Riven
...
svn-id: r55493
2011-01-24 02:43:07 +00:00
David Turner
0f07082a78
PARALLACTION: Improve safety of PathBuffer::getValue().
...
This will now avoid invalid memory reads and instead emit warnings if it is called with values outside of the expected data buffer or on a NULL buffer.
svn-id: r55492
2011-01-24 01:58:43 +00:00
David Turner
9961e054d0
SWORD25: Fix linker breakage from DECLARE_SINGLETON() in renderObjectRegistry.h.
...
svn-id: r55490
2011-01-24 00:46:06 +00:00
Filippos Karapetis
092da73929
SWORD25: Documented a FIXME
...
svn-id: r55489
2011-01-24 00:04:32 +00:00
Filippos Karapetis
1f1cb1f140
SWORD25: Removed the logErrorLn and logWarningLn wrappers
...
svn-id: r55488
2011-01-24 00:03:09 +00:00
David Turner
a7f7b90aee
SCI: Fixed possible use of uninitialized variable in SCI Script Debugger.
...
svn-id: r55487
2011-01-23 23:25:34 +00:00
David Turner
86513a19aa
MOHAWK: Fixed possible use of uninitialized variables in Myst Selenitic Age code.
...
svn-id: r55486
2011-01-23 22:52:15 +00:00
Arnaud Boutonné
f7f42fba21
HUGO: Get rid of (almost) all the remaining defines
...
svn-id: r55485
2011-01-23 22:51:12 +00:00
Matthew Hoops
c81be09bcd
MOHAWK: Fix the Riven demo intro sequence (a regression from r55188)
...
svn-id: r55484
2011-01-23 22:08:14 +00:00
David Turner
2c2ef3973a
SWORD25: Fix GCC Compilation Warnings.
...
svn-id: r55482
2011-01-23 20:51:16 +00:00
Sven Hesse
9b31b9c214
GOB: Fix a clipping issue
...
svn-id: r55481
2011-01-23 20:16:24 +00:00
Eugene Sandulenko
caa6684752
VIDEO: Move video classes to Video:: namespace
...
svn-id: r55479
2011-01-23 19:08:09 +00:00
Filippos Karapetis
3d15871ee2
SWORD25: Removed several unused methods of the Vertex class, and made a subclass of the Common::Point class
...
svn-id: r55478
2011-01-23 19:06:35 +00:00
Filippos Karapetis
b17d4ada86
SWORD25: Removed several unused methods from the Polygon class
...
svn-id: r55477
2011-01-23 19:02:36 +00:00
Torbjörn Andersson
85406467e2
SWORD25: Remove unused yuvtorgba.h file
...
svn-id: r55475
2011-01-23 17:52:29 +00:00
Eugene Sandulenko
f123802f4c
GRAPHICS: Move graphics/video/ to video/. Step 2/2
...
svn-id: r55474
2011-01-23 17:37:17 +00:00
Eugene Sandulenko
806ccf5d25
GRAPHICS: Move graphics/video/ to video/. Step 1/2
...
svn-id: r55473
2011-01-23 17:14:43 +00:00
Filippos Karapetis
36ed9be335
SWORD25: Fixed compilation (oops...)
...
svn-id: r55472
2011-01-23 16:22:15 +00:00
Alyssa Milburn
78af2212cf
MOHAWK: Detect CSTime demo (thanks to Strangerke for finding it).
...
svn-id: r55470
2011-01-23 16:15:26 +00:00
Filippos Karapetis
160517da93
SWORD25: Simplified the YUV->RGBA conversion code
...
svn-id: r55469
2011-01-23 16:14:51 +00:00
Sven Hesse
ccd5129588
GOB: Pass engine pause to the VideoPlayer and decoders
...
Entering the GMM or the debug console during a video will not
mess up audio/video sync anymore.
svn-id: r55466
2011-01-23 15:33:30 +00:00
Torbjörn Andersson
806defa98e
SWORD25: Fix format string warnings.
...
svn-id: r55465
2011-01-23 15:07:46 +00:00
Filippos Karapetis
1250785822
SWORD25: Replaced BS_ASSERT() with assert()
...
svn-id: r55464
2011-01-23 15:01:24 +00:00
Filippos Karapetis
04af67d736
SWORD25: Fixed compilation
...
svn-id: r55463
2011-01-23 14:57:21 +00:00
Filippos Karapetis
00a0f8d15d
SWORD25: Removed the custom log class and replaced it with warning/error/debugC calls
...
svn-id: r55462
2011-01-23 14:49:50 +00:00
Sven Hesse
411d41d3d0
GOB: Change the NOCD workaround for Urban Runner a bit
...
Seems like the game does close the CD1.ITK too, so we just
open all ITKs right at the start, lest it might blow up when
it wants to close the top ITK and that's actually CD4.
svn-id: r55461
2011-01-23 11:00:57 +00:00
Matthew Hoops
191d85f174
MOHAWK: Implement Riven's stopSound() and fadeAmbientSounds() opcodes
...
svn-id: r55460
2011-01-23 07:02:49 +00:00
Matthew Hoops
27d9ee3de1
MOHAWK: Do not stop ambient sounds when finding no matching Riven SLST index
...
This fixes the ambient sounds in the Rebel Tunnel puzzle and Temple Island maglev among other places.
svn-id: r55459
2011-01-23 06:54:35 +00:00
Matthew Hoops
52c0d678ce
MOHAWK: Enable the Riven easter egg shortcut
...
svn-id: r55458
2011-01-23 06:02:46 +00:00
Matthew Hoops
fd3188a6fc
MOHAWK: Cleanup Riven opcode 12 (now known as stopSound())
...
svn-id: r55457
2011-01-23 05:12:50 +00:00
Arnaud Boutonné
caab214260
HUGO: Fix on more GCC warning
...
svn-id: r55454
2011-01-23 00:29:08 +00:00
Arnaud Boutonné
7f4e1bde1e
HUGO: Fix several warnings
...
svn-id: r55453
2011-01-23 00:19:40 +00:00
Arnaud Boutonné
93409aa381
HUGO: Fix GCC compilation
...
svn-id: r55452
2011-01-23 00:08:47 +00:00
Arnaud Boutonné
3f6496d5b5
HUGO: Cleanup
...
Suppress almost all defines, rename constants
svn-id: r55451
2011-01-23 00:05:52 +00:00
Lars Skovlund
bcf62fa8b9
SCI/Robot:Don't ifdef out ::playAudio, since it is only used for debugging
...
svn-id: r55449
2011-01-22 21:58:33 +00:00
Alyssa Milburn
7e46c479fc
MOHAWK: Add hardcoded help code for case 1.
...
svn-id: r55448
2011-01-22 21:23:06 +00:00
Alyssa Milburn
49c3cab2e8
MOHAWK: Implement CSTime help system.
...
svn-id: r55447
2011-01-22 21:22:49 +00:00
Alyssa Milburn
bbfbb7e74a
MOHAWK: Minor CSTimeChar bugfixes.
...
svn-id: r55446
2011-01-22 21:22:29 +00:00
Alyssa Milburn
bfe0307300
MOHAWK: Implement kCSTimeEventCharSomeNIS55.
...
svn-id: r55445
2011-01-22 21:22:12 +00:00
Sven Hesse
00cabdad11
GOB: Only let one video with sound play at a time
...
svn-id: r55444
2011-01-22 19:37:25 +00:00
Sven Hesse
0722df9472
GOB: Hacking in multiple live videos
...
Needed for Bambou. The narrator voice and the "Do you want to quit?"
voices are live videos that should continue while the live video
buttons are playing.
svn-id: r55443
2011-01-22 19:28:23 +00:00
Filippos Karapetis
66a715ea99
MOHAWK: Silence a warning
...
svn-id: r55442
2011-01-22 18:09:06 +00:00
Alyssa Milburn
a9c840c3d5
MOHAWK: More CSTime event stubs.
...
Case 1 is now playable up to the 'next case' event.
svn-id: r55441
2011-01-22 17:34:01 +00:00
Alyssa Milburn
de4b564532
MOHAWK: Add/use visit count for scenes.
...
svn-id: r55440
2011-01-22 17:33:44 +00:00
Bastien Bouclet
caccceb02b
MOHAWK: Dragging resources / levers code cleanup
...
svn-id: r55439
2011-01-22 17:26:09 +00:00
Sven Hesse
5b4183fa27
GOB: Or actually, *this* should be the correct loop flag handling
...
svn-id: r55438
2011-01-22 17:19:58 +00:00
Sven Hesse
3f162962aa
GOB: Oops, -10 = close video, < -10 = looping
...
svn-id: r55437
2011-01-22 16:56:02 +00:00
Sven Hesse
7fee6f9740
GOB: Proper live video looping
...
Fixes the Yes/No robots in Bambou
svn-id: r55436
2011-01-22 16:48:51 +00:00
Bastien Bouclet
aeff7cf12c
MOHAWK: Implement Channelwood's remaining opcodes
...
svn-id: r55434
2011-01-22 16:44:00 +00:00
Matthew Hoops
c1e68ac94d
MOHAWK: Fix meaning of the sound loop variable
...
svn-id: r55433
2011-01-22 16:35:25 +00:00
Sven Hesse
cbbafc962d
GOB: Extend the good-measure wait to all videos with sound
...
Fixes a glitch in Bambou, where the intro movie is cut off to
soon.
svn-id: r55432
2011-01-22 16:29:54 +00:00
Matthew Hoops
755558de04
MOHAWK: Update the ADPC chunk code
...
svn-id: r55431
2011-01-22 16:16:30 +00:00
Sven Hesse
a8e6fa3346
GOB: Don't blit dirty rectangles while playing a live video
...
This fixes the inventory list flickering in live videos :)
svn-id: r55430
2011-01-22 15:39:52 +00:00
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
Filippos Karapetis
7dd28c024a
SCI: Moved the robot audio playing test code inside GfxRobot::playAudio()
...
svn-id: r55428
2011-01-22 14:58:17 +00:00
Lars Skovlund
8a44af63af
SCI/robot: Correct detection of null preload
...
svn-id: r55427
2011-01-22 14:32:39 +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
Lars Skovlund
dc27a22026
SCI: Added stub for playing robot audio from the console
...
svn-id: r55424
2011-01-22 13:12:01 +00:00
Bastien Bouclet
f48cc4119c
MOHAWK: Implement Channelwood opcodes 118 and 203: Sirius's drawer
...
svn-id: r55423
2011-01-22 13:03:54 +00:00
Filippos Karapetis
89087b18c7
SCI21: Allow the game scripts to sync robot videos, like in SSCI. Also, references of the SciEngine class to itself via g_sci have been removed
...
svn-id: r55422
2011-01-22 13:01:10 +00:00
Sven Hesse
7c14cf2b1b
GOB: Fix some of the live-video glitchyness
...
svn-id: r55421
2011-01-22 12:26:31 +00:00
Bastien Bouclet
477ae820fb
MOHAWK: Implement Channelwood opcodes 106 and 109: Stair door switch
...
svn-id: r55420
2011-01-22 12:15:42 +00:00
Alyssa Milburn
1d82720447
MOHAWK: Hide mummy at startup in CSTime case 1.
...
svn-id: r55419
2011-01-22 12:12:07 +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
Alyssa Milburn
86b90fe8a6
MOHAWK: Add some debug commands for CSTime.
...
svn-id: r55417
2011-01-22 11:37:37 +00:00
Alyssa Milburn
e23fef92dd
MOHAWK: Finish hard-coded logic for CSTime case 1.
...
svn-id: r55416
2011-01-22 11:37:19 +00:00
Alyssa Milburn
db8f0fdce3
MOHAWK: Implement a couple more CSTime events.
...
svn-id: r55415
2011-01-22 11:37:01 +00:00
Alyssa Milburn
5f87a5b9a8
MOHAWK: Add some proper group removal logic to CSTime.
...
svn-id: r55414
2011-01-22 11:36:43 +00:00
Bastien Bouclet
2fabd90937
MOHAWK: Implement Channelwood opcodes 108, 127, 128: elevators
...
svn-id: r55413
2011-01-22 10:09:01 +00:00