Commit Graph

5982 Commits

Author SHA1 Message Date
Travis Howell
4b60b2f343 Typo
svn-id: r17986
2005-05-09 00:48:21 +00:00
Travis Howell
c80f614981 Add a few more md5s
Set sfxMode mode for speech in HE games again.

svn-id: r17985
2005-05-09 00:42:11 +00:00
Max Horn
c33cc2ce85 Last part of patch #1163026 (Thumbnails for ScummEngine)
svn-id: r17982
2005-05-09 00:09:01 +00:00
Eugene Sandulenko
1cddaa828c o Fixed detection of Dutch Freddi1
o Added md5s for Mac Football2002 demo
o Added english FF5 demo

svn-id: r17976
2005-05-08 22:10:09 +00:00
Max Horn
cca744f69a Comply to our coding conventions
svn-id: r17975
2005-05-08 21:49:52 +00:00
Max Horn
cf936916db Comply with our coding conventions
svn-id: r17972
2005-05-08 21:18:37 +00:00
Travis Howell
e01014e971 The default platform should be PC (Windows for HE70+)
Avoids issues with older config files.

svn-id: r17967
2005-05-08 14:55:15 +00:00
Travis Howell
f52ef27fe8 Should be an error now.
svn-id: r17966
2005-05-08 14:38:56 +00:00
Travis Howell
01b2f38670 HE games queue speech as sound resource 1.
svn-id: r17965
2005-05-08 14:31:27 +00:00
Travis Howell
33cc1176a0 Ooops, out of sync.
svn-id: r17957
2005-05-08 12:15:19 +00:00
Travis Howell
02df1d063c Add more dutch versions.
Fix duplicate subtitle setting.

svn-id: r17956
2005-05-08 12:10:57 +00:00
Travis Howell
1f8e813d84 One last case for funshop titles.
svn-id: r17955
2005-05-08 10:59:32 +00:00
Travis Howell
79514d4747 Range checks off by 1.
svn-id: r17954
2005-05-08 10:26:11 +00:00
Travis Howell
fb41dd8284 Add case stub for funshop titles
Add comment

svn-id: r17953
2005-05-08 10:16:41 +00:00
Eugene Sandulenko
8e5bf3c092 Initial support for intensive floating point compuitations used in
Putt-Putt Race. Still incomplete.

svn-id: r17949
2005-05-08 03:08:11 +00:00
Travis Howell
ca98d52738 Add dutch Spy Fox 1/2.
svn-id: r17947
2005-05-08 01:00:52 +00:00
Travis Howell
a0a764bb4b Filter out a few more paths.
svn-id: r17943
2005-05-07 12:23:08 +00:00
Travis Howell
c4d2ac0eb7 Additions for funshop titles.
svn-id: r17942
2005-05-07 11:07:45 +00:00
Travis Howell
873c10c16b HE games need larger buffer
svn-id: r17941
2005-05-07 09:53:06 +00:00
Travis Howell
36d57ba378 More localized HE games.
svn-id: r17940
2005-05-07 09:39:44 +00:00
Travis Howell
abcd44cd68 Missed one section.
svn-id: r17939
2005-05-07 08:10:23 +00:00
Travis Howell
8de4c596a0 Add missing opcode details
Fix regression (Fields not initied)

svn-id: r17938
2005-05-07 07:57:59 +00:00
Travis Howell
8ce20af137 Add eriktorbjorn's patch for:
#1018588 - FT: Xlib async errors in INSANE sequences

svn-id: r17937
2005-05-07 01:52:17 +00:00
Travis Howell
21fe989da9 Fix regression in demos (Failed to find correct file to md5 checksum).
svn-id: r17927
2005-05-06 07:45:48 +00:00
Travis Howell
172b95d347 Check if stream exists first.
svn-id: r17926
2005-05-06 04:44:54 +00:00
Max Horn
0411be88db do not invoke a method on a non-existant stream
svn-id: r17924
2005-05-05 18:30:42 +00:00
Max Horn
d00117ec4b Fixed some doxygen warnings
svn-id: r17923
2005-05-05 15:59:24 +00:00
Travis Howell
c16cceafad Get XMAP from correct resource.
Avoid regression.

svn-id: r17922
2005-05-05 15:19:30 +00:00
Travis Howell
30533838db HE90+ games set heap size in index.
svn-id: r17920
2005-05-05 14:30:37 +00:00
Travis Howell
4dacf09f72 Move to HE80
svn-id: r17919
2005-05-05 13:16:50 +00:00
Max Horn
fecc4d5f84 Return 0 in Engine_SCUMM_create if the game isn't found (instead of computing the MD5 of non-existant files)
svn-id: r17917
2005-05-05 12:03:16 +00:00
Eugene Sandulenko
6101cfd71b Skip wiz compression type 2 used by baseball2003
svn-id: r17902
2005-05-03 20:34:48 +00:00
Travis Howell
f17c35682a Add a few more HE demos.
svn-id: r17899
2005-05-03 02:23:16 +00:00
Travis Howell
c090cc5a5f Add temporary hack for wizImages using compression type 2 for now.
svn-id: r17896
2005-05-02 07:36:23 +00:00
Travis Howell
6c34dcc0f2 Add work around for script bug in the first version of pajama.
svn-id: r17895
2005-05-02 07:20:44 +00:00
Travis Howell
0ab3872653 Add missing case for pajama.
Fixes music in MusicRm.

svn-id: r17892
2005-05-02 02:12:00 +00:00
Travis Howell
a93b46c2a8 Missed two.
svn-id: r17887
2005-05-01 14:24:42 +00:00
Travis Howell
4e1cb79473 Add feature flag for HE games with 16bit color.
svn-id: r17886
2005-05-01 14:22:00 +00:00
Travis Howell
ae14f7049e HE80+ games store current charset numberin VAR80.
Fixes crash in bb2demo.

svn-id: r17885
2005-05-01 12:25:30 +00:00
Travis Howell
e3b906b569 Correction to copyHEPaletteColor()
Use checkRange(), like original.

svn-id: r17884
2005-05-01 11:29:14 +00:00
Travis Howell
d64e9d8c5c Add extra cases for bb2demo.
svn-id: r17883
2005-05-01 11:09:30 +00:00
Travis Howell
2b351f73f4 VAR 78 controls platform in HE80+ games.
svn-id: r17881
2005-05-01 07:16:48 +00:00
Travis Howell
c76f228f67 VAR_NUM_SOUND_CHANNELS is 88 in HE80+ games.
svn-id: r17880
2005-05-01 06:54:27 +00:00
Travis Howell
cb6c2b9da5 Add extra cases for readdemo.
svn-id: r17879
2005-05-01 03:17:45 +00:00
Travis Howell
343debba1e Use correct safety check.
svn-id: r17878
2005-05-01 01:30:19 +00:00
Travis Howell
2260447e8b Add missing safety checks.
svn-id: r17877
2005-05-01 01:02:34 +00:00
Max Horn
051977cd17 cleanup closestPtOnLine
svn-id: r17876
2005-04-30 22:24:02 +00:00
Max Horn
ed4b43df73 Only allocate the actor sorting array once
svn-id: r17875
2005-04-30 22:01:16 +00:00
Eugene Sandulenko
280abe9e91 Convert windows path separators before opening wiz files.
svn-id: r17874
2005-04-30 20:48:59 +00:00
Max Horn
13a13ae10a cleanup
svn-id: r17873
2005-04-30 15:04:16 +00:00
Travis Howell
211da446cc Reset additional fields
svn-id: r17871
2005-04-30 05:47:09 +00:00
Travis Howell
abef7907df Set sprite id & group number for wizImages.
svn-id: r17870
2005-04-30 05:34:31 +00:00
Travis Howell
7118921a2a Add expanded _wizParams used by HE100 games.
Add u32 version variable.

svn-id: r17869
2005-04-30 05:25:06 +00:00
Travis Howell
a08f1b8c69 Add a few case stubs for moondemo.
svn-id: r17868
2005-04-30 04:05:02 +00:00
Travis Howell
c20ee1e634 Add missing case.
svn-id: r17867
2005-04-30 01:26:57 +00:00
Travis Howell
ce909a35b3 Some sound resources in soccer2004 are compressed too.
Add Moonbase demo, as testing target only.

svn-id: r17866
2005-04-29 15:33:07 +00:00
Travis Howell
c885171c51 Several HE100 games (moondemo/soccer2004) allow 1024 local scripts.
svn-id: r17864
2005-04-29 15:08:31 +00:00
Eugene Sandulenko
f8283f3aa5 Add comment to NES-specifix gfx hack with virtual screens
svn-id: r17861
2005-04-29 06:36:03 +00:00
Travis Howell
cbd2e319ea Ooops
svn-id: r17860
2005-04-29 01:45:38 +00:00
Travis Howell
2f262b3c3e Add HE90 version of processActors().
Add HE71 class, for HE71+ specifics.

svn-id: r17859
2005-04-29 01:36:30 +00:00
Travis Howell
4b4242e973 Remove extra whitespace.
svn-id: r17858
2005-04-29 01:10:49 +00:00
Travis Howell
08e115a516 pajama3 requires GF_HE_LOCALIZED
Add freddi2 specific filter for (PU1/PU2) prefix in subtitles.

svn-id: r17857
2005-04-29 01:08:58 +00:00
Max Horn
d03b092659 Moved blast text/object code to ScummEngine_v6
svn-id: r17856
2005-04-28 22:34:56 +00:00
Max Horn
c5127d3c05 Moved bundle based localization code to ScummEngine_v7
svn-id: r17855
2005-04-28 22:17:23 +00:00
Max Horn
e8865cc596 Extract code works will any WriteStream, not just MemoryWriteStream
svn-id: r17854
2005-04-28 21:02:43 +00:00
Travis Howell
9454b63f94 Add Macintosh version of putttime.
svn-id: r17849
2005-04-28 01:31:30 +00:00
Max Horn
ec43585537 Added new handleMouseOver to allow further refactoring of the V2 specific verb code; added a TODO comment regarding the blast code
svn-id: r17848
2005-04-28 01:04:42 +00:00
Max Horn
5109e82c35 Refactor HE actor post/pre-processing code a bit (some more cleanup for HE90 could probably be done, but I'll leave that to the HE folks for now :-)
svn-id: r17847
2005-04-28 00:45:06 +00:00
Max Horn
18bf7c7900 Comment on some MM NES oddity, I hope somebody can explain this :-)
svn-id: r17845
2005-04-28 00:22:05 +00:00
Travis Howell
7c3cfae122 Minor cleanup.
svn-id: r17840
2005-04-27 14:47:10 +00:00
Travis Howell
8545634aaa Rename function.
svn-id: r17839
2005-04-27 14:30:32 +00:00
Travis Howell
f5189c323b Minor clean up, HE games should always copy strings directly.
svn-id: r17838
2005-04-27 14:26:52 +00:00
Travis Howell
f6971f847c Fix glitch when skipping AUX sequence in freddi.
Add missing bits of AUX code.

svn-id: r17837
2005-04-27 13:55:55 +00:00
Travis Howell
7c11e68db3 Correct actor clipping in HE games.
The original games rect clipping was not as strict.

svn-id: r17835
2005-04-27 09:15:18 +00:00
Max Horn
b407f0040e Fix comment (copy & paste are evil)
svn-id: r17833
2005-04-27 07:57:28 +00:00
Travis Howell
e05d6e8331 Add feature flag for HE games which appear to have localized versions.
Allows accurate filtering of filename in subtitles.

svn-id: r17832
2005-04-27 05:05:10 +00:00
Travis Howell
3065bab0cb Add some basic support for pjgames.
svn-id: r17831
2005-04-27 04:47:02 +00:00
Max Horn
fc016e8e8a Added a few more comments
svn-id: r17829
2005-04-26 16:43:20 +00:00
Max Horn
b56b84b145 Use kVerbVirtScreen were appropriate; removed unused param from initVirtScreen
svn-id: r17828
2005-04-26 15:52:55 +00:00
Max Horn
3a4dafeaa3 desaturatePalette is V8 specific
svn-id: r17827
2005-04-26 15:42:35 +00:00
Max Horn
ab53558315 Fixed incorrect use of kMainVirtScreen
svn-id: r17826
2005-04-26 15:41:15 +00:00
Travis Howell
e88ed2908e Save _hePalettes in HE99+ games.
svn-id: r17825
2005-04-26 15:31:51 +00:00
Travis Howell
26ace23092 Save addtion HE opcodes specific variables.
svn-id: r17824
2005-04-26 15:13:04 +00:00
Max Horn
4239ac7407 Since we don't store _CLUT_offs anymore, we can clean up the code related to it now
svn-id: r17823
2005-04-26 14:24:29 +00:00
Max Horn
973cb9a281 Make use of the new loadRoomSubBlocks (which only loads static room data now) in the save/load code; this also means we have to save a bit less data, and reduce code duplication
svn-id: r17822
2005-04-26 14:18:34 +00:00
Max Horn
aa330e827c Clean up HE save/load code, at the cost of savegame compatibility (v71he and upwards)
svn-id: r17821
2005-04-26 14:01:38 +00:00
Max Horn
9d07432375 Comment corrections
svn-id: r17820
2005-04-26 13:47:47 +00:00
Max Horn
0ca7d3a61e Added/corrected some comments; moved NES costume init code to a more appropriate place, and cleaned it up
svn-id: r17819
2005-04-26 13:43:01 +00:00
Max Horn
c9cdee2d97 Removed the ugly saveOrLoadCursorImages hack and instead properly overload ScummEngine::saveOrLoad; did the same for the V7 IMuseDigital save/load code
svn-id: r17818
2005-04-26 13:33:17 +00:00
Max Horn
9421c2a9b9 Call setupVolumes in a more appropriate part of the save/load code
svn-id: r17817
2005-04-26 13:22:46 +00:00
Max Horn
00f73aeeca Reduce dependencies on saveload.h
svn-id: r17816
2005-04-26 13:17:11 +00:00
Max Horn
5586ce3243 Use an intermediate variable, to ease debugging
svn-id: r17815
2005-04-26 13:16:18 +00:00
Max Horn
e811cb091b Perform some clipping (some old savegames had bad usage bits in the same and caused a crash for me due to lack of clipping)
svn-id: r17814
2005-04-26 13:16:02 +00:00
Max Horn
f03e73c621 Added some comments
svn-id: r17813
2005-04-26 11:10:27 +00:00
Max Horn
3931115b9a Split loadRoomSubBlocks into a 'static' part (loadRoomSubBlocks) and a 'dynamic' part (initRoomSubBlocks)
svn-id: r17811
2005-04-26 10:58:49 +00:00
Max Horn
3cc0d1b142 Removed dead code
svn-id: r17809
2005-04-26 09:21:54 +00:00
Travis Howell
62216f9cc2 Enable Blue's demo, for testing only.
svn-id: r17808
2005-04-26 07:52:37 +00:00
Travis Howell
e61728168d Always skip smacker files in HE games.
svn-id: r17807
2005-04-26 07:44:14 +00:00
Travis Howell
2df1161e0c Add stubs for the two smacker related opcodes in HE games.
Makes it easier to test new titles.

svn-id: r17806
2005-04-26 06:47:42 +00:00
Travis Howell
a0f56739cd Add Macintosh version of puttrace
svn-id: r17803
2005-04-26 04:22:08 +00:00
Travis Howell
93279ff29e Minor cleanup
svn-id: r17800
2005-04-25 10:22:38 +00:00
Travis Howell
8e36728526 No music file in lost/smaller.
svn-id: r17799
2005-04-25 05:59:01 +00:00
Travis Howell
9380304832 Read index of music file in HE games at startup.
Only reliable way to always get correct music tracks.

svn-id: r17798
2005-04-25 05:44:12 +00:00
Travis Howell
23fa40d56c Add misisng r.
svn-id: r17795
2005-04-25 04:35:42 +00:00
Travis Howell
967fd877b1 Remove excess ;
svn-id: r17794
2005-04-25 03:45:37 +00:00
Max Horn
ce3cd9b194 Changed the semantics of debug level 0 from off back to something more similiar to how it used to be (default debug level now is -1)
svn-id: r17788
2005-04-24 12:21:53 +00:00
Travis Howell
29532320c1 Corection a few more heversion checks, caused music regression.
svn-id: r17785
2005-04-24 10:26:31 +00:00
Travis Howell
637e86e5b4 Remove out dated comment.
svn-id: r17784
2005-04-24 04:51:36 +00:00
Travis Howell
2a14ff0a1a Use new ConfigFile class for read/writeConfigFile in HE games.
svn-id: r17782
2005-04-24 03:52:56 +00:00
Max Horn
ef760277e6 This code should be revised...
svn-id: r17778
2005-04-23 17:02:38 +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
b43e1e960f Map is only needed in intern.h
svn-id: r17776
2005-04-23 16:09:22 +00:00
Travis Howell
88dfc9891e decompressWizImage shouldn't be called directly by charset renderer in HE games.
Fix palette issues with charset type 0 in HE games

svn-id: r17774
2005-04-23 14:32:40 +00:00
Max Horn
8fddaada1d Simplified debuglevel handling:
- it's only honored in the global level of the config file
 - all checks for it go through gDebugLevel now, which is made global
 - the '-d' switch is handled in a slightly saner and consistent way
 - removed 'debuglevel' from the config format documentation; we do
   not want to encourage the avarage user to use it

svn-id: r17769
2005-04-23 13:52:27 +00:00
Travis Howell
760017e462 Should be HE61 now.
svn-id: r17765
2005-04-23 11:06:17 +00:00
Travis Howell
cc526f0a01 Simpler check, since VAR_NEW_ROOM is no longer set in small header games.
svn-id: r17764
2005-04-23 09:53:56 +00:00
Travis Howell
24f2ca3d34 Adjust for last cvs change.
svn-id: r17762
2005-04-23 01:57:46 +00:00
Travis Howell
c61d834c6e Always set file path separately in o72_openFile() so upper and lower case filenames are checked.
svn-id: r17761
2005-04-23 01:50:42 +00:00
Max Horn
88d0b6cc44 Only modify gDebugLevel, not the transient config
svn-id: r17754
2005-04-22 20:04:25 +00:00
Max Horn
969ef3dac9 * Added new virtual base class 'Stream', ReadStream and
WriteStream are now subclasses of it.
* Added new methods eos(), ioFailed(), clearIOFailed() to
  all streams. This allows better error checking.
* SaveFile classes take advantage of these new standard
  stream APIS
* Removed File::gets()
* Added SeekableReadStream::readLine() (replaces File::gets)
* Added WriteStream::writeString, for convenience

svn-id: r17752
2005-04-22 17:40:09 +00:00
Travis Howell
e6bd008e30 Add support for reading/writing to external config file in HE games.
svn-id: r17746
2005-04-22 07:12:29 +00:00
Travis Howell
45bc8afad0 Fix header check when using external wizImage files.
svn-id: r17745
2005-04-22 03:30:58 +00:00
Eugene Sandulenko
a81fbc04d9 Move HE activity on its place
svn-id: r17743
2005-04-22 00:14:56 +00:00
Eugene Sandulenko
059d1c4d20 Add HE activity pack
svn-id: r17742
2005-04-22 00:03:25 +00:00
Gregory Montoir
7127485ebc some cleanup and added some error() calls when handling wiz images type different from 0 and 1
svn-id: r17741
2005-04-21 19:39:15 +00:00
Gregory Montoir
8d76879849 cleanup
svn-id: r17740
2005-04-21 19:27:17 +00:00
Travis Howell
97749a934e Need for HE100 version of lost too.
svn-id: r17739
2005-04-21 16:10:41 +00:00
Travis Howell
9d2578eee9 Sync. HE100.
svn-id: r17738
2005-04-21 16:07:31 +00:00
Travis Howell
d7f263ff1a Add palette function for HE99+ games.
svn-id: r17737
2005-04-21 16:02:37 +00:00
Travis Howell
098e0cce58 Add palette function foe He99+ games.
svn-id: r17736
2005-04-21 15:40:40 +00:00
Travis Howell
dace543c07 Fix source clipping of rawWizImages in HE games.
Can get further in spyozon now.

svn-id: r17734
2005-04-21 12:25:53 +00:00
Travis Howell
dd046c184e There are Macintosh specific versions of HE72 games.
svn-id: r17733
2005-04-21 10:24:13 +00:00
Travis Howell
9b3d2b3c8c There is HE99 version of f4-demo
svn-id: r17731
2005-04-21 06:29:46 +00:00
Travis Howell
a9f779df38 Add Macintosh version of BluesABCTimeDemo.
svn-id: r17730
2005-04-21 06:16:59 +00:00
Travis Howell
6eee101561 Add Macintosh version of puttcircus
svn-id: r17729
2005-04-21 06:05:07 +00:00
Travis Howell
9cbc561eda Correct argument order.
Fixes glitches in freddi4/spyozon.

svn-id: r17728
2005-04-21 05:14:19 +00:00
Travis Howell
261a02beec HE98+ includes extra VAR checks at this point.
Fixes salesmen freeze in freddi4.

svn-id: r17727
2005-04-21 03:29:31 +00:00
Max Horn
7b93b0e079 Moved v2 verb code into class ScummEngine_v2
svn-id: r17725
2005-04-20 23:53:29 +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
c04ad861fe Moved some more VARs; added comments to some of the vars which explain where they are used
svn-id: r17722
2005-04-20 23:13:11 +00:00
Max Horn
b724929466 Split initScummVars and overload it; this makes it possible to define more VARS in subclasses
svn-id: r17721
2005-04-20 20:34:44 +00:00
Max Horn
9216ca4ed5 Added FIXME for the _haveMsg hack
svn-id: r17720
2005-04-20 20:20:31 +00:00
Eugene Sandulenko
6e3fd4527e Yet another russian freddi4. now unencrypted.
svn-id: r17719
2005-04-20 20:08:39 +00:00
Max Horn
d2624d8e08 cleanup
svn-id: r17718
2005-04-20 19:59:18 +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
bb2c4e6a9e Update debug message.
svn-id: r17712
2005-04-20 10:38:13 +00:00
Travis Howell
51af9cf4aa Add some additional details for sprite fields.
Remove the unused sprite/spriteGroup fields.
Break old He90+ saves but they aren't stable anyway.

svn-id: r17711
2005-04-20 10:33:20 +00:00
Max Horn
005efe61aa Added ScummEngine::_platform; eventually, this should replave GF_FMTOWNS, GF_AMIGA, etc. (everybody is welcome to work on this :-)
svn-id: r17710
2005-04-20 09:53:13 +00:00
Travis Howell
90509f6588 Rename wizImage process flag for HE games.
svn-id: r17707
2005-04-20 06:55:30 +00:00
Travis Howell
94e554a670 Rename sprite field for HE games.
svn-id: r17706
2005-04-20 05:24:02 +00:00