Travis Howell
9dfcea8739
Split VGA resource management back into FF and Simon 1/2 versions
...
svn-id: r22427
2006-05-13 06:18:47 +00:00
Johannes Schickel
a5b4fb7f18
- little cleanups
...
- adds kyra3 dummies
svn-id: r22425
2006-05-12 23:57:53 +00:00
Max Horn
3623a94927
Added the new AbstractFilesystemNode::getCurrentDirectory() method. Also changed the semantics of the FilesystemNode constructors (see also the relevant doxygen comments for explanations). This also fixes bug #1485941 .
...
svn-id: r22424
2006-05-12 21:41:54 +00:00
Torbjörn Andersson
860073c45a
Fixed two regressions in the o1_specialFade() opcode: The wrong colours were
...
faded, and they weren't faded enough. Don't you just love opcodes that are only
ever used at the very end of the game?
svn-id: r22418
2006-05-12 20:09:15 +00:00
Max Horn
d00755de8e
Removing some unused code from INSANE
...
svn-id: r22417
2006-05-12 18:00:41 +00:00
Torbjörn Andersson
4ecee0e0f2
In Simon 1, when returning to normal size, the MIDI music contains "All
...
Controllers Off" messages. This should, among other things, reset the channel
volume to 100. Until now, however, we did not re-adjust the volume by the
master volume (like we do for ordinary volume control changes), so all of a
sudden there would be channels playing at the wrong volume.
This was particularly noticeable if you first turned down the music volume to
really low.
svn-id: r22412
2006-05-12 10:29:58 +00:00
Torbjörn Andersson
171285e8e5
Whitespace changes.
...
svn-id: r22411
2006-05-12 08:49:04 +00:00
Sven Hesse
42e03bd707
- Sound! Still a bit glitchy, though:
...
- Negative frequences?!? Maybe "SFX"?
- No sound for a small part of the intro
(there aren't any sndKeys covering that part either)
- A rythm-instrument (hi-hat?) in the titlemusic isn't played as one
- More differences in the drawing functions fleshed out
- Some of the goblin handling functions written
- More unnamed functions and variables, wheeee...
svn-id: r22410
2006-05-11 19:43:30 +00:00
Torbjörn Andersson
d6af07989d
This could be completely wrong, but I don't think Hotspot::stopWalking() is
...
supposed to call setCurrentAction() in Resources, because then ScummVM will
crash in getCurrentActionStr() whenever we try to interact with any object.
Since Hotspot::walkTo() calls setCurrentAction() in Hotspot, it seems like a
reasonable guess that this is the setCurrentAction() that stopWalking() should
call as well.
svn-id: r22409
2006-05-11 08:25:09 +00:00
Torbjörn Andersson
21b91adcdf
Changed "it's" to "its" in a few comments.
...
svn-id: r22408
2006-05-11 08:04:41 +00:00
Torbjörn Andersson
dba0c5ca2c
Whitespace changes.
...
svn-id: r22407
2006-05-11 07:59:50 +00:00
Paul Gilbert
30231a39c8
Added proper labels in some of the existing disassembled methods
...
svn-id: r22406
2006-05-11 07:25:54 +00:00
Torbjörn Andersson
d2030f17b3
Removed hack that was used to limit the mouse cursor to (at most) 80x80 pixels.
...
That limit has been lifted from the SDL backend.
NOTE: This may cause problems in other backends!
svn-id: r22405
2006-05-10 20:50:59 +00:00
Johannes Schickel
be6b640b92
Adds clipping to the workaround in "preserveOrRestoreBackground", so it does not overwrite the interface.
...
svn-id: r22404
2006-05-10 20:45:42 +00:00
Johannes Schickel
56e03a85dd
Adds workaround for bug # 1477364 ("KYRA1: Water dripping freezes") until a proper solution is found.
...
svn-id: r22403
2006-05-10 20:30:58 +00:00
Johannes Schickel
e6350f8afa
Enables OSystem::kFeatureAutoComputeDirtyRects until proper dirty rect managment is implemented.
...
svn-id: r22402
2006-05-10 20:28:27 +00:00
Torbjörn Andersson
fa82f0b066
Decrease delay to make it less likely that the Simon 1 (and other?) save/load
...
dialog misses keystrokes.
svn-id: r22401
2006-05-10 09:43:06 +00:00
Eugene Sandulenko
d2546e3979
- Updated MSVC8 project files
...
- Renamed base/options.cpp to base/commandLine.cpp because of conflict
with gui/options.cpp which sit in same directory in MSVC builds
- Moved AudioCDManager singleton declaration outside of Audio namespace
- Fixed numerous MSVC warning of potentially uninitialized variables and
int <-> bool conversions.
svn-id: r22397
2006-05-09 14:16:43 +00:00
Travis Howell
4c67122463
Avoid closing a video file in HE games twice
...
svn-id: r22396
2006-05-08 22:53:09 +00:00
Torbjörn Andersson
31f83ff233
Implemented FW inventory. This is basically a copy of makeMenuChoice(), minus
...
the ability to select menu items. There will be cleanups later, but for now we
try to match the original.
svn-id: r22395
2006-05-08 19:49:52 +00:00
Torbjörn Andersson
816fd39d58
Added delay() to delayWithTicks() as well. This function is quite similar to
...
some of the custom delay loops in script_v1.cpp. Could it be used there?
svn-id: r22394
2006-05-08 16:04:08 +00:00
Torbjörn Andersson
575eb8b775
Replaced a bunch of delay loops with a new delayUntil() function. Now all of
...
them will at least sleep if the remaining delay is at least 10 ms. (Personally,
I don't like the idea of busy-waiting even 9 ms, but now that it's in its own
function, it becomes much easier if we want to change that behaviour. There are
still plenty of custom delay loops left, though.)
svn-id: r22393
2006-05-08 15:40:30 +00:00
Torbjörn Andersson
73f0a23bee
Added comment about switch case fallthrough. I assume this one is deliberate,
...
but they're easy to miss at a casual glance.
svn-id: r22392
2006-05-08 14:49:54 +00:00
Torbjörn Andersson
484b480b45
As LordHoto pointed out, placeItem is already initialised to false, so we only
...
need to set it to true.
svn-id: r22391
2006-05-08 13:52:44 +00:00
Torbjörn Andersson
c5d912fa1c
Small cleanup. It's not that I mind fallthroughs - as long as they are clearly
...
labelled as being intentional - but to save just one line of code? That hardly
seems worth it.
svn-id: r22390
2006-05-08 13:42:29 +00:00
Torbjörn Andersson
e2656a276a
Changed abs() to ABS()
...
svn-id: r22389
2006-05-08 13:34:21 +00:00
Travis Howell
3f9395831c
Fix regression in lost, the middle directories were removed
...
svn-id: r22388
2006-05-08 13:10:49 +00:00
Travis Howell
ca513f7e66
Fix off by one in rect when capturing image
...
svn-id: r22387
2006-05-08 11:41:32 +00:00
Travis Howell
d6d3a621dc
Init. videoParams vars for HE90+
...
svn-id: r22386
2006-05-08 11:04:51 +00:00
Torbjörn Andersson
8179d3e80b
Missed a couple of switch cleanups.
...
svn-id: r22385
2006-05-08 10:29:20 +00:00
Travis Howell
3830ac06b3
Add initial DXA support for HE games
...
svn-id: r22384
2006-05-08 10:21:17 +00:00
Torbjörn Andersson
cf42a24833
Cleanup: Use ScummVM indentation style for switch() cases. In some cases, I
...
have added or removed "break"s, but not in any way which should change the
program's behaviour. I.e. I've added "break" to the final case, and after
calling quitGame(), and I've removed "break" after "return".
svn-id: r22383
2006-05-08 10:16:19 +00:00
Travis Howell
e2c058551b
Add missing file details for HE games
...
svn-id: r22381
2006-05-08 04:11:21 +00:00
Paul Gilbert
b20966b92b
Initial disassembly of NPC schedule handling methods
...
svn-id: r22380
2006-05-07 22:36:26 +00:00
Johannes Schickel
027fb7febe
Fixes playing of credits music.
...
svn-id: r22378
2006-05-07 19:20:19 +00:00
Max Horn
2e9bb56744
Turning this warning into an error, since I never got any feedback on it
...
svn-id: r22376
2006-05-07 11:58:01 +00:00
Max Horn
9a6c120b0d
Handle line breaks/overflow for V1-V3 games *after* processing newline codes, to avoid double breaks (which result in spurious empty lines)
...
svn-id: r22375
2006-05-07 11:47:17 +00:00
Max Horn
c4f6cc5819
Perform (horizontal) charset text clipping for V1-V3, too
...
svn-id: r22374
2006-05-07 11:45:55 +00:00
Travis Howell
58cd5ec5d5
Fix slowFadeIn, the code of original Windows version was flawed
...
svn-id: r22372
2006-05-07 00:32:00 +00:00
Max Horn
3e0cb0dfd0
Fix for bug #1449597 (MANIAC: Incorrect word wrapping)
...
svn-id: r22371
2006-05-06 22:49:57 +00:00
Travis Howell
37d2f30999
Ooops, skip WAV data, before changing size var
...
svn-id: r22367
2006-05-06 08:33:52 +00:00
Torbjörn Andersson
90ced09997
Use scumm_stricmp() instead of stricmp() to fix compile error on some systems,
...
e.g. mine.
svn-id: r22366
2006-05-06 08:30:39 +00:00
Travis Howell
c552cfdafb
Add support for non-English audio in cutscenes of Amiga/Mac. versions of FF
...
svn-id: r22365
2006-05-06 08:21:57 +00:00
Travis Howell
6913623068
Fix typo, which caused FLAC speech files to fail
...
svn-id: r22364
2006-05-06 06:25:15 +00:00
Travis Howell
13871e4320
Add another English version of socks
...
svn-id: r22362
2006-05-05 11:21:22 +00:00
Travis Howell
3cd65c2d8d
Remove leftover
...
svn-id: r22361
2006-05-05 05:59:03 +00:00
Travis Howell
713dac6aba
Fix inventory arrows regression in Simon 1
...
svn-id: r22360
2006-05-05 05:54:35 +00:00
Travis Howell
54eeb8aeed
Match fade code of original games and minor cleanup
...
svn-id: r22359
2006-05-05 05:53:36 +00:00
Travis Howell
eed7d3e413
Update copyright
...
svn-id: r22358
2006-05-05 00:42:37 +00:00
Max Horn
b727a89b6c
Set speech_mute/sfx_mute/music_mute values in one single central place
...
svn-id: r22342
2006-05-04 21:14:50 +00:00