Max Horn
ff6731e00a
Removed 'smushMode' param from processInput and processKeyboard in favor of a new member _smushActive of ScummEngine_v7
...
svn-id: r24175
2006-10-07 17:42:32 +00:00
Max Horn
e31ae8edc7
Moved calls to addDefaultDirectory, and creation of the master file handle, from the ScummEngine constructor to ScummEngine::init() (this makes it easier to implement more graceful error handling, for example)
...
svn-id: r24173
2006-10-07 15:37:03 +00:00
Max Horn
4973c657b8
Moved all INSANE and SMUSH related code into ScummEngine_v7 (resp. ScummEngine_v6 in a few cases)
...
svn-id: r24169
2006-10-07 13:57:06 +00:00
Max Horn
c3fb1fbcd4
Moved SCUMM keyboard handling code from processInput() to the new (sub)method processKeyboard
...
svn-id: r24165
2006-10-07 12:33:22 +00:00
Max Horn
f13e4baaf9
Renemaed ScummEngine::processKbd to processInput (as it also deals with the mouse)
...
svn-id: r24164
2006-10-07 12:19:28 +00:00
Max Horn
ef30cdf78b
some HE related cleanup
...
svn-id: r24163
2006-10-07 11:54:50 +00:00
Max Horn
60951b6f1a
Moved some more code from class Gdi into new subclasses GdiV1 and GdiV2
...
svn-id: r23937
2006-09-18 22:06:39 +00:00
Max Horn
1324677395
Moved NES specific code from class Gdi to GdiNES
...
svn-id: r23934
2006-09-18 21:20:21 +00:00
Max Horn
fab33bf663
Moved stored flobjects to class ScummEngine_v70he
...
svn-id: r23924
2006-09-17 22:22:50 +00:00
Max Horn
51017cf1b2
Renamed ScummEngine::res to _res and allocate the ResourceManager on the heap (i.e. _res is a pointer now)
...
svn-id: r23922
2006-09-17 20:36:48 +00:00
Max Horn
8c0b0c0120
Changed ScummEngine::gdi to _gdi and allocate the Gdi object on the heap (i.e. _gdi is a pointer now)
...
svn-id: r23921
2006-09-17 20:22:47 +00:00
Max Horn
651d22b873
* Added virtual Engine::getDebugger() method
...
* Removed code from errorString() methods that hooked the debugger(s)
into error(), in favor of using getDebugger() from within error()
* As a consequence, removed most custom errorString() methods
svn-id: r23894
2006-09-16 19:31:23 +00:00
Max Horn
b860f002b2
Replaced checkRange by assertRange, which has (a) an (IMO) more logical order of parameters, and (b) removes lots of useless duplicate information in error messages
...
svn-id: r23885
2006-09-16 13:38:43 +00:00
Max Horn
94bd9ef05d
Moved allocResTypeData from ScummEngine to ResourceManager; removed friend declarations from ResourceManager, and performed other minor tweaks
...
svn-id: r23856
2006-09-09 18:20:28 +00:00
Travis Howell
903d9a2d6c
Ooops, re-enable sound code
...
svn-id: r23815
2006-09-01 12:06:51 +00:00
Travis Howell
7ca75815aa
Add HE72+ specific version of convertMessageToString(), to reduce filtering and since special codes aren't used.
...
svn-id: r23814
2006-09-01 12:04:40 +00:00
Travis Howell
e9be88c444
Rename VAR_MOUSEPRESENT to VAR_INPUTMODE and set the default input type to mouse mode. Fighting uses mouse mode by default in FOA now, just like the original game.
...
svn-id: r23727
2006-08-20 00:43:34 +00:00
Travis Howell
6ed462e06f
Rename VAR_WINDOWS_VERSION to VAR_PLATFORM_VERSION
...
svn-id: r23419
2006-07-08 10:28:35 +00:00
Travis Howell
41626a6af3
Add cyx's patch for 1513622 - HE: Palette glitch (recent regression)
...
svn-id: r23376
2006-07-06 11:40:50 +00:00
Max Horn
d210b19aec
Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
...
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)
svn-id: r23274
2006-06-24 08:07:48 +00:00
Travis Howell
70b5453731
Fix bug #1509496 - INDY3 (MAC): Map screen hangs up at azores.
...
svn-id: r23259
2006-06-22 13:04:19 +00:00
Travis Howell
286de879fd
Add cyx's patch for bug #1035739 - SCUMM/SMUSH: Ugly palette change when video finishes
...
svn-id: r23216
2006-06-21 10:28:09 +00:00
Travis Howell
4b2aa54304
Revert back to original method used for scrollEffect(), fixes regressions.
...
svn-id: r23214
2006-06-21 06:50:50 +00:00
Eugene Sandulenko
fd7e9847fc
Removed commented-out subtitles-related code. Requested by salty-horse.
...
svn-id: r23030
2006-06-11 20:29:07 +00:00
Travis Howell
61e9bc72e4
Correct setting of VAR_CHARINC in several functions, the value should only be reversed when using keyboard shortcuts (Due to the scrollbar)
...
svn-id: r22850
2006-06-03 03:04:19 +00:00
Travis Howell
3b1062d2d4
Add patch for bug #1452272 - COMI: Verb strings aren't wrapped
...
svn-id: r22793
2006-05-31 10:48:40 +00:00
Gregory Montoir
7ff20a70a5
The ScummDebugger object needs to be created after _numVariables has been set. This is apparently only done in in readMAXS() which is called by readIndexFile(). Moved the call to the object constructor in the init() method. This fixes the 'scumm_vars' debugger command.
...
svn-id: r22755
2006-05-29 18:30:27 +00:00
Travis Howell
a0d14a0832
Fix Commodore 64 versions
...
svn-id: r22732
2006-05-29 12:45:11 +00:00
Max Horn
dc2da7a804
Moved the hack that distinguishes MM V1 demo from the full version to a more appropriate location (so that the game gets correctly detected)
...
svn-id: r22718
2006-05-28 12:28:28 +00:00
Travis Howell
21f50b3267
Use different method to detect V1 demo of Maniac Mansion, since md5 matches the full version
...
svn-id: r22695
2006-05-28 03:47:20 +00:00
Torbjörn Andersson
8062eb6ec3
Set and show/hide mouse cursors through a "cursor manager" (analogous to the
...
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-25 22:51:42 +00:00
Eugene Sandulenko
9e3b78e1e9
--force-1x-overlay is no more. Remove leftovers.
...
svn-id: r22519
2006-05-18 13:59:20 +00:00
Eugene Sandulenko
14ec3f45fa
- Heavily modified patch #1214784 : "Disable overlay scaling"
...
- 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-17 23:52:45 +00:00
Torbjörn Andersson
44ac23a81d
Setting VAR_CHARINC = _defaultTalkDelay cannot possibly be right. It's not the
...
same thing as setting VAR(VAR_CHARINC) = _defaultTalkDelay.
svn-id: r22466
2006-05-14 09:22:49 +00:00
Travis Howell
ada0160e88
Check if VAR_CHARINC exists, before setting value in updateSoundSettings()
...
svn-id: r22462
2006-05-14 06:00:40 +00:00
Max Horn
0d6362ea48
Patch #1091170 : ALL, SCUMM: Subtitle speed control
...
svn-id: r22456
2006-05-13 17:30:04 +00:00
Travis Howell
d6d3a621dc
Init. videoParams vars for HE90+
...
svn-id: r22386
2006-05-08 11:04:51 +00:00
Travis Howell
3830ac06b3
Add initial DXA support for HE games
...
svn-id: r22384
2006-05-08 10:21:17 +00:00
Max Horn
39e887d6aa
Invoke updateSoundSettings a bit later, since it can only correctly set VAR_VOICE_MODE *after* setupScummVars() has been called
...
svn-id: r22247
2006-04-30 20:35:43 +00:00
Max Horn
eaca27a33b
Renamed updateVolumes to updateSoundSettings -- now it also handles subtitles/speech_mute settings. Also changed the ConfigDialog accordingly
...
svn-id: r22233
2006-04-29 23:09:40 +00:00
Max Horn
aeef84c961
Moved AKOS stuff to class ScummEngine_v6
...
svn-id: r22229
2006-04-29 16:51:29 +00:00
Max Horn
fcd178fca4
Added comment about a major leak in ScummEngine::restart
...
svn-id: r22228
2006-04-29 16:30:46 +00:00
Max Horn
c4df5037dc
* Renamed several methods in favor of a somewhat more uniform naming scheme: 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 16:24:39 +00:00
Max Horn
39e9853d91
* Added ScummEngine_v8::initScummVars()
...
* Moved VAR_LANGUAGE to class ScummEngine_v8
* Minor cleanup
svn-id: r22223
2006-04-29 13:56:36 +00:00
Max Horn
1735b0421b
Make use of the new scummLoop_* functions to move some SCUMM version specific stuff around
...
svn-id: r22219
2006-04-29 13:01:35 +00:00
Max Horn
cc3fac2ead
Split scummLoop into multiple functions, for easier maintanance & customizability
...
svn-id: r22218
2006-04-29 12:44:06 +00:00
Travis Howell
5c2dd8da24
Fix compile of SCUMM engine
...
svn-id: r22191
2006-04-27 04:59:13 +00:00
Max Horn
092fd96145
Replaced _hFileTable by _hInFileTable/_hOutFileTable
...
svn-id: r22182
2006-04-26 14:05:09 +00:00
Max Horn
b2befd7951
Moved _heTimers to ScummEngine_v60he
...
svn-id: r22116
2006-04-23 19:41:54 +00:00
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