aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm.cpp
AgeCommit message (Collapse)Author
2006-05-25Set and show/hide mouse cursors through a "cursor manager" (analogous to theTorbjörn Andersson
recently added (cursor) palette manager) so that the cursor can be properly restored after returning from the GUI. If there's any C++ magic that can keep the backend functions from being called by anything else than these managing classes, that would probably be a good idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps there are at least some backends that will no longer need to? svn-id: r22639
2006-05-18--force-1x-overlay is no more. Remove leftovers.Eugene Sandulenko
svn-id: r22519
2006-05-17- Heavily modified patch #1214784: "Disable overlay scaling"Eugene Sandulenko
- Eriktorbjorn's patch from same tracker item for scaling sword1/2 cutscenes is applied as is. It lacks resolution switch on-the-fly. - GUI widgets are repositioned on the fly and use most space, even aspect ratio corrected screen is used without scaling - Heavy tesing is required, but works for me in all cases except for bug #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch" which needs more work. - I probavly broke some backend or two svn-id: r22505
2006-05-14Setting VAR_CHARINC = _defaultTalkDelay cannot possibly be right. It's not theTorbjörn Andersson
same thing as setting VAR(VAR_CHARINC) = _defaultTalkDelay. svn-id: r22466
2006-05-14Check if VAR_CHARINC exists, before setting value in updateSoundSettings()Travis Howell
svn-id: r22462
2006-05-13Patch #1091170: ALL, SCUMM: Subtitle speed controlMax Horn
svn-id: r22456
2006-05-08Init. videoParams vars for HE90+Travis Howell
svn-id: r22386
2006-05-08Add initial DXA support for HE gamesTravis Howell
svn-id: r22384
2006-04-30Invoke updateSoundSettings a bit later, since it can only correctly set ↵Max Horn
VAR_VOICE_MODE *after* setupScummVars() has been called svn-id: r22247
2006-04-29Renamed updateVolumes to updateSoundSettings -- now it also handles ↵Max Horn
subtitles/speech_mute settings. Also changed the ConfigDialog accordingly svn-id: r22233
2006-04-29Moved AKOS stuff to class ScummEngine_v6Max Horn
svn-id: r22229
2006-04-29Added comment about a major leak in ScummEngine::restartMax Horn
svn-id: r22228
2006-04-29* Renamed several methods in favor of a somewhat more uniform naming scheme: ↵Max Horn
setupFOO for stuff that inits static data (i.e. will be called only once, or after loading savegames), vs. resetFOO / updateFOO methods which are called frequently and (re)set dynamic data. * Doing this, split scummInit into setupScumm and resetScumm methods * Moved some init code to new methods (huuuuge init methods are hard to read, and hard to customize using subclassing) * Renmaed various setup???Palette methods to set???Palette * Some minor cleanup / tweaks svn-id: r22227
2006-04-29* Added ScummEngine_v8::initScummVars()Max Horn
* Moved VAR_LANGUAGE to class ScummEngine_v8 * Minor cleanup svn-id: r22223
2006-04-29Make use of the new scummLoop_* functions to move some SCUMM version ↵Max Horn
specific stuff around svn-id: r22219
2006-04-29Split scummLoop into multiple functions, for easier maintanance & ↵Max Horn
customizability svn-id: r22218
2006-04-27Fix compile of SCUMM engineTravis Howell
svn-id: r22191
2006-04-26Replaced _hFileTable by _hInFileTable/_hOutFileTableMax Horn
svn-id: r22182
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