Max Horn
cc67301791
renamed VirtScreen::alloctwobuffers to hasTwoBuffers; added lots of doxygen comments to VirtScreen; cleanup
...
svn-id: r12168
2004-01-06 11:47:34 +00:00
Max Horn
d834bd9684
replace more usages of _screenWidth by more appropriate variables/values
...
svn-id: r12162
2004-01-05 16:49:14 +00:00
Max Horn
a469559d13
added Actor::getElevation and Actor::setElevation; cleaned up costume API a bit; some minor cleanup/tweaks
...
svn-id: r12160
2004-01-05 16:19:14 +00:00
Max Horn
d1e6c6059e
renamed global var _debugLevel to g_debugLevel; let Engine constructor init it (this way all engines get it for free, allows further cleanup); removed some useless/duplicate member vars in SwordEngine
...
svn-id: r12134
2004-01-04 14:00:58 +00:00
Max Horn
bceb48f5e0
renamed updateDirtyRect to markRectAsDirty (because that's what it really does); used virtual screen id constants in more places
...
svn-id: r12122
2004-01-03 22:45:23 +00:00
Max Horn
c06b1af619
be a bit more gentle to people typing in invalid box IDs :-)
...
svn-id: r12044
2003-12-30 23:05:34 +00:00
Max Horn
f23d990fda
improved box drawing in debugger (now also draws boxes of height 0
...
svn-id: r12042
2003-12-30 22:50:55 +00:00
Max Horn
e3e6bb3191
got rid of those _maxFOO macros, replaced them by access to the equivalent _numFOO variables
...
svn-id: r11953
2003-12-26 23:11:35 +00:00
Max Horn
27e32a7b42
fix debugger
...
svn-id: r11930
2003-12-25 22:49:10 +00:00
Max Horn
b5db74b2ac
_inventory was sometimes accessed one-based and sometimes zero-based -> always use zero-base, for consistency
...
svn-id: r11925
2003-12-25 21:56:12 +00:00
Max Horn
6a318fcdfe
cleanup
...
svn-id: r11921
2003-12-25 18:00:30 +00:00
Paweł Kołodziejski
1f9e408e2f
cleanup whitespaces
...
svn-id: r11217
2003-11-08 21:59:32 +00:00
Max Horn
b27a871f87
turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
...
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn
a4d2a47820
factor out common debugger code
...
svn-id: r10984
2003-10-26 21:30:52 +00:00
Max Horn
d581c99ab5
cleanup
...
svn-id: r10982
2003-10-26 19:16:59 +00:00
Max Horn
31ba12c800
some more target<->game cleanup
...
svn-id: r10769
2003-10-12 19:10:17 +00:00
Max Horn
b3f8b4010b
cleanup
...
svn-id: r10764
2003-10-12 17:49:52 +00:00
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