70 Commits

Author SHA1 Message Date
Johannes Schickel
827cdbd22e AGOS: Make ArchiveMan a proper sub-type of SearchSet.
Now all of the Archive API is implemented to avoid possibly inconsistent
behavior when an ArchiveMan object is accessed via a class type higher in the
class hierachy.
2012-01-27 20:35:34 +01:00
Johannes Schickel
a231f9d5dd AGOS: Rename ArchiveMan's open to createReadStreamForMember to match our Archive API. 2012-01-27 20:30:02 +01:00
Johannes Schickel
a7cc5bd301 AGOS: Properly overwrite hasFile from SearchSet in ArchiveMan.
Formerly the hasFile method was non-const, thus did not overwrite the virtual
hasFile method of SearchSet. Since all accesses to this function have been
done through a ArchiveMan typed variable, the missing overwrite should not
have caused any trouble.

It looks like this was forgotten in a6ec4f70da120a1ce406ed4dd9e149e081542f59.
2012-01-27 20:10:31 +01:00
D G Turner
783e3fea62 AGOS: Fix engine crash when playing Feeble Files from cabinet datafiles.
Playing with cabinet datafiles, this failed to find the "Charisma.smk"
file in the cabinets when in the Recreation (TV) room on Cygnus Alpha
and this caused an engine abort after the GUI dialog warning of the
"missing" video file. This was due to animation.cpp code using
Common::file::exists() instead of going via the ArchiveMan.

However,a hasFile() method implementation was also required to implement
fallback to decompressed (movie) files if the file requested is not in
the cabinet or the cabinet has been externally decompressed to files.

Thanks to fuzzie for the hasFile() patch.

Also, removed noisy warning which this correction triggers repeatedly in
installshield_cab.cpp hasFile(). This looks like leftover from
debugging, so not critical.
2011-11-13 23:44:38 +00:00
Travis Howell
460c4eca26 AGOS: Fix loading VGA files from InstallShield cab file. 2011-09-25 10:32:20 +10:00
Travis Howell
039805ad3b AGOS: Fix regression when starting Personal Nightmare, or disabling AGOS2. 2011-08-28 16:40:03 +10:00
Travis Howell
5346ac18b7 AGOS: Integrate InstallShield support. 2011-08-27 11:00:24 -04:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
2d1c8a3533 ALL: Fix whitespaces / indention
svn-id: r55818
2011-02-07 23:01:06 +00:00
Max Horn
2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
a1dd7a07a1 ENGINES: Remove some 'using' statements
svn-id: r54001
2010-11-01 16:00:17 +00:00
Travis Howell
8a62c94f80 Enable Personal Nightmare by default.
svn-id: r43304
2009-08-12 02:24:03 +00:00
Travis Howell
1c15bcf87d Add option to disable later games (Feeble Files, Puzzle Pack) in AGOS game engine, which require higher resolution.
svn-id: r43270
2009-08-11 14:42:44 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Travis Howell
391cf9d144 Correct incorrect byte in corrupt 72.out file, included with some PC versions of PN.
svn-id: r40369
2009-05-07 12:05:44 +00:00
Travis Howell
6b962cda4e Add support for unpacked data files, in the PC version of PN.
svn-id: r40192
2009-04-29 05:41:44 +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
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
5de19ecb28 Cleanup.
svn-id: r36232
2009-02-07 03:36:36 +00:00
Travis Howell
5ef6d928b9 Cleanup.
svn-id: r35477
2008-12-22 00:32:01 +00:00
Travis Howell
e593015402 Cleanup.
svn-id: r35323
2008-12-13 03:12:56 +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
63b1de5628 Add support for room states in Waxworks (DOS).
svn-id: r31218
2008-03-22 09:46:25 +00:00
Eugene Sandulenko
ac54f3a26f Patch #1858158: BUILD: Plugin building cleanup
svn-id: r30041
2007-12-28 07:52:56 +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
206d167457 AGOS: Introduced ChildType enum
svn-id: r27792
2007-06-30 16:25:59 +00:00
Travis Howell
00829f15c8 Minor cleanup.
svn-id: r27580
2007-06-21 06:37:00 +00:00
Travis Howell
61c91cafb9 Cleanup.
svn-id: r27552
2007-06-20 01:01:29 +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
7d8619350f Fix loading restart state in Waxworks for now.
svn-id: r26966
2007-05-27 11:32:19 +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
d8d2c4cd65 Ooops, remove debug leftovers in last commit.
svn-id: r25502
2007-02-12 00:21:04 +00:00
Travis Howell
d4a206ec12 Add basic support for AtariST demo of Elvira 1.
svn-id: r25501
2007-02-12 00:14:14 +00:00
Travis Howell
6bdd106176 Add Acorn disk version of Simon the Sorcerer 1.
svn-id: r25480
2007-02-11 02:16:00 +00:00
Travis Howell
f8052bb650 Convert planar images, only when required for drawing.
svn-id: r25433
2007-02-08 23:37:17 +00:00
Travis Howell
cbe3cb850c Cleanup
svn-id: r24963
2007-01-01 05:44:34 +00:00
Travis Howell
1b926fee10 Add inherit code for earlier games
svn-id: r24640
2006-11-06 14:28:19 +00:00
Travis Howell
05dcf9c11d Cleanup
svn-id: r24626
2006-11-05 08:27:15 +00:00
Travis Howell
399f8381a9 Cleanup
svn-id: r24397
2006-10-21 01:51:59 +00:00
Travis Howell
26765932cc Add support for sound effects in PC version of Elvira 1
svn-id: r24388
2006-10-19 11:13:28 +00:00
Travis Howell
8e50367bff The Amiga demo of Elvira 1 includes several VGA sound files, with a file size of zero
svn-id: r24359
2006-10-17 07:29:31 +00:00
Travis Howell
087331e102 Add work around for converter crash in Amiga version of WW for now
svn-id: r24345
2006-10-16 04:40:50 +00:00
Travis Howell
0c761c26ab Auto decrunch the gamexx file when required
svn-id: r24344
2006-10-16 04:31:09 +00:00
Travis Howell
b9ed835962 Amiga sound files aren't compressed
svn-id: r24338
2006-10-15 13:13:33 +00:00
Travis Howell
707b733f43 Add another filename difference in Amiga versions
svn-id: r24334
2006-10-15 07:51:27 +00:00
Travis Howell
8925e814a7 Minor cleanup
svn-id: r24333
2006-10-15 05:59:22 +00:00
Travis Howell
ed89778036 Add menu support for Amiga demo of Elvira 1
svn-id: r24332
2006-10-15 04:15:48 +00:00
Travis Howell
ac482cb217 Remove excess stopVoice code for PP, which isn't required under ScummVM
svn-id: r24316
2006-10-14 14:38:25 +00:00
Travis Howell
2534fbe04c Add more filename differences in Amiga demo of Elvira 1
svn-id: r24313
2006-10-14 13:51:01 +00:00