Max Horn
ca730e8f7e
Allow quitting Simon 2 during the intro
...
svn-id: r36082
2009-01-27 00:38:56 +00:00
Travis Howell
7a7cc77d03
Correct md5 checksum for German Atari ST version of Indiana Jones and the Last Crusade.
...
svn-id: r36080
2009-01-26 22:15:08 +00:00
Willem Jan Palenstijn
80ba7ec844
made fix from r36039 more efficient
...
svn-id: r36076
2009-01-26 17:37:59 +00:00
Travis Howell
c2847572f1
Add German Atari ST version of Indiana Jones and the Last Crusade.
...
svn-id: r36072
2009-01-26 09:22:43 +00:00
Paul Gilbert
52df26d4b2
Implemented the Engine::getDebugger method
...
svn-id: r36068
2009-01-26 06:53:23 +00:00
Travis Howell
53c71f8e4d
Add support for text compression in the AtariST version of Elvira 1.
...
svn-id: r36065
2009-01-26 04:22:19 +00:00
Gregory Montoir
4999677c57
added a few more code differences, demo version is now completable
...
svn-id: r36063
2009-01-25 18:08:26 +00:00
Gregory Montoir
7f594fa21d
TUCKER: modified flic playback to make use of dirtyrects
...
svn-id: r36060
2009-01-25 12:10:06 +00:00
Torbjörn Andersson
0a7b4fd146
Fixed warning.
...
svn-id: r36059
2009-01-25 11:15:30 +00:00
Joost Peters
a0824205af
some DW2 endian fixes
...
svn-id: r36058
2009-01-25 11:02:34 +00:00
Filippos Karapetis
79709646fb
Added some unused opcodes in Rodney
...
svn-id: r36057
2009-01-25 10:46:48 +00:00
Filippos Karapetis
3fb9e1e23a
Added some information on sfPlayNote, sfStopNote, sfPlayTele, sfStopTele
...
svn-id: r36056
2009-01-25 10:16:00 +00:00
Filippos Karapetis
e46c1100a0
Removed leftover debug code
...
svn-id: r36055
2009-01-25 09:37:53 +00:00
Paul Gilbert
d3319ad6a8
Introduced a static string list for language dependant strings, and changed the options and inventory menus to use it
...
svn-id: r36051
2009-01-25 05:49:18 +00:00
Paul Gilbert
a27f4203e0
Minor cleanup and changed g_cruise to _vm for consistency
...
svn-id: r36050
2009-01-25 05:44:18 +00:00
Benjamin Haisch
6297561f7c
- Implemented sound decompression for Manhole EGA
...
svn-id: r36048
2009-01-25 01:58:16 +00:00
Gregory Montoir
e5feb689df
added detection entry for playable demo and some code differences
...
svn-id: r36044
2009-01-24 21:03:44 +00:00
Willem Jan Palenstijn
3c79c6229c
fix near-infinite loop and segfault in ARM costume asm when len == 0 (should fix #2340221 )
...
svn-id: r36039
2009-01-24 19:19:24 +00:00
Travis Howell
75518d5a6e
Update detection table with known file sizes.
...
svn-id: r36032
2009-01-24 06:06:14 +00:00
Kari Salminen
dfab0ee6d0
Initialize variables that might not be initialized but still used later on line 422 in a debug function call (Fixes MSVC's warnings about 'potentially uninitialized local variable').
...
svn-id: r36031
2009-01-24 05:02:08 +00:00
Willem Jan Palenstijn
a8ae95cc10
fixing #2531282 : don't fall back to a real audio CD when playing enhanced midi tracks
...
svn-id: r36030
2009-01-24 01:29:52 +00:00
Filippos Karapetis
17b82253e9
Removed leftover test code for MADE V1, used in Manhole EGA (though the sound effects in Manhole EGA are still not working)
...
svn-id: r36028
2009-01-24 01:03:06 +00:00
Benjamin Haisch
a8562cf64b
- Implemented sfGetMusicBeat (used in several games as some kind of timer)
...
svn-id: r36023
2009-01-23 12:17:12 +00:00
Max Horn
2d866c0483
Renamed Kyra's Resource::getFileStream to createReadStream
...
svn-id: r36022
2009-01-23 04:57:18 +00:00
Max Horn
14c5bbbccf
Renamed Archive::openFile to createReadStreamForMember
...
svn-id: r36021
2009-01-23 04:45:44 +00:00
Max Horn
9861afd8fd
Renamed ArchiveMember::open -> createReadStream, and made it a cv member (const); same for Archive::openFile
...
svn-id: r36020
2009-01-23 04:36:18 +00:00
Travis Howell
d5c12447bd
Trigger error in German versions of Elvira 1/2 and Waxworks, since we still lack the font table data.
...
svn-id: r36019
2009-01-23 04:09:57 +00:00
Travis Howell
c36eb09237
Remove unused shutdown() code.
...
svn-id: r36018
2009-01-23 04:05:10 +00:00
Travis Howell
8914ef89ea
Remove last use of time() in AGOS engine.
...
svn-id: r36016
2009-01-23 04:01:38 +00:00
Max Horn
8f16458e9b
Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
...
svn-id: r36014
2009-01-23 03:41:36 +00:00
Filippos Karapetis
ba469d3cbb
Silenced MSVC warnings
...
svn-id: r36002
2009-01-22 19:09:05 +00:00
Max Horn
6692330c41
Fix warning
...
svn-id: r36000
2009-01-22 18:33:02 +00:00
Johannes Schickel
d9cf723ee9
Minor cleanup (got rid of a dynamic array).
...
svn-id: r35999
2009-01-22 16:56:22 +00:00
Benjamin Haisch
5b8105afb3
- Added support for The Manhole EGA version
...
- Support for 'chunked' picture resources and EGA pictures
- Improved the mouth sync in RtZ (still not perfect, though)
- Removed obsolete TODOs
- Fixed sfPlayMovie to return if the movie playback was aborted or not; this is used by RtZ to determine if it should display the credits screen after the intro movie
svn-id: r35997
2009-01-22 13:04:29 +00:00
Max Horn
abc06ca18e
Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. into methods, and added an operator==
...
svn-id: r35993
2009-01-22 04:35:10 +00:00
Torbjörn Andersson
a2c671da97
Clear the list of savegames before re-populating it. Otherwise, even save names
...
that have been entered before cancelling the dialog will remain in it.
svn-id: r35987
2009-01-21 20:00:26 +00:00
Torbjörn Andersson
248605800e
Don't allow the nul character in savegame names, since that terminates the
...
string. This happens, for instance, when pressing the Shift key. (I usually start
my savegame names with an upper-case letter, and I couldn't understand why it
didn't seem to register any of my keypresses.)
svn-id: r35986
2009-01-21 19:46:51 +00:00
Johannes Schickel
d3fb5c1ecc
Fixed GMM save/load functionallity in kyra1.
...
svn-id: r35980
2009-01-21 15:36:31 +00:00
Filippos Karapetis
71421c9966
Mention that kSupportsRTL is problematic in tinsel
...
svn-id: r35969
2009-01-20 23:50:07 +00:00
Filippos Karapetis
7273d02528
Implemented getDebugger()
...
svn-id: r35967
2009-01-20 23:40:35 +00:00
Travis Howell
f8da825177
Bypass copy protection screen completely in Waxworks, since copy protection is disabled in Good Old Games release.
...
svn-id: r35963
2009-01-20 22:49:59 +00:00
Filippos Karapetis
cb8ffaf3a9
Implemented loading from the command line and the GMM for tinsel (kSupportsLoadingDuringStartup)
...
svn-id: r35958
2009-01-20 17:30:23 +00:00
Nicola Mettifogo
b2a9393eee
Replacement an immediate with the appropriate #define constant.
...
svn-id: r35950
2009-01-20 12:47:39 +00:00
Nicola Mettifogo
545b76876a
Character is now placed at the right spot when a new location is entered. Size may be still not right, though.
...
svn-id: r35945
2009-01-20 11:07:27 +00:00
Nicola Mettifogo
3e611e1eb7
Adapted fixed-sized arrays to cope with the larger dialogues in BRA. Maybe they should be turned into dynamic data structures...
...
svn-id: r35944
2009-01-20 10:39:16 +00:00
Johannes Schickel
577c8ff27d
Cleanup.
...
svn-id: r35943
2009-01-20 09:38:55 +00:00
Johannes Schickel
bcae0570a6
Yet another two small formatting fixes.
...
svn-id: r35942
2009-01-20 09:32:43 +00:00
Johannes Schickel
6d2278fb81
- Fixed formatting
...
- Added FIXME about falling through case blocks
svn-id: r35940
2009-01-20 09:30:20 +00:00
Johannes Schickel
87d2d96d91
- Moved some script related code to script_lol.cpp
...
- Renamed opcodes from o2_* to olol_*
svn-id: r35938
2009-01-20 09:22:16 +00:00
Travis Howell
6a999bdc05
Fix bug #2522556 - FEEBLE: Cutscene not found, Crash.
...
svn-id: r35935
2009-01-20 05:43:57 +00:00
Max Horn
c77ecdc050
Fix another warning
...
svn-id: r35934
2009-01-20 02:56:32 +00:00
Max Horn
f60e2836b0
Fixed warnings (nice example of why heeding warnings is useful: one of the changes seems to fix a NULL deref)
...
svn-id: r35933
2009-01-20 02:54:30 +00:00
Filippos Karapetis
85d4063000
Some WIP code for the kSupportsLoadingDuringStartup engine feature
...
svn-id: r35932
2009-01-20 00:33:26 +00:00
Florian Kagerer
017b39eae0
LOL: some work on the music handling
...
svn-id: r35929
2009-01-19 23:35:27 +00:00
Florian Kagerer
2a22b9bcc6
LOL: some renaming
...
svn-id: r35919
2009-01-19 07:31:34 +00:00
Torbjörn Andersson
fa0efa0b22
Fixed warning.
...
svn-id: r35918
2009-01-19 05:03:17 +00:00
Florian Kagerer
44918f5f16
LOL: basic music support and some cleanup
...
svn-id: r35917
2009-01-18 23:50:31 +00:00
Filippos Karapetis
7fba1e9aaf
Removed unused defines, cleaned up some more defines and reduced the places where static data is read from the game's executable
...
svn-id: r35916
2009-01-18 22:02:22 +00:00
Max Horn
6b3d5db09f
Disabled use of OSystem::kFeatureAutoComputeDirtyRects in SAGA for now
...
svn-id: r35915
2009-01-18 20:42:33 +00:00
Florian Kagerer
35c8fd4dad
LOL: fix some valgrind warnings
...
svn-id: r35910
2009-01-18 18:20:33 +00:00
Johannes Schickel
62334395a7
Formatting.
...
svn-id: r35908
2009-01-18 17:38:29 +00:00
Johannes Schickel
12eb45df01
Fixed mismatching delete call.
...
svn-id: r35907
2009-01-18 17:36:25 +00:00
Johannes Schickel
49f756981b
- Fixed some delete[] misuse
...
- Fixed regression introduced with r35904
svn-id: r35906
2009-01-18 17:31:25 +00:00
Johannes Schickel
c003d62429
- Fixed bug in script code of LoL
...
- Cleanup
svn-id: r35905
2009-01-18 17:24:47 +00:00
Johannes Schickel
ec5b64147d
Fixed compilation.
...
svn-id: r35904
2009-01-18 17:17:39 +00:00
Florian Kagerer
ff268e8fd5
LOL: Some drawing code and some opcodes so that the first scene will show up. Playing is not possible. This is still somewhat messy since a lot of stuff hasn't been figured out yet.
...
svn-id: r35903
2009-01-18 17:04:24 +00:00
Johannes Schickel
bf08c82054
Fixed bug in PAK link list code, now file links are correctly initialized.
...
svn-id: r35902
2009-01-18 16:49:03 +00:00
Filippos Karapetis
98b3046c09
Removed some unused defines in Mickey's Space Adventure, and removed a case where static data was read from the game's executable
...
svn-id: r35901
2009-01-18 16:41:35 +00:00
Johannes Schickel
c4a4ffc51b
Update scene number internally so it gets displayed correctly in the debugger.
...
svn-id: r35900
2009-01-18 16:21:30 +00:00
Paul Gilbert
df6aa6361d
Slight changes to fx method #9 to more correctly match the original game
...
svn-id: r35893
2009-01-18 09:29:22 +00:00
Gregory Montoir
1511099a7b
merged Graphics::copyTo640/Graphics::copyFrom640
...
svn-id: r35892
2009-01-18 04:00:11 +00:00
Gregory Montoir
8ea8966c02
cleanup
...
svn-id: r35891
2009-01-18 03:22:33 +00:00
Gregory Montoir
710b7fe461
get rid of AnimationSequencePlayer::_currentSeqNum
...
svn-id: r35890
2009-01-18 03:07:20 +00:00
Gregory Montoir
5a809e51be
simplified Graphics::decode*()
...
svn-id: r35889
2009-01-18 02:46:25 +00:00
Matthew Hoops
bd3ff9c719
fix another regression from the RTL branch merge
...
svn-id: r35888
2009-01-18 02:22:57 +00:00
Gregory Montoir
8f85a81791
splitted play/load class methods in introduction animation player
...
svn-id: r35887
2009-01-18 00:55:51 +00:00
Filippos Karapetis
c56faf3216
Since users need to rename the sound and index files in DW2, throw nice GUI error messages when these files are not found before dying with an error
...
svn-id: r35886
2009-01-17 22:29:55 +00:00
Filippos Karapetis
56f75b4c41
Fixed bug #2057987 - "IHNM: Music stops in Ellen's chapter"
...
svn-id: r35884
2009-01-17 21:45:53 +00:00
Filippos Karapetis
ba4b872a20
Silenced MSVC warning
...
svn-id: r35883
2009-01-17 21:17:58 +00:00
Torbjörn Andersson
eb0ea6a297
Make sure that "quit" events are handled immediately. This fixes a warning - or
...
possibly worse - about an invalid opcode when quitting the game.
svn-id: r35879
2009-01-17 04:50:13 +00:00
Max Horn
736fea2c0e
tiny cleanup
...
svn-id: r35878
2009-01-16 23:29:48 +00:00
Filippos Karapetis
68a20e2aba
- Removed _gameVersion, engine versions are set in the game detection entries now
...
- Renamed ProjectReader -> ResourceReader
- Added some WIP code for the EGA version of the Manhole (still not working/disabled)
- The resource reader now closes the files it has opened correctly when it's deleted
svn-id: r35877
2009-01-16 23:20:17 +00:00
Max Horn
d53a340a4d
Some cleanup (one could replace some of those switch/case by jump tables...)
...
svn-id: r35876
2009-01-16 23:18:18 +00:00
Max Horn
0a169612ee
TUCKER: Got rid of _fileToLoad
...
svn-id: r35875
2009-01-16 21:19:30 +00:00
Max Horn
c0e1dbf1ac
TUCKER: Changed loadFile and loadImage to take filename as parameter (trying to get rid of _fileToLoad)
...
svn-id: r35874
2009-01-16 21:08:55 +00:00
Max Horn
1082d82ba8
TUCKER: Simplify TuckerEngine::copyLocBitmap
...
svn-id: r35873
2009-01-16 20:53:43 +00:00
Max Horn
e9f0fc21e8
Fixed class indention
...
svn-id: r35871
2009-01-16 05:04:49 +00:00
Max Horn
4c5efaecf4
Code formatting fixes, automatically performed by astyle
...
svn-id: r35870
2009-01-16 02:43:41 +00:00
Max Horn
42c46aa5a1
Mark cruise save/load code as not endian safe
...
svn-id: r35869
2009-01-16 01:48:55 +00:00
Max Horn
ce39c26d14
-1 is not an uint8. Assuming ones-complement, though, I guess 255 was meant
...
svn-id: r35865
2009-01-14 18:52:25 +00:00
Jordi Vilalta Prat
4db2899253
Hide the mouse cursor when loading a saved game
...
svn-id: r35863
2009-01-14 16:05:26 +00:00
Filippos Karapetis
f79007d6cf
Fix for non-looped tracks of the music enhancement project. Also, got rid of the dwMidiIndex variable
...
svn-id: r35862
2009-01-14 13:55:36 +00:00
Filippos Karapetis
405680af6d
Game database headers are verified now
...
svn-id: r35861
2009-01-14 11:18:14 +00:00
Torbjörn Andersson
b0fb307978
Fixed warnings.
...
svn-id: r35859
2009-01-14 05:49:18 +00:00
Jordi Vilalta Prat
59d41b30ff
Show the cursor and update it properly when closing the GMM.
...
svn-id: r35858
2009-01-14 03:09:19 +00:00
Jordi Vilalta Prat
be346a6b5f
- Initialize the current cursor to an invalid one (this removes a glitch when loading from the launcher)
...
- Removed the _syst attribute in Cursor_t7g
svn-id: r35856
2009-01-14 02:08:44 +00:00
Jordi Vilalta Prat
215af6f3b4
Reduced savegame code duplication and added savegame format versioning.
...
svn-id: r35855
2009-01-13 23:22:47 +00:00
Jordi Vilalta Prat
cd7ab24dd6
Added const qualifier to (char *) parameter
...
svn-id: r35854
2009-01-13 23:00:14 +00:00
Filippos Karapetis
fa755b3729
Some updates/observations on script functions
...
svn-id: r35850
2009-01-13 21:08:22 +00:00
Filippos Karapetis
0ecaa8c4fd
- PMV video headers are evaluated correctly now
...
- PMV video is now stopped correctly if the end of the video has been reached. Removed a relevant hack, which was caused due to an invalid memory read
svn-id: r35849
2009-01-13 20:36:52 +00:00
Filippos Karapetis
305954d34a
Save game headers are now verified
...
svn-id: r35848
2009-01-13 19:29:55 +00:00
Johannes Schickel
094fca2207
When reverting to text only mode update the config manager settings accordingly.
...
svn-id: r35847
2009-01-13 18:11:11 +00:00
Filippos Karapetis
470b07004a
Added a possible FIXME
...
svn-id: r35846
2009-01-13 16:57:59 +00:00
Benjamin Haisch
78776638d3
Reworked the sound energy code
...
svn-id: r35845
2009-01-13 16:18:22 +00:00
Jordi Vilalta Prat
6801112956
Fix dithering of scaled videos
...
svn-id: r35844
2009-01-13 15:40:46 +00:00
Filippos Karapetis
c2db2b91a5
- Music now works in LGoP2
...
- Changed the default music volume to 127, down from 255
- Added an explanation/FIXME for the out of sync mouth animations in RTZ
- Added some TODOs and removed some obsolete ones
svn-id: r35843
2009-01-13 10:11:52 +00:00
Filippos Karapetis
e1f8088328
Don't call _mixer->stopAll() when changing scenes, as this stops the enhanced audio tracks as well. Sounds are stopped by stopAllSamples()
...
svn-id: r35839
2009-01-12 15:51:11 +00:00
Filippos Karapetis
3f8ca778d0
Cleanup
...
svn-id: r35838
2009-01-12 15:41:37 +00:00
Filippos Karapetis
1a7aeec4d9
Imitate the way the original game is playing MIDI tracks when playing enhanced ones
...
svn-id: r35837
2009-01-12 15:31:50 +00:00
Filippos Karapetis
8911d34542
Added support for the Discworld 1 Music Enhancement project. Big thanks to James Woodcock for his work on both versions of the game (the *.GRA and *.SCN version)
...
svn-id: r35836
2009-01-12 14:56:29 +00:00
Nicola Mettifogo
e5d75d1f7b
Fixed regression from revision 35765. Mask and path patches were destroyed before getting a chance to be used.
...
svn-id: r35835
2009-01-12 13:14:09 +00:00
Paul Gilbert
5afb4ad165
Implemented screen vfx #19 and #20
...
svn-id: r35834
2009-01-12 07:21:34 +00:00
Travis Howell
f304ee8c19
Remove unused case, which isn't used by HE60-HE71 games.
...
svn-id: r35832
2009-01-12 03:58:11 +00:00
Matthew Hoops
9bef5d0e72
consistency fix and add a new line
...
svn-id: r35831
2009-01-12 01:29:29 +00:00
Filippos Karapetis
e399865ee8
IHNM save games no longer contain ITE-related variables
...
svn-id: r35828
2009-01-11 14:44:29 +00:00
Eugene Sandulenko
a266feeb5a
Fix regression when gameids were los for some fanmade games
...
svn-id: r35827
2009-01-11 13:17:05 +00:00
Eugene Sandulenko
bc19c31d75
Patch from bugreport #1846746 : "PUTTMOON 3DO: Play button in Outtro partly cut off"
...
svn-id: r35823
2009-01-11 11:16:37 +00:00
Paul Gilbert
138c1936a4
Completed screen vfx #8 , and also implemented screen vfx #18
...
svn-id: r35822
2009-01-11 11:15:16 +00:00
Travis Howell
954a1d27d8
Fix talkspeed settings again.
...
svn-id: r35821
2009-01-11 06:51:17 +00:00
Travis Howell
4e15c8df35
Fix bug #1925322 - DIG: Subtitle speed affects speech when subtitles are off.
...
svn-id: r35820
2009-01-11 06:15:30 +00:00
Filippos Karapetis
0b4dd7c459
Committed a modified version of wjp's patch for the video player:
...
- Split the video player from the video decoders. It's now possible to have one video player for multiple decoders
- Added the palette weight calculation from the BS1 engine into VideoPlayer::setPalette. It's now possible to find the values of the white and black colors via getWhite() and getBlack() (useful for subtitle overlays)
- Adapted FTA2's movie playing code to the new changes to video player
- Fixed a slight bug in the DXA decoder (_videoinfo.startTime was not initialized)
svn-id: r35816
2009-01-11 03:34:50 +00:00
Paul Gilbert
75c2dc82b3
Implemented screen vfx #8
...
svn-id: r35806
2009-01-10 22:11:22 +00:00
Torbjörn Andersson
5b80774dde
Fixed uninitialised variables in the SCUMM save/load dialog. The updateInfos()
...
function needs to know the dimensions of the dialog, so don't call it until after
calling Dialog::reflowLayout().
svn-id: r35805
2009-01-10 21:29:12 +00:00
Paweł Kołodziejski
cffe7b8379
fixed radio chatter sfx
...
svn-id: r35804
2009-01-10 17:08:29 +00:00
Travis Howell
936f4c0963
setQuickStartFlag is different value in HE100 games.
...
svn-id: r35803
2009-01-10 14:10:04 +00:00
Paweł Kołodziejski
5fc53e262e
- added initial radio chatter sfx, still not fully correct
...
- remove obsolete mixerStreamRunning track variable
svn-id: r35801
2009-01-10 13:04:33 +00:00
Travis Howell
6c27a9f008
Correct sound timer, when sound compression is used in HE games.
...
svn-id: r35800
2009-01-10 10:38:06 +00:00
Travis Howell
d39c075eaf
Fix warning.
...
svn-id: r35799
2009-01-10 10:36:01 +00:00
Travis Howell
b84c864543
Fix compiling SCUMM engine, with HE71+ games disabled.
...
svn-id: r35798
2009-01-10 10:31:39 +00:00
Travis Howell
5bf899709c
Switch assert to an error message, stating the exact unknown code.
...
svn-id: r35796
2009-01-09 12:08:06 +00:00
Travis Howell
1e29a3c7d8
Correct sound priority and SBNG offsets, in later HE games.
...
svn-id: r35795
2009-01-09 05:14:56 +00:00
Travis Howell
02f4098a1a
Fix bug #2029639 - PAJAMA1: Lip Syncing.
...
svn-id: r35794
2009-01-09 00:35:04 +00:00
Henry Bush
9446bfa503
T7G: Stage one of move to ScummVM's CursorMan: rename groovie one so it doesn't have same name
...
svn-id: r35793
2009-01-08 23:06:08 +00:00
Henry Bush
8eb7d55eca
T7G: Reset midi volume to 100 on starting a track, cleanup
...
svn-id: r35792
2009-01-08 23:01:34 +00:00
Filippos Karapetis
c8f16d8716
Fixed slight regression
...
svn-id: r35791
2009-01-08 22:41:25 +00:00
Kari Salminen
c7e29bb788
Give more detailed info on recently added KQ4 detection entry (It's KQ4 v2.0, released on 1988-07-27 and it uses PC AGI 3.002.086).
...
svn-id: r35787
2009-01-08 16:38:42 +00:00
Nicola Mettifogo
99d603c332
Attempted fix of bug #2438637 (Dino not erased in introduction screen on Amiga Nippon Safes), by not forcing the character visible on a location switch.
...
svn-id: r35786
2009-01-08 14:34:22 +00:00
Nicola Mettifogo
4b402e4cd8
Fixed points 2 and 3 of bug #2438549 , spotlight wasn't displayed correctly.
...
svn-id: r35785
2009-01-08 14:12:46 +00:00
Nicola Mettifogo
beacae5efd
Trim resource filenames to 8 characters as a last resort on BRA. Script files are unbelievably broken.
...
svn-id: r35784
2009-01-08 07:31:32 +00:00
Nicola Mettifogo
294c76f4c4
Don't assert anymore when a command flag doesn't exist, but ignore it and print a warning instead. Some location scripts in BRA are totally broken.
...
svn-id: r35783
2009-01-08 07:11:32 +00:00
Eugene Sandulenko
7ec80cd963
Fix bug #2455850 : "LSL: missing Polish MD5" and add Polish LSL1 demo along the way.
...
svn-id: r35782
2009-01-08 00:24:19 +00:00
Max Horn
e955e0b4c4
Fixed warnings
...
svn-id: r35780
2009-01-07 23:30:31 +00:00
Jordi Vilalta Prat
1f63a1dfcd
Fix an invalid access when the quit opcode occupies the last byte of the script, due to the quit status being updated by the event loop
...
svn-id: r35779
2009-01-07 23:05:28 +00:00
Jordi Vilalta Prat
f07d962734
Complete the ROQ video decoding (there are still a few minor glitches)
...
svn-id: r35778
2009-01-07 22:35:35 +00:00
Filippos Karapetis
9752501a07
videoIsLoaded() -> isVideoLoaded()
...
svn-id: r35777
2009-01-07 22:06:15 +00:00
Filippos Karapetis
2772a7aaf1
Further merging of the SMK and DXA players (the FLIC player is not done yet):
...
- Added a new class, VideoPlayer(), from which both the SMK and the DXA player inherit. This class provides generic functions and public methods for the inherited video classes. Default implementations have been made for these public methods, and the virtual ones can be overriden in inherited classes
- There is now a default implementation of the function that sets the video palette
- A basic video player for inherited classes has been added with method playVideo(). This is able to play a fullscreen non-interactive video, which can be skipped with events set by the caller. Postprocessing methods, which draw upon each frame (e.g. subtitles) can be done by implementing performPostProcessing()
- The FTA2 movie player now uses the new playVideo() method
- The new video player code is compatible with the old one (i.e. no changes to the existing engine code are necessary), but it's now possible to reduce engine code for video playing considerably
svn-id: r35772
2009-01-07 21:19:00 +00:00
Eugene Sandulenko
1395d3ba63
Fix bug #2451381 : "AGI: -x option (or loading from launcher) breaks some games"
...
svn-id: r35771
2009-01-07 20:18:38 +00:00
Kari Salminen
2f7ef3132d
Add detection entry for King's Quest IV AGI (PC 5.25", 2.0) as provided by UsualNoise on ScummVM forums.
...
svn-id: r35770
2009-01-07 18:50:42 +00:00
Eugene Sandulenko
027a010275
Fix bug #2484801 : "PQ1/DOS/Englisv2.0G - One version is detected as MAC Version"
...
svn-id: r35769
2009-01-07 18:13:56 +00:00
Nicola Mettifogo
5cf67c6ed7
Implemented Engine::getDebugger().
...
svn-id: r35768
2009-01-07 15:30:38 +00:00
Eugene Sandulenko
c31a0f7089
Fix bug #1942471 : "AGI: Fan(Get Outta SQ): No Word wrapping"
...
svn-id: r35767
2009-01-07 13:27:58 +00:00
Nicola Mettifogo
f1ad8b6934
Extended PathBuffer to support BRA.
...
svn-id: r35766
2009-01-07 08:16:18 +00:00
Nicola Mettifogo
21fae9d029
* moved more mask management to BackgroundInfo
...
* simplified mask management for client code
* reduced the clutter into graphics.h by moving the implementations of BackgroundInfo, MaskBuffer and PathBuffer to graphics.cpp
* preparation for the full implementation of BRA's PathBuffer
svn-id: r35765
2009-01-07 07:35:11 +00:00
Nicola Mettifogo
ef05ed7a98
Cleanup.
...
svn-id: r35764
2009-01-07 07:21:50 +00:00
Filippos Karapetis
cfec23cf0d
Use skip instead of seek
...
svn-id: r35763
2009-01-06 23:33:01 +00:00
Filippos Karapetis
e6aaa5324a
Sound in the old Mac Guild version of ITE is correct again
...
svn-id: r35762
2009-01-06 23:30:23 +00:00
Torbjörn Andersson
9a9c1a40d9
Added a few more shouldQuit() checks. It's now possible to quit while, for
...
instance, Leisure Suit Larry is waiting for you to enter your age.
svn-id: r35761
2009-01-06 23:29:58 +00:00
Filippos Karapetis
4b24b4d06f
Updated SWORD1 with the latest changes to video players
...
svn-id: r35760
2009-01-06 17:49:41 +00:00
Filippos Karapetis
9267961104
Updated SCUMM with the latest changes to video players
...
svn-id: r35759
2009-01-06 17:46:38 +00:00
Filippos Karapetis
e47379c966
Updated AGOS with the latest changes to video players
...
svn-id: r35758
2009-01-06 17:45:39 +00:00
Nicola Mettifogo
fa1d881ad4
Implemented pauseEngineIntern, and fixed music volume handling in SoundMan.
...
svn-id: r35756
2009-01-06 16:21:23 +00:00
Filippos Karapetis
c5c4ab97c9
Cleanup, and follow code formatting convention (indentation) for switch statements
...
svn-id: r35754
2009-01-06 15:47:58 +00:00
Filippos Karapetis
ef78bbdf0d
The sound energy buffer is now cleared inside decompressSound()
...
svn-id: r35753
2009-01-06 13:09:16 +00:00
Filippos Karapetis
de7721c638
Sound energy values are now stored in a list, to account for the fact that the original decompressed sounds on the fly, but we're decompressing them when the sound is being loaded
...
svn-id: r35752
2009-01-06 12:33:59 +00:00
Paul Gilbert
e2463f77cd
Changed sfGetSoundEnergy to use the correct soundEnergy value from decompressing sounds for proper lip-sync
...
svn-id: r35751
2009-01-06 10:40:38 +00:00
Filippos Karapetis
eeaaabc7d4
The Mac version and Mac demo of ITE no longer crash on exit
...
svn-id: r35750
2009-01-06 10:34:51 +00:00
Filippos Karapetis
e2e536ae18
Fixed regression: the ITE Mac version works correctly again
...
svn-id: r35749
2009-01-06 10:33:40 +00:00
Nicola Mettifogo
c6935f2f69
Fixed broken condition check for displaying dialogue balloons.
...
svn-id: r35748
2009-01-06 06:13:45 +00:00
Filippos Karapetis
ad3ee36805
Got rid of updateAnim2()
...
svn-id: r35747
2009-01-05 20:17:33 +00:00
Filippos Karapetis
7f9ea7e35c
Added Doxygen-like comments to the FLIC player, and changed it a bit to have similar method names as the DXA and Smacker players. Also, removed the convenience method hasFrames(), as it's the same as getFrameCount() > 0
...
svn-id: r35741
2009-01-05 15:10:13 +00:00
Nicola Mettifogo
2d74085545
Deleted unused declarations, sorted others, and removed some dead code.
...
svn-id: r35739
2009-01-05 14:07:26 +00:00
Travis Howell
1409526f6b
Remove unused code, since room flags are always zero in Elvira 1.
...
svn-id: r35738
2009-01-05 09:49:57 +00:00
Travis Howell
85c9decb8d
Quit immediately in Elvira 1, and don't let opcodes continue.
...
svn-id: r35737
2009-01-05 09:47:59 +00:00
Travis Howell
a8785eb92e
Add support for RIFF sound format in createSound().
...
svn-id: r35736
2009-01-05 06:45:42 +00:00
Matthew Hoops
0b50c114d8
fix quitting in Mickey's Space Adventure as well as other minor cleanup
...
svn-id: r35735
2009-01-05 01:40:08 +00:00
Matthew Hoops
6e434271fb
fix infinite loop when trying to quit in Troll's Tale
...
svn-id: r35734
2009-01-05 00:51:54 +00:00
Matthew Hoops
41b7f714e9
fix infinite loop when trying to quit in Winnie
...
svn-id: r35732
2009-01-04 19:52:59 +00:00
Max Horn
83a8f7bc29
Fixed warning
...
svn-id: r35730
2009-01-04 17:17:28 +00:00
Filippos Karapetis
80832ffb8f
Got rid of explicit game sound info
...
svn-id: r35727
2009-01-04 15:44:33 +00:00
Nicola Mettifogo
7a0b782a3c
Made sure to display labels on animations.
...
svn-id: r35726
2009-01-04 15:37:46 +00:00
Nicola Mettifogo
a53fa36913
Made sure each event is processed only once. This wasn't always the case when _inputMode changed as a result of a game action. This also caused the comment mode to be apparently skipped.
...
svn-id: r35725
2009-01-04 15:09:28 +00:00
Filippos Karapetis
203358bcb7
Improved handling of sound resources
...
svn-id: r35724
2009-01-04 14:38:03 +00:00
Nicola Mettifogo
f2b495ba2d
Implemented counters in BRA. Only valid answer options are shown, and counter calculations in scripts are performed.
...
svn-id: r35723
2009-01-04 14:23:20 +00:00
Torbjörn Andersson
4273d0db92
Fixed a crash when quitting Swampy Adventures. (Regression from the RTL changes.)
...
svn-id: r35722
2009-01-04 13:14:11 +00:00
Travis Howell
0e9bfc11b0
Fix no input, when playing cards in Blue's 123 Time Activies.
...
svn-id: r35716
2009-01-04 06:15:01 +00:00
Travis Howell
7ec0a13949
Fix assert triggered when sorting out meals in Blue's 123 Time Activies.
...
svn-id: r35715
2009-01-04 05:19:52 +00:00
Travis Howell
d0fc28bbd1
Use cache when converting 16bit colors, for faster conversions.
...
svn-id: r35714
2009-01-04 03:49:23 +00:00
Travis Howell
4670e37a78
Use slow palette color match, for 16bit color HE games for now.
...
svn-id: r35713
2009-01-04 00:58:45 +00:00
Gregory Montoir
3a4b4831dc
reorganized introduction sequence static data (to simplify code when using compressed audio files)
...
svn-id: r35710
2009-01-03 22:12:10 +00:00
Filippos Karapetis
efcfada33e
AGOS Smacker player: Wait for the *next* frame to be displayed, not the current one
...
svn-id: r35707
2009-01-03 16:24:27 +00:00
Filippos Karapetis
3ee62c226f
Typo
...
svn-id: r35705
2009-01-03 16:03:50 +00:00
Filippos Karapetis
e7cbd2e14f
Simplified the Smacker video playing code for FTA2
...
svn-id: r35704
2009-01-03 16:01:58 +00:00
Travis Howell
b820ae126a
Add missing src checks in drawWizPolygonTransform().
...
svn-id: r35703
2009-01-03 14:27:19 +00:00
Eugene Sandulenko
3ba025edd5
Considerably shortened the detection table with use of macros.
...
svn-id: r35702
2009-01-03 14:07:17 +00:00
Eugene Sandulenko
f0c6bfc392
Formatting
...
svn-id: r35701
2009-01-03 14:05:57 +00:00
Nicola Mettifogo
b2d7ae871b
Dropped the script preprocessor introduced to fix the broken scripts. The parser has evolved in the meantime and can deal with it accordingly.
...
svn-id: r35700
2009-01-03 14:03:12 +00:00
Sven Hesse
c40b7b1840
Properly using SMKPlayer::getFrameWaitTime() in MoviePlayerSMK::processFrame()
...
svn-id: r35699
2009-01-03 13:32:14 +00:00
Torbjörn Andersson
23e6fff0bf
Make it possible to quit or return to launcher while the Feeble Files list of
...
savegames is scrolling by. (Agonizingly slowly.)
svn-id: r35697
2009-01-03 13:11:42 +00:00
Sven Hesse
5de6898694
This should fix the SMK playing bug discussed in the forums
...
SMKPlayer::getFrameDelay() returns the time to wait _in 1/100 ms_.
svn-id: r35696
2009-01-03 12:32:19 +00:00
Paul Gilbert
b3a7e53794
Bugfix for #2480853 - Skorl doesn't follow Minnow into Cellar
...
svn-id: r35695
2009-01-03 11:35:00 +00:00