Commit Graph

865 Commits

Author SHA1 Message Date
Travis Howell
b2d49eaeef Add comment to getlong().
svn-id: r39252
2009-03-09 02:07:06 +00:00
Travis Howell
2abfb968a6 Replace samewrd() function, with scumm_strnicmp.
svn-id: r39248
2009-03-08 22:54:00 +00:00
Travis Howell
b2ec405011 Add loading of hard coded icon data in the AtariST version of PN.
svn-id: r39247
2009-03-08 22:51:19 +00:00
Max Horn
85f6f20419 some cleanup
svn-id: r39241
2009-03-08 18:58:09 +00:00
Travis Howell
468f9c43b7 Correct more errors in hitBox8().
svn-id: r39233
2009-03-08 14:39:04 +00:00
Filippos Karapetis
ca2c1b35b4 Variable _oneClick is a byte, so we can't compare it to boolean true/false
svn-id: r39229
2009-03-08 14:28:05 +00:00
Travis Howell
e5e9797d9c Cleanup.
svn-id: r39227
2009-03-08 14:15:59 +00:00
Travis Howell
e8a00262ed Correct error in hitBox8().
svn-id: r39223
2009-03-08 13:19:19 +00:00
Travis Howell
1937dca584 Cleanup.
svn-id: r39222
2009-03-08 13:18:07 +00:00
Travis Howell
56189fcf30 Clarify several errors messages.
svn-id: r39219
2009-03-08 10:08:09 +00:00
Travis Howell
a630759d6d Don't attempt to load save game slot in PN, if no match found.
svn-id: r39218
2009-03-08 09:53:52 +00:00
Travis Howell
6b76f72f32 Re-use save game slot, if the name matches, when saving in PN.
svn-id: r39217
2009-03-08 09:31:35 +00:00
Travis Howell
2620d6836c Add initial support for Personal Nightmare.
Thanks to dreammaster for file decompression and icon decoding code.

NOTE: setjmp/longjmp code will require conversion for portability.

svn-id: r39216
2009-03-08 08:45:21 +00:00
Max Horn
f9ecd95d69 Whitespace cleanup: Convert space followed by tab to just tab
svn-id: r39203
2009-03-07 19:24:31 +00:00
Travis Howell
32e49fe2cf Fix buffer overflow in matchSaveGame().
svn-id: r39182
2009-03-07 13:29:11 +00:00
Travis Howell
d16b4ef949 Switch pause key to Pause in AGOS engine, and drop the debug keys.
svn-id: r39153
2009-03-06 09:22:03 +00:00
Travis Howell
e75178f383 Add minor verb code differences in Elvira 1/2.
svn-id: r39136
2009-03-05 21:38:17 +00:00
Jordi Vilalta Prat
047f116515 Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
svn-id: r39132
2009-03-05 12:04:58 +00:00
Travis Howell
fdb9cd9ce2 Add DOS demo of Elvira 1.
svn-id: r39026
2009-03-01 10:09:27 +00:00
Travis Howell
b08c22b283 Fix bottom palette in AtariST version of Elvira 2.
svn-id: r39014
2009-03-01 07:14:13 +00:00
Travis Howell
3571da7a94 Correctly fix position of icons in AtariST version of Elvira 2.
svn-id: r39011
2009-03-01 06:43:46 +00:00
Max Horn
3fcbda829a Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
svn-id: r39002
2009-03-01 04:30:55 +00:00
Travis Howell
c1a712c4e8 Add German font data table for German versions of Elvira 2 and Waxworks.
svn-id: r38943
2009-02-28 00:13:14 +00:00
Travis Howell
0315465fde Elvira 1 uses slightly different font data table, shared for all languages.
svn-id: r38942
2009-02-28 00:12:21 +00:00
Travis Howell
5974452291 Fix bug #2642654 - SIMON2: Cannot load savegame, also in CD DOS?.
svn-id: r38935
2009-02-27 22:10:25 +00:00
Travis Howell
030f8b2e4a The background sounds option, only applies to Simon the Sorcerer 2.
svn-id: r38518
2009-02-19 00:08:35 +00:00
Travis Howell
08b62c7827 AtariST Elvira 1 demo specific code in restoreBackGround() is no longer required.
svn-id: r38328
2009-02-15 23:06:21 +00:00
Johannes Schickel
5417f6bacb - Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.

svn-id: r38304
2009-02-15 21:20:21 +00:00
Travis Howell
01625a01ab Fix offset error in clearVideoBackGround(), that could cause menu glitches after fighting in Elvira 1.
svn-id: r38238
2009-02-15 13:54:53 +00:00
Travis Howell
ad42ab0516 Ooops, remove excess bracket.
svn-id: r36322
2009-02-14 12:56:09 +00:00
Travis Howell
0d09d302a3 Add missing code difference in wordMatch().
svn-id: r36321
2009-02-14 12:52:14 +00:00
Travis Howell
1eb9c35255 Fix another memory leak, when exiting Waxworks.
svn-id: r36296
2009-02-13 05:50:17 +00:00
Travis Howell
a55aa87ba7 Fix memory leaks, when exiting Waxworks.
svn-id: r36294
2009-02-13 05:42:28 +00:00
Travis Howell
740ee411b0 Fix another memory leak, when exiting AGOS engine.
svn-id: r36293
2009-02-13 05:32:06 +00:00
Travis Howell
edfc00a740 Fix memory leak, when exiting AGOS engine.
svn-id: r36290
2009-02-13 05:09:46 +00:00
Travis Howell
546744fec4 Code difference no longer required (fixed by revision 35327).
svn-id: r36262
2009-02-11 12:33:37 +00:00
Travis Howell
2ada930eec Fix bug #2583230 - Waxworks: Can't drag and drop items.
svn-id: r36261
2009-02-11 12:24:38 +00:00
Filippos Karapetis
8b4c44373c Silenced MSVC warnings about uninitialized variables
svn-id: r36251
2009-02-08 21:36:43 +00:00
Travis Howell
89063a38ce Cleanup.
svn-id: r36233
2009-02-07 04:32:33 +00:00
Travis Howell
5de19ecb28 Cleanup.
svn-id: r36232
2009-02-07 03:36:36 +00:00
Travis Howell
3a4cc4b88d time.h include no longer required.
svn-id: r36229
2009-02-07 01:45:32 +00:00
Travis Howell
b2332744e4 Cleanup.
svn-id: r36228
2009-02-07 01:11:51 +00:00
Travis Howell
885922240e Fix startup of AtariST demo of Elvira 1.
svn-id: r36212
2009-02-04 05:52:14 +00:00
Max Horn
341bc64aaf do not include common/debug.h from common/util.h
svn-id: r36143
2009-01-30 05:25:17 +00:00
Max Horn
4d87acf8b4 AGOS: Added TODO about the possibility of using special debug levels
svn-id: r36137
2009-01-30 04:07:41 +00:00
Max Horn
28cf213605 Moved AdvancedDetector from common/ to engines/
svn-id: r36132
2009-01-29 22:13:01 +00:00
Max Horn
ac59693be2 A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
svn-id: r36127
2009-01-29 05:26:12 +00:00
Filippos Karapetis
a359f7c1da Silence MSVC warnings
svn-id: r36100
2009-01-27 17:08:09 +00:00
Travis Howell
f9d0d2a44a Add/Update comments.
svn-id: r36094
2009-01-27 03:26:51 +00:00
Travis Howell
f002e06fe0 Add looping support to makeVOCStream().
svn-id: r36093
2009-01-27 03:21:05 +00:00
Max Horn
8e447d1ee9 Extended makeWAVStream by a 'disposeAfterUse' param; changed makeWAVStream to directly return the AudioStream created by makeADPCMStream
svn-id: r36085
2009-01-27 00:42:43 +00:00
Max Horn
ca730e8f7e Allow quitting Simon 2 during the intro
svn-id: r36082
2009-01-27 00:38:56 +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
Travis Howell
75518d5a6e Update detection table with known file sizes.
svn-id: r36032
2009-01-24 06:06:14 +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
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
Travis Howell
6a999bdc05 Fix bug #2522556 - FEEBLE: Cutscene not found, Crash.
svn-id: r35935
2009-01-20 05:43:57 +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
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
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
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
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
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Travis Howell
9d80f21031 Add Italian Amiga AGA version of Simon the Sorcerer 1.
svn-id: r35646
2009-01-01 07:21:16 +00:00
Torbjörn Andersson
e9693874cd Added punctuation to the error dialog I added before.
svn-id: r35643
2008-12-31 21:14:09 +00:00
Torbjörn Andersson
29a4403a21 Display an error message if the cutscene cannot be found. (Afterwards, ScummVM
will trigger an assertion and die, so this is still far from ideal...)

svn-id: r35640
2008-12-31 16:06:55 +00:00
Filippos Karapetis
2a5c513647 Fixed typo
svn-id: r35611
2008-12-29 15:08:10 +00:00
Travis Howell
5ef6d928b9 Cleanup.
svn-id: r35477
2008-12-22 00:32:01 +00:00
Travis Howell
f66bd9c57b Correct the number of speech available in Simon the Sorcerer 1 & 2.
svn-id: r35474
2008-12-21 23:10:31 +00:00
Eugene Sandulenko
829cbc4110 Move all video players to separate directory
svn-id: r35470
2008-12-21 21:08:17 +00:00
Travis Howell
587e70809a Return exact frame rate in Smacker player, and minor cleanup.
svn-id: r35458
2008-12-21 05:55:37 +00:00
Travis Howell
76624fc69c Add initial Smacker support for The Feeble Files.
svn-id: r35457
2008-12-21 04:36:11 +00:00
Travis Howell
9c20a533bb Enable Smacker support, and switch later HE games to Smacker support (since they aren't supported yet).
svn-id: r35368
2008-12-14 23:41:48 +00:00
Travis Howell
81d060675c Resort game types.
svn-id: r35349
2008-12-14 01:18:55 +00:00
Travis Howell
bff3c9cf60 Cleanup.
svn-id: r35348
2008-12-14 01:13:59 +00:00
Travis Howell
c2daf686d6 Add upper case code for oe1_pcName() in Elvira 1/2.
svn-id: r35330
2008-12-13 07:38:37 +00:00
Travis Howell
3c86a24d70 Add Polish 2CD version of The Feeble Files.
svn-id: r35329
2008-12-13 07:05:18 +00:00
Travis Howell
0abcf302c6 Fix display of spell status in Elvira 2, caused by newline in oe1_pcName().
svn-id: r35328
2008-12-13 04:55:54 +00:00
Travis Howell
a1fdbb8695 Fix regression, that caused text to be cut short in Elvira 1/2.
svn-id: r35327
2008-12-13 04:52:51 +00:00
Travis Howell
1e31438c57 Ooops, didn't virtual genSaveName().
svn-id: r35324
2008-12-13 03:16:20 +00:00
Travis Howell
e593015402 Cleanup.
svn-id: r35323
2008-12-13 03:12:56 +00:00
Robin Watts
8f3b2e9b4d Remove warnings from NDS build.
svn-id: r35172
2008-11-29 18:01:16 +00:00
Johannes Schickel
5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Filippos Karapetis
f5729a4a8b - The GMM save dialog is now working for all engines which support the appropriate features
- Added a new method to the MetaEngine class, getMaximumSaveSlot(), and implemented it in all engines for which the listSavefiles() method is implemented (it goes together with the listSavefiles method). It is used to fill the unused save slots in the save/load dialogs of each engine, so that the user can create new save games in empty slots
- Unified the save/load dialog list numbering in the GMM load/save screens and in the load screen of the main menu (before a game is started)

svn-id: r34963
2008-11-09 16:13:34 +00:00
Max Horn
40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
fe2935ad4b Got rid of the unused 'filename' attribute in SaveStateDescriptor
svn-id: r34905
2008-11-05 15:41:12 +00:00
Max Horn
61aadb378d Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments
svn-id: r34896
2008-11-04 16:11:40 +00:00
Travis Howell
de8dedf3c3 Add missing break to processSpecialKeys().
svn-id: r34843
2008-10-23 00:26:45 +00:00
Max Horn
6a2f3dc0b9 Added new type Engine::Feature; pushed down some #include dependencies
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn
9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00
Max Horn
706fb37061 Modified uncompress in common/zlib.h to return a bool, so that we don't have to #include the real zlib.h; fixed PSP backend to not run uncompress inside an assert (which would cause it to not be invoked when turning off asserts)
svn-id: r34576
2008-09-16 11:42:21 +00:00
Travis Howell
1b34b58c01 Replace ioFailed by err.
svn-id: r34557
2008-09-15 12:37:24 +00:00
Filippos Karapetis
cde2ee58b1 Fix for bug #2102828 - "AGOS - compilation error, uninitialized variable"
svn-id: r34469
2008-09-10 06:59:55 +00:00
Max Horn
2bc093828f Replaced Engine::_gameDataPath (a String) by Engine::_gameDataDir (an FSNode); adapted code to that (by using getChild() to get subdirs, not string concatenation
svn-id: r34434
2008-09-07 22:10:58 +00:00
Max Horn
d3642080de Moved check for shouldRTL() from engines to scummvm_main
svn-id: r34310
2008-09-03 16:56:40 +00:00