Commit graph

68 commits

Author SHA1 Message Date
Travis Howell
bb4b2a5060 Fix input glitch regression again, by closer matching original PN code.
svn-id: r40329
2009-05-05 13:40:16 +00:00
Travis Howell
3fc6c92172 All versions of PN share the same saved game format.
svn-id: r40298
2009-05-04 09:16:00 +00:00
Travis Howell
2bd2fe43c5 Change Personal Nightmare support to optional, until setjmp/longjmp code is converted.
svn-id: r39253
2009-03-09 02:25:29 +00:00
Travis Howell
56189fcf30 Clarify several errors messages.
svn-id: r39219
2009-03-08 10:08:09 +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
Travis Howell
32e49fe2cf Fix buffer overflow in matchSaveGame().
svn-id: r39182
2009-03-07 13:29:11 +00:00
Travis Howell
5de19ecb28 Cleanup.
svn-id: r36232
2009-02-07 03:36:36 +00:00
Travis Howell
b2332744e4 Cleanup.
svn-id: r36228
2009-02-07 01:11:51 +00:00
Travis Howell
e593015402 Cleanup.
svn-id: r35323
2008-12-13 03:12:56 +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
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
Christopher Page
8d8c46e36f Cleanup: Got rid of _quit and _rtl variables in engine.h/.cpp which are not used anymore. Found some _quit flags in Agos and Gob and replaced with bool quit() where appropriate
svn-id: r33848
2008-08-13 20:45:00 +00:00
Travis Howell
fd65ea311a Hopefully allow quiting at any stage AGOS engines games again.
svn-id: r33693
2008-08-08 02:18:17 +00:00
Max Horn
0be985ce83 Changed class File (and derived classes) to only support read-only access; added a new class DumpFile for writing
svn-id: r33412
2008-07-29 16:09:10 +00:00
Travis Howell
4f445e3deb Fix buffer overflow in error message.
svn-id: r33321
2008-07-27 01:54:40 +00:00
Travis Howell
6e804cee42 Always correct time events duration, when saving games.
svn-id: r31557
2008-04-18 01:59:54 +00:00
Travis Howell
af4b21a112 Correct time events duration, when saving in Elvira 1.
svn-id: r31516
2008-04-16 14:08:01 +00:00
Travis Howell
63b1de5628 Add support for room states in Waxworks (DOS).
svn-id: r31218
2008-03-22 09:46:25 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Max Horn
f44a196087 Moved all time() calls in AGOS to a single new method AGOSEngine::getTime(); also replaced an evil function-static variable by a member variable (lastMinute)
svn-id: r29908
2007-12-20 09:43:46 +00:00
Travis Howell
3edb401897 Remove old warnings, since errors are displayed via load/save interface.
svn-id: r29815
2007-12-10 09:47:03 +00:00
Torbjörn Andersson
f7fd695e79 Fixed unterminated string in countSaveGames(), which may be the cause of the
problem with Feeble Files savegames not being shown that was described on the
forum recently.

svn-id: r29580
2007-11-20 18:46:01 +00:00
Travis Howell
70c4f25aef Fix loading restart state file in Amiga version of Waxworks.
svn-id: r29543
2007-11-18 04:02:11 +00:00
Travis Howell
7bc422a8e9 Use unique save game naming for PC versions of Elvira 2 and Waxworks, due to the save game format differences.
svn-id: r29539
2007-11-17 12:48:28 +00:00
Travis Howell
f10f40aff0 Fix bug #1759850 - ELVIRA2: Restart state file causes crash. The itemStore data needed to be adjusting, when loading or saving in the AtariST and Amiga versions.
svn-id: r29534
2007-11-17 10:27:31 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
David Corrales
6856535010 Merged fsnode with trunk: r27971:28460
svn-id: r28462
2007-08-05 19:34:20 +00:00
Travis Howell
488d9f3b43 Add save code differences in Amiga verison of Waxworks.
svn-id: r28261
2007-07-28 09:16:44 +00:00
Travis Howell
d6fd87fd6a Add save code differences in Amiga verison of Waxworks.
svn-id: r28260
2007-07-28 09:14:05 +00:00
Travis Howell
00cc7958ff Fix loading restart state file in Amiga version of Waxworks.
svn-id: r28234
2007-07-27 11:54:50 +00:00
David Corrales
720c974faf Changed SaveFileManager::listSavegames() function to be engine agnostic. It now returns a list will the full paths of existing files that match a given regex.
Additionally, modified the 5 engines which use the default manager (Agos, Queen, Saga, Scumm and Touche) to parse the filename list and mark the available saves bool array correctly.

svn-id: r28046
2007-07-12 17:58:15 +00:00
Travis Howell
7e83dfd275 Fix bug ##1746094 - Elvira 2: Strange behavior a - counter of P.P.
svn-id: r27839
2007-07-01 23:42:34 +00:00
Max Horn
f445d8c800 Changed AGOS to use full KeyState, not just ascii value, in key events
svn-id: r27800
2007-06-30 22:21:29 +00:00
Max Horn
206d167457 AGOS: Introduced ChildType enum
svn-id: r27792
2007-06-30 16:25:59 +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
037e545dc1 Fix gltich when listing saved games in Hebrew versions.
svn-id: r27229
2007-06-09 07:48:27 +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
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
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
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
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
7d8619350f Fix loading restart state in Waxworks for now.
svn-id: r26966
2007-05-27 11:32:19 +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
Torbjörn Andersson
b17e8f569f Silenced a rather paranoid GCC warning.
svn-id: r26924
2007-05-22 16:11:30 +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
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