350 Commits

Author SHA1 Message Date
Travis Howell
463b30f707 Fix the bundled Macintosh version of FT demo.
Filename substitution should only be checked for resource files, not other data files.

svn-id: r19659
2005-11-19 03:37:34 +00:00
Travis Howell
ef41ce55ac Update debug output.
svn-id: r19442
2005-11-05 10:46:28 +00:00
Gregory Montoir
eeee881514 As Kirben suggested, increasing room name buffer
svn-id: r19237
2005-10-22 10:48:14 +00:00
Gregory Montoir
e611a3ccb0 This apparently fixes a crash in 'PuttPutt enters the Race'. Thanks Dark-Star. Also added some assert() calls.
svn-id: r19236
2005-10-22 10:41:28 +00:00
Andrew Kurushin
75e02d2da9 fix compilation warn
svn-id: r19219
2005-10-21 15:26:57 +00:00
Travis Howell
82600ddcfa Add XMAP support for actors.
svn-id: r19205
2005-10-21 02:26:24 +00:00
Eugene Sandulenko
8527af6927 There are almost 2 dozens of HE games provided as time limited full games.
Their data is encrypted by strong encryption technology ActiveMark.

Now we detect these games and refuse to run them. User is warned accordingly.

svn-id: r19187
2005-10-19 19:26:53 +00:00
Travis Howell
ba780d65df HE games require _arraysSlots and sound resource 1 to be saved.
Breaks all old saved games for HE games only.

svn-id: r19179
2005-10-19 12:15:36 +00:00
Torbjörn Andersson
62a59b2d46 Minor error message fix: isLocked() isn't trying to unlock the resource.
svn-id: r19149
2005-10-18 08:56:14 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Max Horn
bb8afe3839 Added ResourceManager::isLocked; made ResourceManager::flags protected; moved some stuff around
svn-id: r19137
2005-10-17 15:00:23 +00:00
Travis Howell
30b13e1206 Ooops, remove debug output.
svn-id: r19090
2005-10-15 00:47:23 +00:00
Travis Howell
b6425d1cf8 Fix regression, resID shouldn't beint16.
Slight correction to copyArrayHelper.

svn-id: r19089
2005-10-15 00:46:08 +00:00
Travis Howell
dcb2372e23 Adjust array ids in HE80+ games, to match original.
Otherwise array aren't always nuked by scripts.

svn-id: r19082
2005-10-14 12:36:46 +00:00
Travis Howell
7af9ece552 HE games store and restore locked FlObjects between rooms.
Fixes input issue in thinker1.

svn-id: r19072
2005-10-14 02:13:33 +00:00
Eugene Sandulenko
c96d229b4c Remoe unused variable
svn-id: r18835
2005-09-17 00:31:51 +00:00
Eugene Sandulenko
a35366276e Make Mac DOTT demo runnable.
svn-id: r18834
2005-09-17 00:24:51 +00:00
Torbjörn Andersson
5cca832a85 If I understand cyx correctly, this is the proper fix for bug #1253171,
even though I thought it looked a bit hackish when I proposed it.

svn-id: r18687
2005-08-14 20:46:02 +00:00
Travis Howell
a820400f8c Replace warnings with debug, errors or printfs:
-To catch any missing cases/functions used.
-To prevent users reporting warnings as bugs

svn-id: r18681
2005-08-14 01:41:52 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Torbjörn Andersson
46b6eff722 I don't think we need to include mididrv.h here.
svn-id: r18451
2005-06-24 16:13:21 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Eugene Sandulenko
1844a9c544 Fix C64 targets. Regression.
svn-id: r18411
2005-06-19 18:16:27 +00:00
Travis Howell
84f0ccf241 Don't expire roomImage of current room.
svn-id: r18228
2005-05-23 03:44:10 +00:00
Eugene Sandulenko
80ee8188d3 Improvements to --disable-* stuff. Now less ugly #ifdefs with #includes.
svn-id: r18100
2005-05-14 23:28:22 +00:00
Eugene Sandulenko
3588b96d4f Added --disable-hq and --disable-scumm-7-8 options. Also improved
DISABLE_HE so more HE-specific code gets excluded.

svn-id: r18099
2005-05-14 22:56:41 +00:00
Travis Howell
93be3e16d8 Add configure option to disable HE 70+ games.
svn-id: r18091
2005-05-14 14:06:37 +00:00
Travis Howell
15a4e8a0e2 Check if charset is been used, before expiring the resource.
svn-id: r18081
2005-05-13 10:23:56 +00:00
Max Horn
b75c969e66 Moved class File and the MD5 stuff to namespace Common
svn-id: r18037
2005-05-10 22:56:25 +00:00
Travis Howell
239e7ae062 Add heversions for dutch versions.
Add dutch freddi1

svn-id: r18023
2005-05-10 03:03:28 +00:00
Max Horn
554ecd57cb Don't use Common::Map for the object table at all; rather use bsearch on a fixed size table.
svn-id: r17777
2005-04-23 16:52:11 +00:00
Max Horn
7963bb4cb9 Renamed _mouseButStat -> _mouseAndKeyboardStat (that's what it really is); moved _audioNames to class IMuseDigital
svn-id: r17723
2005-04-20 23:33:35 +00:00
Max Horn
c46ea8bc40 Replaced the platform specific GF_FOO switches (using _platform instead now)
svn-id: r17716
2005-04-20 18:21:30 +00:00
Travis Howell
2009b72679 Replace all GF_HUMONGOUS use with _heversion.
Make HE60 specific to puttdemo, since it is unqie.
Other HE60 games changed to HE 61.

svn-id: r17698
2005-04-20 01:33:44 +00:00
Max Horn
c4e7f403f8 Split out some index reading code into a new method readIndexBlock()
svn-id: r17659
2005-04-17 22:59:43 +00:00
Max Horn
a804152443 cleanup
svn-id: r17623
2005-04-16 12:42:09 +00:00
Travis Howell
e2d24f8ce2 RNAM block is different in HE games.
svn-id: r17534
2005-04-11 05:54:39 +00:00
Max Horn
78f6b7a1d8 cleanup
svn-id: r17525
2005-04-10 17:38:09 +00:00
Max Horn
0553720ca0 Read the RNAM data (might be useful for debugging)
svn-id: r17510
2005-04-10 13:16:49 +00:00
Max Horn
871e278f8b Reduce dependencies on scumm/util.h; modified ScummNESFile a bit so that it complies a bit better with our code formatting rules
svn-id: r17508
2005-04-10 12:59:17 +00:00
Max Horn
cfe85b8618 Don't call allocateArrays from readMAXS, rather call it explicitly after calling readMAXS; init _palManipCounter in the proper place (only needed when restarting); free palManip data on exit
svn-id: r17495
2005-04-10 00:51:47 +00:00
Max Horn
78f2f279c4 Got rid of _dynamicRoomOffsets
svn-id: r17494
2005-04-10 00:33:31 +00:00
Max Horn
d7c1017fe4 Pedantic cleanup
svn-id: r17490
2005-04-09 20:26:51 +00:00
Max Horn
81e34e9110 Overload getStringAddress in subclasses; moved V6-V8 specific res stuff to resource.cpp
svn-id: r17489
2005-04-09 20:22:31 +00:00
Max Horn
d271b58aa7 Got rid of GF_NEW_OPCODES
svn-id: r17488
2005-04-09 20:13:30 +00:00
Max Horn
34098ae3c7 Simplify the substResFileName system a bit
svn-id: r17475
2005-04-09 11:59:43 +00:00
Max Horn
3d5b5f2ad8 Moved createResource, resourceStats, expireResources to ResourceManager
svn-id: r17420
2005-04-06 17:31:35 +00:00
Max Horn
5b53b4a463 Cleaning up the charset loading code some more
svn-id: r17367
2005-04-04 00:12:41 +00:00
Max Horn
789cad236c Splitting more methods into multiple overloaded versions
svn-id: r17366
2005-04-03 23:53:34 +00:00
Max Horn
398aa1a8b1 loadCharset gets overloaded for small header games, so no need to check for those in here
svn-id: r17365
2005-04-03 23:10:17 +00:00