aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm.cpp
AgeCommit message (Collapse)Author
2006-04-23Moved _heTimers to ScummEngine_v60heMax Horn
svn-id: r22116
2006-04-23Move HE specific stuff from class Sound to its new subclass SoundHEMax Horn
svn-id: r22115
2006-04-23Moved ScummEngine_v5 from cursor.cpp to scumm.cpp (seems to be more natural, ↵Max Horn
even though it inits some cursor related stuff) svn-id: r22114
2006-04-23Behold, the new SCUMM detector finally has arrived. Unified detection & ↵Max Horn
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-23Replaced _demoMode by GF_DEMOMax Horn
svn-id: r22087
2006-04-17Call updateScreen() from waitForTimer() (instead of usually right before it)Torbjörn Andersson
for smoother mouse cursor movement. svn-id: r21993
2006-04-16Fix for bug #1471383: Instead of overloading ConfigManager::set, we now have ↵Max Horn
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-15Removed unused #includeMax Horn
svn-id: r21918
2006-04-15- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a ↵Max Horn
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- Get rid of GameDetector::_dumpScripts and GameDetector::_force1xOverlay in ↵Max Horn
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-12Fixing mismatch between format strings and data on some systemsMax Horn
svn-id: r21827
2006-04-12sizeof(void *) != sizeof(int) for a large number of systems.Jonathan Gray
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-08Properly translate Common::Language values for COMIMax Horn
svn-id: r21704
2006-04-08Renamed various *GameSettings to GameSettings (our namespaces are enough to ↵Max Horn
distinguish them) svn-id: r21684
2006-04-03GF_HE_CURSORLESS feature flag not required, since HE games always set a ↵Travis Howell
default cursor too. svn-id: r21576
2006-04-01Generate an error when kGenAsIs is used with an unsupported platform, ↵Max Horn
instead of silently continuing with a bogus _fileHandle (leading to odd crashes) svn-id: r21528
2006-03-20The Hercules specific screen size check is no longer requiredTravis Howell
svn-id: r21390
2006-03-19Moved filename substitution code from scumm.cpp to plugin.cppMax Horn
svn-id: r21386
2006-03-19Add workaround for script bug in Loom (CD)Travis Howell
svn-id: r21371
2006-03-17Add another German version of puttzoo demoTravis Howell
svn-id: r21341
2006-03-14Renamed & documented the LIGHTMODE flagsMax Horn
svn-id: r21288
2006-03-14Enhance the new getCurrentLights to work for V6+ games, too, making it ↵Max Horn
possible to remove several special cases throughout the code svn-id: r21286
2006-03-14Avoid all scumm var conflicts in C64 maniacTravis Howell
svn-id: r21277
2006-03-12IMuse SysEx processing now handled by client-specified callbacks. This ↵Jamieson Christian
removes all game-specific references from the Player class. Bloodshed Dev-C++ project file updated. svn-id: r21241
2006-03-12Adjust basename array setting in HE99+ games, for filename substitutionTravis Howell
svn-id: r21229
2006-03-10Add Russian puttrace and pajama3Eugene Sandulenko
svn-id: r21209
2006-03-08Fixed tons of format string warnings for debug/error calls (including ↵Max Horn
several errors where the format string didn't match the number of arguments to the call) svn-id: r21141
2006-03-05Restructured IMuse and IMuseInternal.Jamieson Christian
* IMuse is no longer a concurrency front-end. * IMuseInternal now derives from IMuse. * Common::StackLock used to protect thread-sensitive interface methods (same as IMuseDigital). * clear_queue() included in stopAllSounds() so it can be removed from the public interface. * Game ID now specified at init using property(). * Timer callbacks receive a struct containing IMuseInternal and MidiDriver refs, instead of just the latter. * OSystem pointer from init is now cached and used instead of global. All references to the g_system and g_scumm globals are now gone. BOOYAH! Tested with MI2, DOTT and S&M, under Windows, in Native MIDI, Adlib, and Mixed modes. No regressions or concurrency issues observed. Manifestations of the latter are the biggest concern at this point. svn-id: r21104
2006-03-05Make sure there actually is a SMUSH mixer before stopping and deleting it.Torbjörn Andersson
svn-id: r21099
2006-03-05that should help for bug #1352486, smush sound tracks are not stopped ↵Paweł Kołodziejski
immediately, but outside smush when sound data are depleted in sound mixer buffer. svn-id: r21094
2006-03-05Add German verbs and more work on input in C64 maniacTravis Howell
svn-id: r21089
2006-03-04No need to use generateSubstResFileName when we already know the resultMax Horn
svn-id: r21072
2006-03-04Const as const can (marking things as const/static allows better compiler ↵Max Horn
optimizations and helps to catch certain bugs) svn-id: r21069
2006-03-04Cleanup for the container loading code (and always disable file name ↵Max Horn
substitution when a container file is used svn-id: r21067
2006-03-04When container files are used, we don't need file name substitution anymoreMax Horn
svn-id: r21066
2006-03-04Added a comment about the first few entries in substResFileNameTableMax Horn
svn-id: r21065
2006-03-04Since findSubstResFileName / applySubstResFileName only compare up to the ↵Max Horn
first '.', we should be able to safely remove anything after the '.' in all substResFileNameTable entries (I am leaving the 00.LFL names untouched for now, for clarity) svn-id: r21064
2006-03-04Renamed SubstResFileNames::winName and macName to almostGameID / ↵Max Horn
expandedName (the old names were misleading; the new ones aren't great either :) svn-id: r21062
2006-03-03Moved ScummFile etc. to the new file.cpp / file.hMax Horn
svn-id: r21038
2006-03-03String constants are const -> fixing compiler warningsMax Horn
svn-id: r21036
2006-03-03Fix bug #1439279: "SCUMM: SubstResFileNames partial breakage"Eugene Sandulenko
svn-id: r21034
2006-03-02Fix using items in C64 maniac and cleanupTravis Howell
svn-id: r21011
2006-03-02Yet another patch for bug #1407789 (FT: Invalid Actor when "Combining" Two ↵Max Horn
Items) svn-id: r21006
2006-03-02Fix inventory display in C64 maniacTravis Howell
svn-id: r21003
2006-03-02Improve input in C64 maniacTravis Howell
svn-id: r21000
2006-03-01Initialize new SCUMM vars for V1/2Travis Howell
svn-id: r20998
2006-03-01Update string array tables and use for all possible games and stringsTravis Howell
svn-id: r20980
2006-02-27Charset 0 is loaded on start in original versions of OLD_BUNDLE games tooTravis Howell
svn-id: r20955
2006-02-26COMI uses a separate setting for the verb charset, verbs use correct charset nowTravis Howell
svn-id: r20907
2006-02-26Camera variables are initialised on startup by COMI tooTravis Howell
svn-id: r20906