Max Horn
d68f95b3be
Move HE specific stuff from class Sound to its new subclass SoundHE
...
svn-id: r22115
2006-04-23 18:52:39 +00:00
Max Horn
78dfa1f280
Moved ScummEngine_v5 from cursor.cpp to scumm.cpp (seems to be more natural, even though it inits some cursor related stuff)
...
svn-id: r22114
2006-04-23 17:58:52 +00:00
Max Horn
0891a91acc
Change some uses of ScummFile to the more generic BaseScummFile
...
svn-id: r22113
2006-04-23 17:47:40 +00:00
Max Horn
4b6f90945b
Modified openFile and openResourceFile to take a Common::String instead of a char pointer
...
svn-id: r22112
2006-04-23 17:39:31 +00:00
Max Horn
0d67640a58
Behold, the new SCUMM detector finally has arrived. Unified detection & engine instantiation, reduced code duplication, more powerful detection in case MD5 is not known / can't be computed, and many other nifty improvements.
...
svn-id: r22110
2006-04-23 17:33:16 +00:00
Max Horn
6533813576
Fixed MD5 entry for mac version of MI1
...
svn-id: r22102
2006-04-23 13:29:37 +00:00
Max Horn
660efce9b2
Replaced _demoMode by GF_DEMO
...
svn-id: r22087
2006-04-23 00:08:18 +00:00
Eugene Sandulenko
ff6028b00b
- Implemented MS ADPCM WAV format decoder used in Feeble Files. Still it is
...
out of sync with video. See TODO there.
- Fixed bug with MS IMA ADPCM mono to make it possible to work in real streams.
svn-id: r22080
2006-04-22 03:00:21 +00:00
Max Horn
b4c330ce07
Some more tweaks to the (still disabled) new detection / filename generation code
...
svn-id: r22040
2006-04-19 20:26:27 +00:00
Max Horn
70d23ccf29
Added a small comment to ScummEngine::openRoom that explains why we check for room==0 instead of just using it as-is
...
svn-id: r22038
2006-04-19 18:14:28 +00:00
Max Horn
c5507879fc
Removed wrong platform values from gameVariantsTable
...
svn-id: r22037
2006-04-19 16:16:57 +00:00
Johannes Schickel
3f76984a41
Let scumm engine handle EVENT_SCREEN_CHANGED and let the gui know. (Needed for disabling overlay scaling)
...
svn-id: r22026
2006-04-19 06:23:49 +00:00
Johannes Schickel
7f0c8883ad
Merges SaveLoadChooser and SaveLoadChooserEx.
...
svn-id: r22021
2006-04-19 05:46:57 +00:00
Johannes Schickel
8828daba84
Updates scumm dialogs for runtime overlay resolution changes.
...
svn-id: r22018
2006-04-19 01:07:16 +00:00
Torbjörn Andersson
d137204772
Call updateScreen() from waitForTimer() (instead of usually right before it)
...
for smoother mouse cursor movement.
svn-id: r21993
2006-04-17 23:45:48 +00:00
Max Horn
ac24769196
Replaced o70_seekFilePos by o60_seekFilePos (both were identical)
...
svn-id: r21979
2006-04-17 14:32:46 +00:00
Johannes Schickel
e7716748ba
Should fix wrong thumbnail colors after a screen change, which changed bpp.
...
svn-id: r21954
2006-04-16 20:41:40 +00:00
Max Horn
74edd90aba
Fix for bug #1471383 : Instead of overloading ConfigManager::set, we now have new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch)
...
svn-id: r21951
2006-04-16 19:23:14 +00:00
Willem Jan Palenstijn
784467abfd
changed comments into real comments
...
svn-id: r21945
2006-04-16 14:14:22 +00:00
Max Horn
fe01f3a03f
Ignore the 'virtual' HE entries at the end of gameVariantsTable (this fixes an odd detector problem)
...
svn-id: r21944
2006-04-16 14:07:55 +00:00
Max Horn
206fdf0528
Fixed broken svn:keywords values
...
svn-id: r21939
2006-04-16 13:01:41 +00:00
Max Horn
ba1b25305e
Removed the directory parameter from md5_file
...
svn-id: r21937
2006-04-16 12:50:39 +00:00
Max Horn
ec17b6505e
Removed unused #include
...
svn-id: r21918
2006-04-15 21:20:32 +00:00
Max Horn
68cb7f52c8
- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
...
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places
svn-id: r21916
2006-04-15 20:36:41 +00:00
Max Horn
ad45318328
Removed GameDetector::_gameid in favor of using a config manager entry
...
svn-id: r21915
2006-04-15 17:39:14 +00:00
Max Horn
9c4577b639
- Get rid of GameDetector::_dumpScripts and GameDetector::_force1xOverlay in favor of settings in the transient config domain
...
- This also means you can now set those options in the config file
- Fixed a bug I recently introduced that made bool command line options (like -u, -f) always return 'false' when used in their single letter form
svn-id: r21909
2006-04-15 13:50:44 +00:00
Max Horn
aa2964ceff
Some more detector stub code (unused)
...
svn-id: r21896
2006-04-15 00:24:20 +00:00
Max Horn
199e5cb4f7
Some cleanup of the SCUMM ConfigDialog; also added a big FIXME comment explaining what the dialog does badly, and how that could be fixed (anybody feeling bored, feel free to implement the solution I outline there)
...
svn-id: r21890
2006-04-14 18:51:42 +00:00
Max Horn
6df54763ef
Yes, it is really necessry to compute a special 'disk number' here (in fbear at least)
...
svn-id: r21882
2006-04-14 10:32:06 +00:00
Travis Howell
77ad88a2f2
Add variant for updated Spy Fox 1
...
svn-id: r21881
2006-04-14 09:58:20 +00:00
Max Horn
de08164420
Possible fix for bug #1470197 (SCUMM: HE Game variants broken)
...
svn-id: r21879
2006-04-14 09:45:29 +00:00
Max Horn
1470dadb1d
Changed File::open to take a Common::String as file name parameter
...
svn-id: r21867
2006-04-14 01:48:51 +00:00
Torbjörn Andersson
e21f99c7ba
Slightly more verbose error message.
...
svn-id: r21846
2006-04-13 18:09:33 +00:00
Eugene Sandulenko
3fa9fa06c2
Clarified detection filenames for HE games (removed FIXME comments).
...
svn-id: r21835
2006-04-13 04:01:55 +00:00
Max Horn
cf202049ff
Fixing mismatch between format strings and data on some systems
...
svn-id: r21827
2006-04-12 14:54:12 +00:00
Jonathan Gray
eb3ae7d726
sizeof(void *) != sizeof(int) for a large number of systems.
...
Fix a lot of debug/error statements that were using %d/%x
for the result of pointer arithmetic.
As C++ apparently has no format string for ptrdiff_t use
%lu/%lx as appropriate.
svn-id: r21824
2006-04-12 10:01:41 +00:00
Max Horn
24b2f65f91
Re-fix the CD version of Loom
...
svn-id: r21814
2006-04-11 22:47:53 +00:00
Max Horn
4ec79db410
Rearranged code in ScummEngine::openRoom a bit, to separate the filename generation from other things
...
svn-id: r21813
2006-04-11 22:41:44 +00:00
Torbjörn Andersson
10c62a2eed
If generateDetectName() generates an empty string, that's a failure, not a
...
success. Otherwise ScummVM will crash once the game detector reaches the
"generic HE game variants", which makes it hard to add non-SCUMM games.
svn-id: r21808
2006-04-11 19:29:55 +00:00
Max Horn
a42dd86e85
Some more MD5 entries / confirmations by Peter Eckerlein
...
svn-id: r21788
2006-04-11 12:59:44 +00:00
Max Horn
935989d8cd
More commented out stuff: added generateFilenameForDetection method, for use by the detector; and applied various fixes to generateFilename (which is still completely untested, so it certainly contains more 'bugs' :)
...
svn-id: r21771
2006-04-10 22:45:05 +00:00
Max Horn
0ed3018f2b
Some more tweaks to the (still unused) gameFilenamesTable; also readded an enhanced version of the (also unused) generateFilename function
...
svn-id: r21770
2006-04-10 22:25:42 +00:00
Max Horn
64ae34400f
Removing dummy code from resource.cpp
...
svn-id: r21769
2006-04-10 22:11:05 +00:00
Max Horn
8cbe1f3823
Merged scumm_settings into extra_versions, which in turn got renamed to gameVariantsTable
...
svn-id: r21768
2006-04-10 21:43:49 +00:00
Max Horn
7b7eb1f331
Changed the precedence of the MD5 overrides (highest priority: config file, then target_md5.txt override, finally the 'reaL md5); also did some cleanup and code unification
...
svn-id: r21736
2006-04-09 22:18:48 +00:00
Max Horn
cd5b1fee40
Removed some obsolete code
...
svn-id: r21735
2006-04-09 22:05:05 +00:00
Max Horn
39a2bc6812
Added gameFilenamesTable (currently unused, and hence disabled)
...
svn-id: r21734
2006-04-09 22:03:29 +00:00
Eugene Sandulenko
a74fcf7cee
Fix regression introduced by removing of GF_HE_CURSORLESS feature flag.
...
There are 3 cases of HE cursors:
o Default one. We set up cursor palette for it.
o Loaded from .HE3 (windows resource file). We use default cursor palette.
o Loaded from WizImage. We disable default cursor palette.
svn-id: r21711
2006-04-09 03:16:05 +00:00
Eugene Sandulenko
9438f803a6
Clarify UK/US language for those HE demos which UK versions we have reported.
...
svn-id: r21709
2006-04-09 00:57:41 +00:00
Eugene Sandulenko
dcfad9426f
Specify UK/US version for PuttTime since we have UK version reported for it.
...
svn-id: r21707
2006-04-09 00:37:20 +00:00