Commit Graph

204 Commits

Author SHA1 Message Date
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
Max Horn
af2574c02d fixed o8_getStringWidth (should fix bug #741625)
svn-id: r8035
2003-05-27 15:33:38 +00:00
Max Horn
18eca52743 added FIXME comment
svn-id: r8026
2003-05-26 22:37:18 +00:00
Torbjörn Andersson
8feba0dfaf cleanup
svn-id: r7866
2003-05-23 15:48:07 +00:00
Max Horn
c333b6d6ec replaced many unsafe uses of derefActorSafe by derefActor; replaced derefActorSafe/assert pairs by derefActor (gives better error message); replaced various derefActorSafe/if(a!=0) pairs by derefActor (in cases where the deref should never fail, ever, except due to a bug in ScummVM)
svn-id: r7859
2003-05-23 13:24:41 +00:00
Max Horn
c78664cbc9 renamed talkFrame1/talkFrame2 to talkStartFrame/talkStopFrame
svn-id: r7819
2003-05-22 09:58:33 +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
Jonathan Gray
280e8a0741 make fingolfin happy :)
svn-id: r7777
2003-05-21 10:38:45 +00:00
Jonathan Gray
b6dcd5cfae don't error out here to prevent a crash, is the check in softUserputon actually valid here?
svn-id: r7771
2003-05-21 07:13:52 +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
5ac005860c warning() automatically outputs a newline after the warning message; adding a newline into the format string adds another newline (which contains the single char '!')
svn-id: r7647
2003-05-18 21:14:50 +00:00
Max Horn
7171c5bcd4 cleanup
svn-id: r7646
2003-05-18 21:03:57 +00:00
Max Horn
4b82ea54cb output a warning if ignoreTurns is set (so that we can find out where it is used)
svn-id: r7551
2003-05-15 22:57:53 +00:00
Max Horn
f4c7f37743 Make use of ScummVM::Rect
svn-id: r7546
2003-05-15 22:30:32 +00:00
Max Horn
f495c14d84 opcodes are just one byte
svn-id: r7513
2003-05-14 20:37:53 +00:00
Max Horn
feee742268 added opcode 0xf7 (getActorZPlane)
svn-id: r7497
2003-05-14 10:16:57 +00:00