Commit Graph
86814 Commits
Author SHA1 Message Date
Max Horn b5556c50fe Updated WinCE backend to the new form of FilesystemNode::listDir
svn-id: r22419
2006-05-12 20:55:53 +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
Sven Hesse 6add5edcee Crediting Patrick Combet (aka Dorian Gray) for the Gobliiins ADL player
svn-id: r22414
2006-05-12 13:04:00 +00:00
Torbjörn Andersson ccac2aea20 Whitespace changes. (Oh dear, now *I'm* forcing myself to large re-compiles.)
svn-id: r22413
2006-05-12 12:03:36 +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
Travis Howell 1d324dd2d2 Fix mingw compile
svn-id: r22400
2006-05-09 23:38:10 +00:00
Max Horn d5739c29fd Attempted fix for bug #1484881
svn-id: r22398
2006-05-09 21:55:29 +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
Torbjörn Andersson 30c0bd63bc Fixed bug #1483450. Apparently, S_ISDIR() is undefined if stat() fails. The
change to the POSIXFilesystemNode constructor is the one that matters to this
bug. The changes to listDir() are made from paranoia.

svn-id: r22382
2006-05-08 04:48:40 +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
Max Horn b2d4cd6a35 Paranoia
svn-id: r22379
2006-05-07 19:41:56 +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
Max Horn ae50315fa0 Added a default implementation of the OSystem CD API (which simply does nothing)
svn-id: r22370
2006-05-06 18:10:38 +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