Commit Graph

145 Commits

Author SHA1 Message Date
Eugene Sandulenko
154c4af8dc Mass-renamed all variables of Actor object according to our current code
formatting standards. Earlier we had half of vars named with leading
underscore and half without it.

Now code in actor.cpp is considerably more readable.

svn-id: r17068
2005-03-11 01:10:06 +00:00
Travis Howell
f7770e3cfe Add last change to o60_opeFile too.
svn-id: r17057
2005-03-10 00:50:54 +00:00
Travis Howell
78e3fc9415 Add missing actor redraws
svn-id: r16980
2005-03-03 03:06:30 +00:00
Travis Howell
99f54b437d Minor cleanup
svn-id: r16860
2005-02-22 13:54:38 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Travis Howell
ad0b8f1de5 Unused includes
svn-id: r16236
2004-12-21 06:09:40 +00:00
Max Horn
1ae87c0fbb Trying to cleanup the volume control mess inside the SCUMM engine: renamed MusicEngine::setMasterVolume to setMusicVolume; fixed iMuse to use the correct method for setMusicVolume (previously modified the iMuse internal volume control); hooked up the volume control of various other music engines; added ScummEngine::setupVolume method which can be called whenever volume settings change, and which gurantees that those are handled uniformly
svn-id: r15944
2004-11-28 21:24:02 +00:00
Chris Apers
1ac29aae1e Help PalmOS (and more ?) to save memory
svn-id: r15611
2004-10-19 12:30:42 +00:00
Travis Howell
e797a60e2a Extra case used in fbear introduction, no purpose.
svn-id: r15599
2004-10-18 00:44:10 +00:00
Travis Howell
c823af303a Color correction for HE70+ strings.
svn-id: r15586
2004-10-17 13:14:21 +00:00
Travis Howell
4667a12c9d Revert, break older games.
svn-id: r15579
2004-10-17 05:54:56 +00:00
Gregory Montoir
0765435c44 cleanup: moved some things to gfx.cpp and changed o60_setState to match disassembly of version 72
svn-id: r15578
2004-10-17 05:04:49 +00:00
Travis Howell
beb1ed4598 Rename as requested.
svn-id: r15530
2004-10-12 14:40:32 +00:00
Travis Howell
c35a093f96 Rename opcodes
svn-id: r15502
2004-10-10 05:49:30 +00:00
Travis Howell
8df034b6ac Add some missing code for HE100.
Cleanup

svn-id: r15494
2004-10-10 01:52:35 +00:00
Travis Howell
db63483001 Add missing roomOps case for HE games.
svn-id: r15404
2004-10-04 04:04:37 +00:00
Max Horn
e72ccd620b One more...
svn-id: r15384
2004-10-02 22:26:34 +00:00
Max Horn
37aa90052c Turned some methods into static functions
svn-id: r15383
2004-10-02 22:23:59 +00:00
Max Horn
6a50ba2308 Changed more of the actor class members to match our coding guidelines (in the future, when adding new member vars here, please always use our conventions, i.e. prefix them with _ and use CamelBackStyle
svn-id: r15331
2004-09-28 19:28:59 +00:00
Travis Howell
7ced14e961 talkQueue should be actor specific
svn-id: r15318
2004-09-28 00:58:00 +00:00
Travis Howell
be1ab48a57 Fix array pointer overflows in HE80+ games.
Some arrays are nuked in startScene.

svn-id: r15239
2004-09-23 05:02:15 +00:00
Travis Howell
08856609f3 Filename string go a bit higher
svn-id: r15231
2004-09-22 05:08:07 +00:00
Travis Howell
abefac8cd0 Add missing cases
svn-id: r15227
2004-09-22 00:22:32 +00:00
Gregory Montoir
6bfeab77e1 cleanup
add some warnings to detect the use of new Aux animation data

svn-id: r15226
2004-09-21 21:10:23 +00:00
Travis Howell
2c0f36cddc Should be HE60/70.
svn-id: r15211
2004-09-21 01:00:30 +00:00
Max Horn
768133d6e6 Rename some member vars to avoid _ followed by an uppercase letter. More of those are left in the code, though (and I am not really sure whether we want to change that, so far we had no problems caused by this)
svn-id: r15175
2004-09-18 22:42:45 +00:00
Max Horn
7b70210286 renamed HE opcodes to distinguish them from their 'regular' V6/V7 counterparts
svn-id: r15173
2004-09-18 22:09:34 +00:00
Max Horn
3552024aa9 Added ScummEngine::printString() convenience method; changed enqueueText to call addMessageToStack
svn-id: r15170
2004-09-18 20:50:15 +00:00
Travis Howell
49cd965411 Correction to pickVarRandom
Add HE80+ version too.

svn-id: r15138
2004-09-16 12:30:54 +00:00
Travis Howell
efeb100c70 Call direct
svn-id: r15127
2004-09-15 12:40:49 +00:00
Travis Howell
8c5381295d Add opcode
svn-id: r15115
2004-09-14 12:05:00 +00:00
Travis Howell
3b9def962c Add some change to start later HE99 hames.
svn-id: r15017
2004-09-12 02:25:12 +00:00
Travis Howell
e372b145b8 Correct object state.
svn-id: r15002
2004-09-11 03:02:37 +00:00
Travis Howell
c797a78177 HE 72+ games use a remove object from queue function.
svn-id: r14916
2004-09-06 01:10:31 +00:00
Travis Howell
61c1a11c60 Doesn't use smush
svn-id: r14915
2004-09-06 01:00:18 +00:00
Eugene Sandulenko
d21525d7fe Implement roomOp 234
svn-id: r14913
2004-09-05 22:57:09 +00:00
Travis Howell
6b09826b33 Increase actor.sound to 32 for HE 80+ games.
Add some more HE vars.
More adjustments for copying script strings in HE games.

svn-id: r14903
2004-09-05 09:36:51 +00:00
Max Horn
91a57ad8f5 cleanup (this actor clip stuff is really evil -- I have to agree with Kirben, it's totally unclear why they didn't just use the good old virt screen system...
svn-id: r14890
2004-09-04 10:29:06 +00:00
Travis Howell
255736dfb7 Complete actor clipping override code for HE games.
Add akos speech queue for HE games
Minor cleanup

svn-id: r14883
2004-09-04 08:13:48 +00:00
Travis Howell
b086ee7f67 Missing pop
svn-id: r14881
2004-09-04 00:31:38 +00:00
Travis Howell
438daed1f1 Add basic decoding of debug script scripts.
svn-id: r14871
2004-09-03 06:57:38 +00:00
Travis Howell
2a23b8fbc9 Add misisng case (Used in funpack)
svn-id: r14856
2004-09-01 10:15:10 +00:00
Travis Howell
ad56456e7b Add some more actor code for HE 7+ games.
svn-id: r14836
2004-08-30 07:52:54 +00:00
Travis Howell
9558cf379a Should read string too.
svn-id: r14834
2004-08-30 03:32:10 +00:00
Travis Howell
cbf5a60bab Add a few akos codes
Give unknown akos codes better names
Rename actor variable
Remove hack (Use multi-version flag instead)
Another sound correction for HE games.

svn-id: r14827
2004-08-29 11:27:16 +00:00
Travis Howell
b0be0f0452 Revert last change, was wrong opcode.
Add a few more HE 7 opcodes

svn-id: r14813
2004-08-28 14:05:33 +00:00
Travis Howell
d1a5cd802e Should redraw too.
svn-id: r14806
2004-08-28 07:20:04 +00:00
Travis Howell
0dd52d351b Add missing case
svn-id: r14805
2004-08-28 07:14:14 +00:00
Travis Howell
4c732d15c6 Limit nukeArrays to only location thats requires it for now.
svn-id: r14803
2004-08-28 04:14:33 +00:00
Travis Howell
4aeb595967 Applies to all HE 7.0+ games
svn-id: r14796
2004-08-27 12:56:01 +00:00