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
Max Horn
988ec14c5f
fixed debugger 'scripts' command
...
svn-id: r7644
2003-05-18 20:33:22 +00:00
Jamieson Christian
fcc11d19fa
Added imuse_multimidi to debugger
...
svn-id: r7614
2003-05-17 19:03:25 +00:00
Jamieson Christian
319cbc1c8c
Reset sounds on room load
...
svn-id: r7558
2003-05-16 00:19:30 +00:00
Max Horn
1da2ef8de3
always draw walkboxes into virtScreen 0
...
svn-id: r7504
2003-05-14 13:38:58 +00:00
Max Horn
4ab566af90
handle EOF (Ctrl-D) a little bit better
...
svn-id: r7492
2003-05-14 00:44:44 +00:00
Max Horn
395b11b26c
added box drawing code from the old debugger to the new debugger (and cleaned it up + fixed it for rooms wider than one screen)
...
svn-id: r7491
2003-05-14 00:35:08 +00:00
Max Horn
f618744799
make it possible to use stdio for the debugger, instead of the console dialog (useful because the console is very narrow, which is annoying when using e.g. the 'box' command
...
svn-id: r7490
2003-05-13 23:56:30 +00:00
Max Horn
08f7ec192e
NUM_ACTORS -> _numActors (for consistency)
...
svn-id: r7489
2003-05-13 23:42:41 +00:00
Max Horn
acb35fc915
renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and _realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive)
...
svn-id: r7423
2003-05-10 21:49:59 +00:00
Max Horn
98881c3a6a
init all VAR_* variables to 0xFF; replaced access to _vars in the form _vars[VAR_*] by VARS(VAR_*) which performs a validity checK; renamed _vars to _scummVars to make sure I updated all places; fixed two places where V6 and newer games would access V5 vars (but there are still some left, it seems); checked VAR access for now only generates a warning
...
svn-id: r7393
2003-05-08 15:48:50 +00:00
Chris Apers
f5caac359d
Fix a bug with PalmOS
...
svn-id: r7368
2003-05-06 08:55:49 +00:00
Jonathan Gray
d12ff07ce2
patch #732518 loom learn drafts debugger command by erik
...
svn-id: r7342
2003-05-05 10:02:04 +00:00
Max Horn
975d325a92
Patch #731613 : debugger tab-completion (thanks, Willem!)
...
svn-id: r7293
2003-05-03 21:49:19 +00:00
Max Horn
0cacf945f2
Patch #730309 : DEBUGGER: Command to list Loom drafts
...
svn-id: r7233
2003-04-30 21:16:45 +00:00