Max Horn
d7660a2662
introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
...
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
3f55f2669d
renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
...
svn-id: r10549
2003-10-02 22:42:03 +00:00
Travis Howell
4a62eb3e3b
More Amiga V2/V3 sound updates from _Q_:
...
1. A Player_MOD class, basically acts as a simplified mixer that mixes at 60Hz intervals (or whatever interval you specify), this gives smooth music playback in player_v3a
2. Some changes to player_v3a as a result of #1 , including reduced music volume
3. player_v2a, and the necessary additions to scummvm.cpp/scumm.h
svn-id: r10392
2003-09-24 06:56:30 +00:00
Torbjörn Andersson
570e60a487
Whitespace changes
...
svn-id: r10390
2003-09-24 06:33:59 +00:00
Paweł Kołodziejski
698e40ff1b
fixed conversion warning under vc7
...
svn-id: r10370
2003-09-23 08:56:12 +00:00
Max Horn
21ce55bc9f
make console height/width based on a float percentage of the overlay size -> the overlay isn't so tiny anymore in COMI
...
svn-id: r10329
2003-09-20 01:08:48 +00:00
Max Horn
6512592d0f
moved Actor x/y to _pos.x/_pos.y -> this makes it much easier to grep for access of the actor position
...
svn-id: r10253
2003-09-14 18:16:45 +00:00
Max Horn
c697e0fa67
nicer box matrix output in V3-V8 games
...
svn-id: r10178
2003-09-11 20:49:10 +00:00
Max Horn
6aa7a63ea0
fix V1/V2 walkmatrix debug command
...
svn-id: r10177
2003-09-11 18:23:53 +00:00
Max Horn
ce7e59e1ae
V2 walk matrix support
...
svn-id: r10176
2003-09-11 14:11:45 +00:00
Max Horn
81f10baa68
cleanup
...
svn-id: r10169
2003-09-11 10:32:15 +00:00
Max Horn
90ec1dc34e
make even more use of Scumm::_musicEngine; added MusicEngine::setMasterVolume
...
svn-id: r10097
2003-09-08 17:06:44 +00:00
Max Horn
0012f7fa96
added common base class MusicEngine for iMuse/iMuseDigital/Player_V123 (initial stab, more work to follow)
...
svn-id: r10066
2003-09-07 16:16:19 +00:00
Jochen Hoenicke
9c378d2f22
The imuse debugger commands now work with playerV2 too.
...
svn-id: r9704
2003-08-15 11:18:21 +00:00
James Brown
5dd554c47a
Add 'name' lookup ability to debuggers "actor" and "object" commands
...
svn-id: r9663
2003-08-13 16:24:35 +00:00
Jamieson Christian
a52b44f3fe
Expanded iMuse debugger commands. All iMuse
...
commands are now under "imuse", and underscores
have been removed.
imuse panic - Stop all music tracks
imuse multimidi on/off - Set multimidi
imuse play # - Play a sound resource
imuse play random - Play a random sound resource
imuse stop # - Stop a music resource
imuse stop all - Stop all music resources
Note that "play #" and "play random" only attempt
to play a sound resource. If the resource is not
a music resource or is in a format not supported by
the current music driver, it won't play.
You can use this as a mini jukebox, but be sure
you're in a room with minimal activity. The
goal is to minimize interference from the scripts
while playing sounds that are not expected in
that room.
svn-id: r9641
2003-08-11 14:48:21 +00:00
Jamieson Christian
550bf93656
Added imuse_panic to turn off all music players
...
svn-id: r9621
2003-08-10 11:39:17 +00:00
Jonathan Gray
f1a3253fa2
remove GF_LOOM
...
svn-id: r9603
2003-08-08 11:32:40 +00:00
Jamieson Christian
92b06a493c
Tweaked debugger output to avoid wrapping, esp.
...
in the case of tabular output.
svn-id: r9577
2003-08-06 17:51:39 +00:00
Travis Howell
de277d746c
Remove unneeded double brackets
...
svn-id: r9548
2003-08-06 09:35:56 +00:00
Travis Howell
5dd4d3e8e4
Add GF_LOOM feature flag for loom games to reduce checks.
...
Will make it easier to add loom fm towns target in future.
svn-id: r9547
2003-08-06 09:30:48 +00:00
Max Horn
05eb891492
another tab completion fix by wjp
...
svn-id: r9517
2003-08-05 19:43:04 +00:00
Max Horn
e738b64bb1
fix for debugger tab completion (thanks wjp)
...
svn-id: r9515
2003-08-05 19:23:26 +00:00
Max Horn
becd70d243
cleanup: encapsulate some more members of class Actor, and rename newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy)
...
svn-id: r9175
2003-07-24 17:44:00 +00:00
Nicolas Bacca
d79ae6f1f2
Fix for #775275 : debugger support on WinCE
...
svn-id: r9114
2003-07-21 22:30:15 +00:00
Jonathan Gray
21ea778e5a
fix argument check
...
svn-id: r9016
2003-07-14 12:48:46 +00:00
James Brown
90bac4a5ce
Fix compilation, V1 verb positions
...
svn-id: r8880
2003-07-09 14:57:15 +00:00
James Brown
53b244f77f
Patch #768217 : Apply Mankeli's 'object state' debugger command
...
svn-id: r8879
2003-07-09 13:23:16 +00:00
Max Horn
3ed9aae095
const correctness
...
svn-id: r8727
2003-07-03 22:06:13 +00:00
Max Horn
92fd56f9f0
removed #include "boxes.h" from scumm.h; cleaned up AdjustBoxResult definition & usage; properly deal with larger box distances, thus partially fixing Zak on the airport (but original seems to have used a very different algorithm, so this really is only a partial fix)
...
svn-id: r8710
2003-07-02 13:47:03 +00:00
James Brown
00d5c5af89
Add a few more actor debugger subcommands, and correct V2 coordinate translation for
...
o2_(get/set)ActorElevation
svn-id: r8683
2003-07-01 04:20:41 +00:00
Max Horn
f4a31da513
runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPT
...
svn-id: r8468
2003-06-14 12:23:30 +00:00
Max Horn
49b9a8fc9d
follow our coding conventions
...
svn-id: r8377
2003-06-07 00:49:36 +00:00
James Brown
9be08a55f9
Clean up debugger Restart function and move to SCUMM restart function
...
svn-id: r8263
2003-06-02 05:38:45 +00:00
Max Horn
cb5fb5d403
added a getMaskBuffer method (makes it easier to read some of the code); merged setVirtscreenDirty() into updateDirtyRect(); made setDirtyRange a method of struct VirtScreen
...
svn-id: r8241
2003-06-01 14:30:26 +00:00
Max Horn
6c92fc12c0
added box matrix debug command
...
svn-id: r8179
2003-05-31 14:32:35 +00:00
Max Horn
6762073acd
perform y ciping for box polygons, too (avoids crashes)
...
svn-id: r8177
2003-05-31 14:24:06 +00:00
Max Horn
7b96eb0c2a
fixed debugger command params bug
...
svn-id: r8176
2003-05-31 14:20:24 +00:00
Max Horn
b4ee5004d7
Patch #745022 : More help in Debugger
...
svn-id: r8068
2003-05-28 22:27:38 +00:00
Max Horn
af2574c02d
fixed o8_getStringWidth (should fix bug #741625 )
...
svn-id: r8035
2003-05-27 15:33:38 +00:00
Max Horn
170444836c
script index starts at 0
...
svn-id: r8021
2003-05-26 20:49:18 +00:00
Max Horn
b6a424a1df
scumm vars are 32 bit, not 16
...
svn-id: r8020
2003-05-26 20:48:10 +00:00
Max Horn
9b9f457ba7
offset can be 5 digits
...
svn-id: r7984
2003-05-26 01:48:53 +00:00
Max Horn
c55a7e32da
script numbers can have up to 5 digits
...
svn-id: r7982
2003-05-26 01:33:02 +00:00
Max Horn
0856fba592
output script offsets, too (very handy to debug script lockups)
...
svn-id: r7981
2003-05-26 01:32:02 +00:00
Max Horn
86d57f3c7a
many pedantic warning fixes (and some actual potential buglets fixed, too)
...
svn-id: r7795
2003-05-21 18:09:49 +00:00
Max Horn
49e7f7564a
renamed various things for clarity
...
svn-id: r7754
2003-05-20 20:58:26 +00:00
Max Horn
1a394aa3c7
added enum's for the known actor/object claasses; extended putClass/getClass to translate the X/Y flip classes; made code use the new enum's; some other cleanup
...
svn-id: r7753
2003-05-20 20:42:28 +00:00
Max Horn
18a6b5dcc1
renamed ScriptSlot::unk1/unk2 to freezeResistant/recursive
...
svn-id: r7688
2003-05-19 11:31:35 +00:00
Jamieson Christian
ac9a392a5b
Fixed VC++ warnings
...
svn-id: r7652
2003-05-18 23:45:34 +00:00