Commit Graph

689 Commits

Author SHA1 Message Date
Travis Howell
860f13e4e4 Fix restoring screen, after spell wall effects in Elvira 1/2.
svn-id: r27359
2007-06-11 13:26:32 +00:00
Travis Howell
c9f1dea6b0 Restrict workaround, to prevent regression when inverting conversation responses in scrolling locations.
svn-id: r27340
2007-06-11 06:19:33 +00:00
Travis Howell
79c30552ca Don't call getNextItemPtr(), when the result is simply ignored.
svn-id: r27305
2007-06-10 11:08:12 +00:00
Travis Howell
82cf767d97 An OmniTV cutscene pack, with be provided for Amiga and Macintosh versions of The Feeble Files.
svn-id: r27300
2007-06-10 09:07:23 +00:00
Torbjörn Andersson
08379fb74b Fixed the opcode number for opp_iconifyWindow(). Regression from cleanup?
svn-id: r27295
2007-06-10 08:48:17 +00:00
Travis Howell
0a11c241d5 Fix muting music on startup in games, when using non-MIDI music.
svn-id: r27284
2007-06-10 06:08:59 +00:00
Travis Howell
3cd6c3c275 Fix toggling music on/off in games, when using non-MIDI music.
svn-id: r27282
2007-06-10 05:43:56 +00:00
Travis Howell
60a8c969f7 Restore DIMP specific timer code.
svn-id: r27277
2007-06-10 04:36:44 +00:00
Travis Howell
2d2bda501e Fix timer code in Puzzle Pack, to match original speed.
svn-id: r27275
2007-06-10 04:14:53 +00:00
Travis Howell
55addca7ff Fix load/save regression in Puzzle Pack.
svn-id: r27272
2007-06-10 02:23:13 +00:00
Travis Howell
741aed5047 Fix crash via assert, when string for subtitles exists, but is only set to zero.
svn-id: r27270
2007-06-10 01:16:29 +00:00
Travis Howell
574f687c85 Fix adjusting music volume in Puzzle Pack games.
svn-id: r27269
2007-06-10 01:08:15 +00:00
Travis Howell
8dc7accf2d Fix single sound effect, failing to play multiple times regression, caused by changes for PP in the past.
svn-id: r27267
2007-06-10 01:05:55 +00:00
Travis Howell
80bf4126a1 Fix position of name text in Hebrew versions.
svn-id: r27234
2007-06-09 08:58:18 +00:00
Travis Howell
037e545dc1 Fix gltich when listing saved games in Hebrew versions.
svn-id: r27229
2007-06-09 07:48:27 +00:00
Travis Howell
48601a4e70 Clarify purpose of the endRepeat opcude, used by video script.
svn-id: r27228
2007-06-09 06:17:04 +00:00
Travis Howell
14aa27c477 Add dirtyClips code for Simon the Sorcerer 1/2.
svn-id: r27227
2007-06-09 05:30:20 +00:00
Travis Howell
95fe36a828 Don't save game, when no saved game name is given in earlier games.
svn-id: r27195
2007-06-08 08:40:23 +00:00
Travis Howell
fff80bc489 Fix load/save interface in Elvira 1.
svn-id: r27191
2007-06-08 07:50:28 +00:00
Travis Howell
c03fe8e8cf Fix window scrolling in earlier games.
svn-id: r27183
2007-06-08 02:18:22 +00:00
Travis Howell
56a7a29c42 Fix inventory arrows still been shown in Elvira 1, when inventory is removed.
svn-id: r27181
2007-06-08 01:47:29 +00:00
Travis Howell
bb476586b7 Fix inventory arrows in Elvira 1.
svn-id: r27170
2007-06-07 15:42:59 +00:00
Travis Howell
3f819b9085 Add details for French and German Amiga versions of Elvira 1. Remove restart state from Elvira 1 detection, due to two byte difference in the restart state on each disk of Amiga versions.
svn-id: r27164
2007-06-07 09:37:22 +00:00
Travis Howell
6db23fa056 Fix invalid writes in the Amiga demo of Elvira 1, caused by video window 20 using larger height.
svn-id: r27162
2007-06-07 04:08:55 +00:00
Travis Howell
a18357580b Fix memory leaks on when quiting game.
svn-id: r27160
2007-06-07 02:51:09 +00:00
Travis Howell
f0acfc0a28 Limit MIDI driver, to games using MIDI music only.
svn-id: r27158
2007-06-07 02:43:03 +00:00
Travis Howell
8bcf073444 Fix non-MIDI music still playing, when the game is paused.
svn-id: r27156
2007-06-07 01:54:35 +00:00
Travis Howell
bcd4dfb86a Fix incorrect position of characters in Elvira 2, caused by column offset difference in clearWindow.
svn-id: r27154
2007-06-07 00:54:17 +00:00
Travis Howell
cd73da05cc Add case for font data in Italian versions of earlier games too.
svn-id: r27152
2007-06-07 00:24:23 +00:00
Travis Howell
06aa0fb25e Fix pausing sound effects in earlier games.
svn-id: r27150
2007-06-06 23:48:07 +00:00
Travis Howell
2fd518ff73 Add Italian Amiga version of Elvira 2.
svn-id: r27148
2007-06-06 23:39:18 +00:00
Travis Howell
0eb630d989 Fix glitches when highlighting saved game names in Elvira 2 and Waxworks, caused by incorrect position of characters.
svn-id: r27146
2007-06-06 23:33:31 +00:00
Travis Howell
44d98de023 Fix glitches when highlighting words in Elvira 2, the characters were drawn at the incorrect location, due to difference in column offset used for new lines.
svn-id: r27138
2007-06-06 13:59:04 +00:00
Travis Howell
5e62538708 Fix the Unholy Barrier spell effect in Elvira 2.
svn-id: r27130
2007-06-06 10:41:27 +00:00
Travis Howell
0a7c2b66b3 Fix crash, when the hitarea array overflows in the Amiga demo of Elvira 1.
svn-id: r27128
2007-06-06 05:54:03 +00:00
Travis Howell
f11c51f487 Fix background of pause options in Amiga and AtariST of Elvira 1.
svn-id: r27106
2007-06-05 12:32:43 +00:00
Travis Howell
ce903d557a Add option to dump all subrountines in a game, to help with bug reports.
svn-id: r27104
2007-06-05 11:46:39 +00:00
Travis Howell
56cde56d4b Fix input issues in earlier games, and split handleMouseMoved() due to difference in earlier games.
svn-id: r27103
2007-06-05 11:38:26 +00:00
Travis Howell
3547c13e49 Updates, to keep Amiga demo of Elvira 1 working.
svn-id: r27102
2007-06-05 09:14:59 +00:00
Travis Howell
de82682071 Update sound ranges in debugger, for earlier games.
svn-id: r27101
2007-06-05 09:13:42 +00:00
Travis Howell
06d9b8ea39 Fix palette glitches on printScroll background, during many scenes in Eivira 1.
svn-id: r27100
2007-06-05 08:48:30 +00:00
Travis Howell
1304f53af1 Add workaround for the scrolling glitch in The Feeble Files, the occurs when the repair man comes to fix the car.
svn-id: r27099
2007-06-05 06:43:53 +00:00
Travis Howell
83797aa33a Trigger palette update, when setting the mouse palette in Elvira 2 and Waxworks.
svn-id: r27098
2007-06-05 06:05:28 +00:00
Travis Howell
27083f8fb4 Fix loading and saving game through the options screen in Amiga CD32 version of Simon the Sorcerer 1.
svn-id: r27097
2007-06-05 06:04:07 +00:00
Travis Howell
b23eb038ea Fix regression when listing saved game names, in Simon the Sorcerer 1/2.
svn-id: r27096
2007-06-05 00:46:58 +00:00
Travis Howell
8e927dd4c7 Hopefully more reliable display of inventory arrows.
svn-id: r27095
2007-06-05 00:36:33 +00:00
Filippos Karapetis
ae264533f3 Fix compilation of AGOS
svn-id: r27081
2007-06-04 17:52:23 +00:00
Travis Howell
64413f9cc8 Only call MIDI code, in games which use MIDI based music.
svn-id: r27080
2007-06-04 14:25:02 +00:00
Travis Howell
6dd52b592e Fix inventory arrows in Amiga OCS version of Simon the Sorcerer 1.
svn-id: r27079
2007-06-04 08:56:00 +00:00
Travis Howell
78c9061cff Fix invalid writes in Elvira 1, the original game would overwrite into _window6BackScn.
svn-id: r27078
2007-06-04 07:04:42 +00:00
Travis Howell
c3a346fb16 Virtualise a few sound functions.
svn-id: r27077
2007-06-04 05:18:11 +00:00
Travis Howell
6f3d87314e Change printChar variables to signed, to allow removal of work around for The Feeble Files.
svn-id: r27076
2007-06-04 05:05:02 +00:00
Travis Howell
43511e8ed2 Change printChar variables to signed, to allow removal of work around for The Feeble Files.
svn-id: r27075
2007-06-04 05:02:22 +00:00
Travis Howell
48b8ee4d4f Fix sign issue, which caused invalid writes, when entering saved game name in Elvira 2 and Waxworks.
svn-id: r27074
2007-06-04 04:41:46 +00:00
Max Horn
4481238faa Fixed serious memory leak in AGOS engine (sound looping code was leaking)
svn-id: r27065
2007-06-03 15:55:07 +00:00
Torbjörn Andersson
475abaf9dc Actually drop the DXA frame (i.e. don't update the screen) when we say we do.
svn-id: r27053
2007-06-02 15:20:43 +00:00
Travis Howell
89abea6b51 Fix display of conversation responses in Waxworks.
svn-id: r27052
2007-06-02 13:35:24 +00:00
Travis Howell
a7fb55c028 Fix inventory icons display in Amiga version of Waxworks.
svn-id: r27045
2007-06-02 05:27:34 +00:00
Travis Howell
c983e879e1 Fix regressions, caused by VGATimerEntry type changes.
svn-id: r27044
2007-06-01 23:12:22 +00:00
David Corrales
0cab5b7791 Merged the fs branch with trunk. r26949:27031
svn-id: r27032
2007-05-31 23:44:43 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
0de170c980 Removing useless common/fs.h includes
svn-id: r27018
2007-05-30 17:44:52 +00:00
Travis Howell
c87cf11c76 Add missing mouse cursor in Elvira 2.
svn-id: r27002
2007-05-28 23:14:50 +00:00
Travis Howell
97afe587d2 Use zone number to detect interface height differences in the AtariST verison of Elvira 2.
svn-id: r26998
2007-05-28 14:10:19 +00:00
Travis Howell
d877a0a8d1 Fix glitches in AtariST demo of Elvira 1.
svn-id: r26997
2007-05-28 13:01:08 +00:00
Travis Howell
0c27b66807 Fix loading restart state in Amiga and AtariST versions of Elvira 2.
svn-id: r26996
2007-05-28 12:42:10 +00:00
Travis Howell
9d041cc059 Add sound effects code for Amiga and AtariST versions of Elvira 2.
svn-id: r26989
2007-05-28 11:22:53 +00:00
Travis Howell
0d789e074e Fix glitches caused by interface differences in the AtariST verison of Elvira 2.
svn-id: r26988
2007-05-28 08:54:13 +00:00
Travis Howell
45e8fbe8f5 Rename script opcode in Elvira 2.
svn-id: r26986
2007-05-28 01:11:43 +00:00
Travis Howell
56123c3edb Correct the lockWord check in pokePalette video opcode.
svn-id: r26984
2007-05-28 00:10:21 +00:00
Travis Howell
e2af13a7f6 Adjust code for paranoid compilers.
svn-id: r26971
2007-05-27 11:54:01 +00:00
Travis Howell
5f84a9ce71 Add minor code differences in Elvira 2 and Waxworks.
svn-id: r26969
2007-05-27 11:46:42 +00:00
Travis Howell
7d8619350f Fix loading restart state in Waxworks for now.
svn-id: r26966
2007-05-27 11:32:19 +00:00
Paweł Kołodziejski
78953e1818 fixed warning and add assert for potential uninitialised src
svn-id: r26964
2007-05-27 10:53:09 +00:00
Travis Howell
4f76f95942 The 'i' and 'l' charactors only have a shorter width in Simon the Sorcerer 1/2.
svn-id: r26958
2007-05-27 05:21:50 +00:00
Travis Howell
6ce23ced48 Correct cursor used when entering saved game name in Elvira 2 and Waxworks.
svn-id: r26957
2007-05-27 05:18:30 +00:00
Travis Howell
f33ea9c7f9 Add extra mouse cursors used by Elvira 2.
svn-id: r26956
2007-05-27 05:17:39 +00:00
Travis Howell
ac1265a010 Add font table for Elvira 1/2 and Waxworks.
svn-id: r26954
2007-05-27 03:18:18 +00:00
Travis Howell
6511a32905 Correct error in printStats opcode for Elvira 2.
svn-id: r26953
2007-05-27 03:01:20 +00:00
David Corrales
3646c968c9 Merged the fs branch with trunk. r26472:26948
svn-id: r26949
2007-05-26 20:23:24 +00:00
Travis Howell
d6e0fe13b5 Add code for opcodes 177/178 in Elvira 2.
svn-id: r26937
2007-05-26 13:23:06 +00:00
Torbjörn Andersson
b17e8f569f Silenced a rather paranoid GCC warning.
svn-id: r26924
2007-05-22 16:11:30 +00:00
Travis Howell
82d6145be5 Minor cleanup.
svn-id: r26913
2007-05-22 13:11:06 +00:00
Travis Howell
766d889b69 Move code to correct position.
svn-id: r26912
2007-05-22 11:31:31 +00:00
Travis Howell
ca0a75a9d0 Add support for the saved game overwrite check script in Waxworks.
svn-id: r26911
2007-05-22 11:22:59 +00:00
Travis Howell
49336a857e Mouse glitch no longer seems to occur in Elvira 1.
svn-id: r26910
2007-05-22 10:51:24 +00:00
Travis Howell
5e1af6f479 Add load/save interface support for Elvira 2 and Waxworks.
svn-id: r26909
2007-05-22 10:31:51 +00:00
Travis Howell
11f2d4052a Update quick load code for Elvira 1/2 and Waxworks, based on original scripts.
svn-id: r26884
2007-05-20 08:30:43 +00:00
Travis Howell
c80aa94091 Add dissolve code for Elvira 2 and Waxworks.
svn-id: r26881
2007-05-20 04:47:12 +00:00
Travis Howell
6302acf523 Completely revert last changes in icon code.
svn-id: r26859
2007-05-17 09:02:01 +00:00
Travis Howell
d4191508f6 Cleanup.
svn-id: r26858
2007-05-17 09:00:14 +00:00
Travis Howell
565d0d0a7d Add code to slowing kill the demon in DIMP.
svn-id: r26857
2007-05-17 07:23:56 +00:00
Travis Howell
b3c582e4c7 Ooops, commit too much.
svn-id: r26854
2007-05-16 13:00:38 +00:00
Travis Howell
bf3b58e7cf Add code for handling special walls in Elvira 1/2.
svn-id: r26853
2007-05-16 12:58:47 +00:00
Travis Howell
2783526b71 Fix inventory icons in Amiga/AtariST versions of Elvira 1.
svn-id: r26852
2007-05-16 10:03:02 +00:00
Travis Howell
22e3afc409 Ooops, correct inheritance of load/save functions.
svn-id: r26851
2007-05-16 09:39:36 +00:00
Travis Howell
27b56c23f6 Add caption to saved games for Elvira 1/2 and Waxworks.
svn-id: r26850
2007-05-16 08:27:15 +00:00
Travis Howell
a91f7e025c Fix regression in Simon the Sorcerer 1/2, that caused various glitches.
svn-id: r26849
2007-05-16 06:36:43 +00:00
Travis Howell
bdb18c60d8 Add idle code for DIMP.
svn-id: r26848
2007-05-16 05:57:26 +00:00
Travis Howell
73749ddafa Minor cleanup.
svn-id: r26845
2007-05-15 13:01:36 +00:00
Travis Howell
dc9d36ea4a Fix fade regressions.
svn-id: r26844
2007-05-15 11:32:11 +00:00
Travis Howell
ee0cb9ee2d Ooops, the y offset in drawBackGround() should be based on state width too.
svn-id: r26843
2007-05-15 07:14:12 +00:00
Travis Howell
2371b4ec03 Fix regressions in the introduction of Simon the Sorcerer 1 and in the DOS Floppy demo of Simon the Sorcerer 1.
svn-id: r26842
2007-05-15 07:08:24 +00:00
Travis Howell
2e53712d31 Correct error in drawImages(), where _window3Flag should have been used.
svn-id: r26839
2007-05-14 00:00:36 +00:00
Travis Howell
a8c6dc6e7d Cleanup.
svn-id: r26833
2007-05-13 13:19:46 +00:00
Travis Howell
b1a95b502d Fix reported compiler warning.
svn-id: r26828
2007-05-13 11:07:00 +00:00
Travis Howell
9a04d1dffb Rename a few variables.
svn-id: r26827
2007-05-13 10:07:55 +00:00
Travis Howell
da283175c4 Correct delay for animateSprite event in Simon the Sorcerer 2.
svn-id: r26826
2007-05-13 09:55:15 +00:00
Travis Howell
b6672f37a9 Fix bugs #941074 and #828860, by switching to graphics renderer code used by earlier (non-Windows) versions of Simon the Sorcerer 1/2.
svn-id: r26825
2007-05-13 08:46:48 +00:00
Travis Howell
aa89759a55 Trigger palette update in colorWindow() for Elvira 2.
svn-id: r26824
2007-05-13 05:58:18 +00:00
Travis Howell
1ef7c3dbad Fix bug in original Simon the Sorcerer 2, the x position in invertBox() needs to be adjusted for scrolling locations.
svn-id: r26823
2007-05-13 04:11:19 +00:00
Gregory Montoir
1eef4cc779 free decrunch buffer once protracker module is loaded
svn-id: r26822
2007-05-13 02:32:38 +00:00
Travis Howell
6452a701be Fix glitches in pause options of Elvira 1.
svn-id: r26796
2007-05-10 00:43:27 +00:00
Filippos Karapetis
24fa689ee0 Fix compilation with MSVC8
svn-id: r26793
2007-05-09 15:48:18 +00:00
Travis Howell
20bf83a2ce Imrproved support for Elvira 1/2 and Waxworks.
svn-id: r26792
2007-05-09 15:36:05 +00:00
Travis Howell
5c3f6721b8 Fix masking issues in Amiga versions of Simon the Sorcerer 1.
svn-id: r26787
2007-05-08 14:48:46 +00:00
Filippos Karapetis
f21a7648aa Fix compilation with MSVC8
svn-id: r26784
2007-05-08 07:16:58 +00:00
Travis Howell
ce70442c2e Add palette difference when drawing images in Elvira 1.
svn-id: r26783
2007-05-08 05:39:50 +00:00
Travis Howell
3a4c4fa181 Don't attempt to decode unknown icon data formats.
svn-id: r26781
2007-05-07 13:40:29 +00:00
Travis Howell
d5504f0b66 The Palette difference in inventory arrows, applies to AGA version of Simon the Sorcerer 1 too.
svn-id: r26780
2007-05-07 13:09:10 +00:00
Travis Howell
9547535bd2 Fixes for conversation response in Waxworks.
svn-id: r26779
2007-05-07 13:03:02 +00:00
Travis Howell
e2c40aaee6 Fix inventory palette glitches in Elvira 2.
svn-id: r26775
2007-05-07 08:47:40 +00:00
Travis Howell
425bd5c136 Fix bug #1714096 - DIMP: Unable to start (regression).
svn-id: r26774
2007-05-07 08:29:29 +00:00
Travis Howell
8c21d430bb Fix inventory movement in Elvira 1/2 and Waxworks.
svn-id: r26773
2007-05-07 06:30:51 +00:00
Travis Howell
3ad8770f96 Set exact variable sizes for VC10 state, to avoid more regressions.
svn-id: r26770
2007-05-07 03:40:37 +00:00
Travis Howell
1a69604e82 Cleanup.
svn-id: r26769
2007-05-07 01:11:10 +00:00
Travis Howell
6ddc79a9a8 Cleanup.
svn-id: r26759
2007-05-06 09:46:43 +00:00
Travis Howell
0da4791128 Fix regression due to sign issue, which could cause crashes.
svn-id: r26758
2007-05-06 09:35:08 +00:00
Travis Howell
76c98a03af Fix regression that caused input to fail, after load or save error occurs.
svn-id: r26756
2007-05-06 09:31:32 +00:00
Travis Howell
da2d6b64af Add code difference for inventory arrows in Amiga versions of Simon the Sorcerer 1.
svn-id: r26641
2007-04-28 07:00:33 +00:00
Max Horn
5bf7b78aa2 Renamed agosgame.cpp -> detection_tables.h
svn-id: r26634
2007-04-27 22:42:02 +00:00
Max Horn
fbc2f89b08 Renamed some game.cpp files to detection.cpp
svn-id: r26623
2007-04-27 20:26:54 +00:00
Max Horn
d4660cce55 Removing more semicola
svn-id: r26597
2007-04-26 19:08:53 +00:00
Travis Howell
913a00ef93 Update details for Russian translation of Simon the Sorcerer 1.
svn-id: r26543
2007-04-18 09:42:13 +00:00
Travis Howell
69828cf56c Fix mouse regression in Swampy Adventures.
svn-id: r26503
2007-04-15 14:43:23 +00:00
Travis Howell
5668e15b2e Update reporting of invalid script opcodes.
svn-id: r26501
2007-04-15 14:32:58 +00:00
Travis Howell
7fad7c6f3f Fix Elvira 1 regression.
svn-id: r26500
2007-04-15 14:23:23 +00:00
Travis Howell
b932d60251 Cleanup.
svn-id: r26497
2007-04-15 14:12:08 +00:00
Travis Howell
48c21a1e31 Add eriktorbjorn's patch to split script opcodes into specific game engines.
svn-id: r26490
2007-04-15 12:04:47 +00:00
Travis Howell
95661d65af Cleanup.
svn-id: r26482
2007-04-15 05:33:21 +00:00
Travis Howell
2d3e77db85 Split game engines, to allow further cleanups.
svn-id: r26481
2007-04-15 05:04:48 +00:00
Travis Howell
1c00843f2b Cleanup.
svn-id: r26480
2007-04-15 00:55:16 +00:00
Travis Howell
aa0f36358b Cleanup.
svn-id: r26479
2007-04-15 00:21:42 +00:00
Travis Howell
fe6b6323fa Cleanup.
svn-id: r26478
2007-04-15 00:12:09 +00:00
Max Horn
2d2b3d0ed2 Renamed AGOSEngine::midi to AGOSEngine::_midi
svn-id: r26468
2007-04-14 12:03:46 +00:00
Travis Howell
f587f40c22 Correct details for Simon the Sorcerer 2 (DOS Floppy) with Russian patch.
svn-id: r26449
2007-04-10 05:17:54 +00:00
Travis Howell
0a766e5786 Remove two invalid entries for Simon the Sorcerer 2, since they use md5 checksums of the complete files (based on ICON.DAT).
svn-id: r26448
2007-04-10 05:16:01 +00:00
Gregory Montoir
5aca9dce8c added the instance of EventManager returned by OSystem::getEventManager as a member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it.
svn-id: r26357
2007-04-01 17:36:13 +00:00
Travis Howell
a8f9e399b8 Add Spanish version of Waxworks (DOS).
svn-id: r26273
2007-03-22 00:53:39 +00:00
Travis Howell
3e85ecbe5f Remove duplicate code, for clipping of mouse position.
svn-id: r26238
2007-03-19 00:24:58 +00:00
Max Horn
dd61b25634 More AGOSEngine::waitForInput refactoring
svn-id: r26218
2007-03-18 17:55:11 +00:00
Max Horn
8bf7953839 Refactoring AGOSEngine::waitForInput some more (in baby steps, so that if I break something, it'll be easier to figure out at which point I did it :)
svn-id: r26210
2007-03-18 14:33:13 +00:00
Max Horn
612e7a3eeb Refactoring AGOSEngine::waitForInput a bit (by resolving gotos)
svn-id: r26207
2007-03-18 13:53:51 +00:00
Max Horn
72ee9ee86a Changed AGOS to use the EventManager to track the mouse position; added a FIXME comment about _mouseOld never being set
svn-id: r26206
2007-03-18 13:29:12 +00:00
Max Horn
ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +00:00
Torbjörn Andersson
53624376b4 Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), with
Fingolfin's blessings. Keyboard repeat is now handled by the event manager,
rather than by individual engines.

Since this can cause problems with some engines (see the AGI engine), the extra
"key down" events are marked as "synthetic", so that they can be ignored if
necessary.

svn-id: r26170
2007-03-17 15:44:26 +00:00
Max Horn
15d9bc42ea Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
svn-id: r26156
2007-03-17 00:53:21 +00:00
Travis Howell
247117d9ba Update error messages in loadModule().
svn-id: r26131
2007-03-14 12:34:40 +00:00
Max Horn
728d01cb17 Removing some unnecessary #includes
svn-id: r26044
2007-03-09 23:46:45 +00:00
Travis Howell
7380142071 Change the volume of music channel of mixer, when adjusting music volume too.
svn-id: r25894
2007-02-27 11:47:28 +00:00
Travis Howell
08fc65bef9 Add demo of Waxworks.
svn-id: r25876
2007-02-26 07:13:54 +00:00
Max Horn
b3931a847d Trying to unify the order in which we try the various audio formats: Prefer FLAC (lossless) over Ogg Vorbis ('free') over MP3 -- the order is admittedly somewhat arbitrary, but at least now it's consistent across all parts of ScummVM
svn-id: r25837
2007-02-24 23:40:28 +00:00
Travis Howell
b0805551e7 Update md5 details for Spanish version of Elvira 2.
svn-id: r25818
2007-02-24 12:38:18 +00:00
Travis Howell
b8bbe1b5fe Update copy protection bypass for Simon 1/2.
svn-id: r25809
2007-02-23 11:12:12 +00:00
Travis Howell
74f21c1c4f Correct typo.
svn-id: r25808
2007-02-23 10:19:53 +00:00
Travis Howell
47280b3301 Fix bug #1600999 - SIMON2: Crash while talking to Bingo Bongo. A regression due to the work around for extra long strings been broken, when support for the Feeble Files was added in the past.
svn-id: r25807
2007-02-23 10:18:14 +00:00
Travis Howell
87ef1fe0a2 Skip music track 35 in CD releases of Simon 1, since it was replace by sound effect and the script was not updated.
svn-id: r25762
2007-02-21 12:34:14 +00:00
Travis Howell
76ac2263f9 Remove Amiga OCS specific code for copy protection screen in Simon 1, since it no longer required.
svn-id: r25761
2007-02-21 12:33:34 +00:00
Travis Howell
29ada82134 Bypass the copy protection screens in floppy disk releases of Simon the Sorcerer 1 and 2, with permission from Adventure Soft.
svn-id: r25760
2007-02-21 11:46:35 +00:00
Travis Howell
b5b45131c2 White space changes.
svn-id: r25759
2007-02-21 10:43:11 +00:00
Travis Howell
7f31211e4f Update details for English version of Elvira 2 for Atari ST.
svn-id: r25736
2007-02-20 03:06:42 +00:00
Travis Howell
2673ddffc0 Add French version of Elvira 2 for Amiga.
svn-id: r25735
2007-02-20 01:22:41 +00:00
Travis Howell
55162ff920 Correct playing back music 0 in Simon the Sorcerer 1, when using replacment soundtrack.
svn-id: r25734
2007-02-19 23:51:32 +00:00
Torbjörn Andersson
301fe91903 Renamed ANIMATION_H to AGOS_ANIMATION_H.
svn-id: r25730
2007-02-19 20:55:16 +00:00
Max Horn
d0f6b3c0dc Using stat and fopen is not portable (writing to a Common::File isn't either, but at least it doesn't force porters to #define fopen to work around it)
svn-id: r25661
2007-02-17 20:37:57 +00:00
Max Horn
b8aeefaffb Added finalize() method to Common::OutSaveFile (which by default just flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing)
svn-id: r25660
2007-02-17 18:55:51 +00:00
Torbjörn Andersson
7949a067e1 Removed extra tabs.
svn-id: r25640
2007-02-17 00:54:32 +00:00
Torbjörn Andersson
16e7a12878 Some very obvious cleanups.
svn-id: r25635
2007-02-16 17:13:29 +00:00
Max Horn
d849f4762c a 20ms second delay should be ample time for a GM system ON
svn-id: r25633
2007-02-16 16:34:02 +00:00
Travis Howell
e3594a6839 Add support for using soundtrack from the Simon the Sorcerer 1 - Music Enhancement Project.
svn-id: r25632
2007-02-16 13:55:01 +00:00
Max Horn
cfc3d0a8ed AGOS: Send GM System Enable/On upon startup
svn-id: r25631
2007-02-16 13:41:38 +00:00
Travis Howell
8f0a3e8961 Fix cursor palette regression in Simon the Sorcerer 1.
svn-id: r25625
2007-02-16 10:36:33 +00:00
Travis Howell
3aaf15938d Fix cursor palette regression in Simon the Sorcerer 1.
svn-id: r25624
2007-02-16 10:33:37 +00:00
Torbjörn Andersson
f4b4a30327 Removed unnecessary #include.
svn-id: r25587
2007-02-14 17:05:58 +00:00
Travis Howell
ddef4db34e Fix missing scenes (accolade logo) in AtariST demo of Elvira 1.
svn-id: r25583
2007-02-14 04:15:37 +00:00
Max Horn
7572d2b4f2 Changed detectBestMatchingGame to return a pointer to a ADGameDescription (or a subclass of it); added a (currently fake) fallback callback entry in ADParams
svn-id: r25574
2007-02-13 23:37:44 +00:00
Torbjörn Andersson
c2972f09c2 Whitespace changes.
svn-id: r25567
2007-02-13 21:41:43 +00:00
Eugene Sandulenko
8405eca0ea Fix warnings
svn-id: r25554
2007-02-13 19:51:27 +00:00
Max Horn
4968e912ce AdvancedDetector changes:
* Renamed genGameList to gameIDList to make it match the corresponding
  plugin API function name
* removed the detectFunc param from detectGameForEngineCreation,
  as it *always* pointed to a straight wrapper around AdvancedDetector::detectAllGames
* as a consequence, removed the various GAME_detectGames functions from the
  engines, and removed the detectFunc param from ADVANCED_DETECTOR_DEFINE_PLUGIN

svn-id: r25547
2007-02-13 14:55:11 +00:00
Eugene Sandulenko
da7d8c9f35 Rename Common::GF_XXX to Common::ADGF_XXX
svn-id: r25545
2007-02-13 13:42:28 +00:00
Max Horn
2afe07992f Renamed kADFlagComplexID to kADFlagAugmentPreferredTarget, document it, and add it for AGOS, too
svn-id: r25543
2007-02-13 13:17:46 +00:00
Travis Howell
0d418ee6ba Add Spanish version of Swampy Adventures.
svn-id: r25540
2007-02-13 12:14:27 +00:00
Max Horn
55adc889e7 (re)added flags field to ADGameDescription, with currently only one value (GF_DEMO) -- this flag value is not yet used by anything (also, GF_DEMO hasn't been correctly set for AGI games yet)
svn-id: r25539
2007-02-13 01:28:18 +00:00
Travis Howell
6654a91ae2 Change asserts to warnings to now, due to code differences in Amiga versions of Simon the Sorcerer.
svn-id: r25522
2007-02-12 13:29:41 +00:00
Travis Howell
e0b9ccf2f0 Fix subtitles glitches in Amiga OCS version of Simon the Sorcerer 1, by using AGA on screen font for now.
svn-id: r25518
2007-02-12 11:30:18 +00:00
Travis Howell
b2f9c5ab8e Add palette code difference for Amiga OCS version of Simon the Sorcerer 1.
svn-id: r25517
2007-02-12 11:27:11 +00:00
Kostas Nakos
c1a735dee5 re-added missing wince #include; got deleted suring the simon -> agos transition
svn-id: r25515
2007-02-12 09:05:52 +00:00
Kostas Nakos
775bed1069 apply modified patch #1657436 (alignment issues)
svn-id: r25514
2007-02-12 09:04:34 +00:00
Travis Howell
affcd0f808 Update work around for script bug in Amiga AGA/CD32 verisons of Simon the Sorcerer 1.
svn-id: r25513
2007-02-12 07:03:41 +00:00
Travis Howell
0a8a92fd5c Fix icons regression in Amiga OCS version of Simon the Sorcerer 1.
svn-id: r25512
2007-02-12 06:17:13 +00:00