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
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
0bb35a7856
Corrected a warning message (findGame failures are due to unsupported gameids, and have nothing to do with targets)
...
svn-id: r22357
2006-05-05 00:28:26 +00:00
Max Horn
dad44b45d3
Removed Base::setTarget, and some minor cleanup & tweaks
...
svn-id: r22356
2006-05-05 00:26:03 +00:00
Max Horn
b56139b3aa
Updated outdated TODO
...
svn-id: r22354
2006-05-05 00:12:42 +00:00
Max Horn
dc2581fa09
Fingolfin just remembered *why* GUI::Actions::init() is called in scummvm_main, but luckily those reasons are gone now, so let's fix this :-)
...
svn-id: r22353
2006-05-05 00:05:38 +00:00
Max Horn
f42baa6dab
Some further cleanup in scummvm_main
...
svn-id: r22352
2006-05-05 00:03:21 +00:00
Max Horn
5e2d023aa8
Moved PalmOS specific call to ArgsFree up to the last point where argv is used (hopefully that's correct :-)
...
svn-id: r22351
2006-05-05 00:00:39 +00:00
Max Horn
e20d896a72
Fix s_appName computation
...
svn-id: r22350
2006-05-04 23:59:12 +00:00
Max Horn
be09fc77dc
Moved listGames, listTargets, runDetectorTest to base/options.cpp; also moved some code that was formerly in scummvm_main() to Base::processSettings()
...
svn-id: r22349
2006-05-04 23:57:49 +00:00
Max Horn
2dcf2c36ad
Removed last traces of class GameDetector
...
svn-id: r22348
2006-05-04 23:37:50 +00:00
Max Horn
64d9224b54
Renamed base/gameDetector.h/.cpp to base/options.h/.cpp
...
svn-id: r22347
2006-05-04 23:29:56 +00:00
Max Horn
5d5c02d66c
Moved GameDetector::setTarget & findGame to the new namespace Base; moved their declaration to base/game.h, their implementation to base/main.cpp (both until we can come up with a better location). Also moved detectMain into main.cpp, where it now is a local static function
...
svn-id: r22346
2006-05-04 23:24:09 +00:00
Max Horn
c46301bcc2
Make sure our config default values get properly registered
...
svn-id: r22345
2006-05-04 22:55:15 +00:00
Max Horn
6321cfc874
Turned the last remaining few GameDetector methods into static methods
...
svn-id: r22344
2006-05-04 22:52:18 +00:00
Marcus Comstedt
c319e97246
Put "path" config in game specific domain. Fixes bug #1475049 .
...
svn-id: r22343
2006-05-04 21:44:36 +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
Lars Persson
ffd43c54a6
Updates for S60V3 and UIQ3
...
svn-id: r22341
2006-05-04 20:47:27 +00:00