Commit Graph

219 Commits

Author SHA1 Message Date
Travis Howell
ad8cd22de0 Add missing break
svn-id: r12205
2004-01-07 05:28:56 +00:00
Travis Howell
5f665202d1 Add missing break
svn-id: r12203
2004-01-07 05:08:46 +00:00
Paweł Kołodziejski
8fd123992d synced imuse digital with local tree
svn-id: r12187
2004-01-06 17:28:29 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
55eb22fd3a Made o8_getActorZPlane return the same z value as Actor::drawActorCostume computes - this *might* cause regressions, or might fix bugs, or might have no visible effect at all :-). Somebody feel free to verify this against assembly
svn-id: r12166
2004-01-06 09:49:08 +00:00
Max Horn
f506056c3b more cleanup
svn-id: r12161
2004-01-05 16:30:00 +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
c0cc941ea4 try to make it more obvious how certain timer freqs are derived
svn-id: r11974
2003-12-27 16:40:01 +00:00
Max Horn
17c189d1f9 get rid of _noSubtitles, use ConfigManager directly instead; clean up some IMuseDigital oddities
svn-id: r11966
2003-12-27 15:22:59 +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
aa26fa0681 when introducing a constant used throughout multiple files, best assign a *name* to it, else you're digging your own grave on the long run :-)
svn-id: r11941
2003-12-26 13:13:56 +00:00
Paweł Kołodziejski
a45e92efed passthrought v7+ sound voices by imuse digital
svn-id: r11939
2003-12-26 12:15:23 +00:00
Max Horn
7a7548c1a8 cleanup
svn-id: r11923
2003-12-25 21:27:45 +00:00
Max Horn
1e5496b2c8 Moved bundle music code from class Sound to IMuseDigital (seems more natural; and allows for various cleanup)
svn-id: r11846
2003-12-22 08:22:04 +00:00
Travis Howell
83bf2e2593 Add keyboard support for derby in FT and cannon battle in COMI, patch #853099
svn-id: r11496
2003-12-05 00:02:01 +00:00
Paweł Kołodziejski
97c78cc376 changed getting position of bundle song to ms
svn-id: r11265
2003-11-12 07:05:52 +00:00
Max Horn
0bcc7ce80e made Scumm::OptionsDialog subclass GUI::OptionsDialog (code reuse); replaced Sound::_sound_volume_master and friends by ConfMan.get() calls; some whitespace cleanup
svn-id: r11257
2003-11-11 00:40:35 +00:00
Paweł Kołodziejski
514a9b5120 renamed back to o6_ifclassofif and extended names for dim opcodes
svn-id: r11242
2003-11-10 08:00:55 +00:00
Max Horn
03f50231d2 cleanup / some warnings (I'd like to know if and where those opcodes are used)
svn-id: r11237
2003-11-10 00:28:09 +00:00
Paweł Kołodziejski
a657b8e7ba renamed some opcodes and added sobopcode comments
svn-id: r11232
2003-11-09 22:12:16 +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
Torbjörn Andersson
570e60a487 Whitespace changes
svn-id: r10390
2003-09-24 06:33:59 +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
76d8ebf52f no need to manually call update_screen after a warp_mouse - if the backend needs to do a redraw in order to move the mouse, then it's the responsibility of the backend to ensure that it gets one
svn-id: r10186
2003-09-11 23:44:03 +00:00
Max Horn
ff225c470c cleanup
svn-id: r10179
2003-09-11 22:00:36 +00:00
Max Horn
81f10baa68 cleanup
svn-id: r10169
2003-09-11 10:32:15 +00:00
Max Horn
deb4f6b786 cleanup; fix for bug #795942 (COMI: text display off screen) and #785760 (COMI: Lockup/crash on Skull Island)
svn-id: r10144
2003-09-09 20:54:19 +00:00
Torbjörn Andersson
94df02c799 Implement the ACTOR_PAN opcode. The only place I know of where it's used is
between between ship-to-ship combats, so I didn't bother yet to store it in
savegames.

svn-id: r9988
2003-09-03 17:00:33 +00:00
Paweł Kołodziejski
5922f4c3d4 changed warning into debug in o8_startVideo func
svn-id: r9691
2003-08-14 17:17:11 +00:00
Max Horn
87ea0f9195 removed obsolete FIXME
svn-id: r9488
2003-08-05 12:25:24 +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
Max Horn
0c21927428 some comments
svn-id: r9052
2003-07-16 20:50:26 +00:00
Max Horn
c74e2eb4d7 factored out some duplicate code into a new method translateTextAndPlaySpeech; removed some completely useless code (why compute 'pointer' when we then throw away the result?)
svn-id: r9045
2003-07-15 21:30:53 +00:00
Max Horn
b88b7f3389 reduced duplicate code
svn-id: r9027
2003-07-14 22:21:11 +00:00
Max Horn
bb87787314 fix for bug #769744 (COMI: Trying to append to a nonexistant stream)
svn-id: r9025
2003-07-14 21:37:45 +00:00
Max Horn
963ecad362 debug/warning/error all automatically output a newline
svn-id: r8991
2003-07-13 16:22:17 +00:00
Torbjörn Andersson
9917c08f69 Comitted the partial (but seemintly good enough) actorHit implementation
from patch #754895.

Ship-to-ship combat is still rather glitchy, but there are probably other
reasons for that.

svn-id: r8519
2003-06-16 15:11:24 +00:00
Max Horn
f1fc68773d made stuff in class Sound protected where possible; moved readCreativeVocFile to imuse_digi.cpp and turned it into a static function; put the DigitalTrackInfo stuff into sound.cpp (keeping it private); removed #includes from sound.h (this cuts down interdependencies a little)
svn-id: r8493
2003-06-15 00:54:14 +00:00
Max Horn
c04f39304b don't incorrectly treat SO_PRINT_WRAP like SO_PRINT_MUMBLE; rather just ignore it
svn-id: r8406
2003-06-09 00:46:32 +00:00
Max Horn
49b9a8fc9d follow our coding conventions
svn-id: r8377
2003-06-07 00:49:36 +00:00
Max Horn
3baff34226 use enqueueText for FT, too
svn-id: r8284
2003-06-02 23:54:52 +00:00
Max Horn
35f29951eb moved blast text code to string.cpp
svn-id: r8282
2003-06-02 23:18:52 +00:00
Max Horn
4292d621af cleaned up the restart/pause/shutdown situation a bit; added comment that explains how restart might be implemented
svn-id: r8260
2003-06-02 02:25:24 +00:00
Max Horn
ac02e3d0d0 cleanup
svn-id: r8194
2003-05-31 21:42:33 +00:00
Max Horn
7ffb40e61b cleanup
svn-id: r8193
2003-05-31 21:25:14 +00:00
Max Horn
1c0da0a89c apply V6 elevation change to V8, too
svn-id: r8186
2003-05-31 17:18:41 +00:00
Max Horn
f8e64d7134 renamed walk_script/talk_script -> walkScript/talkScript
svn-id: r8178
2003-05-31 14:27:47 +00:00
Max Horn
691e1f390a rewrote Actor::needBgReset related code (this could cause regressions...)
svn-id: r8126
2003-05-30 00:55:21 +00:00
Max Horn
03609cc465 cleanup; added hackish fix for bug #744441
svn-id: r8048
2003-05-28 14:01:54 +00:00