Gregory Montoir
da874257a5
to please PalmOS, I moved the _wiz member to ScummEngine_v70he, where it actually belongs, I don't quite like the upcasts I introduced, but I don't know how to deal without them
...
svn-id: r16132
2004-12-19 12:30:40 +00:00
Max Horn
b93dd59a44
Reduce code size of resource.cpp to help PalmOS port, by moving util code to a new file util.cpp and sound resource code to sound.cpp
...
svn-id: r16105
2004-12-17 22:27:15 +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
Gregory Montoir
5e351b0c31
moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications
...
svn-id: r15921
2004-11-27 17:50:23 +00:00
Max Horn
d172111444
Don't use directory param of File::open unless you have to
...
svn-id: r15904
2004-11-27 02:26:21 +00:00
Eugene Sandulenko
31e434dcf1
Fix a`ll engines. They work, though current fix is just temporary.
...
There are plans to add some brains to GameDetector class, which will let us
avoid passing detector to init() method.
svn-id: r15873
2004-11-24 00:14:21 +00:00
Max Horn
aad9f122c0
Added Engine::init() method; added return value to Engine::go()
...
svn-id: r15865
2004-11-23 00:03:25 +00:00
Max Horn
e146d5f8c3
Renamed unkMessage2 to showMessageDialog; use printString() in script_v100he.cpp, too
...
svn-id: r15862
2004-11-22 22:32:46 +00:00
Eugene Sandulenko
df4d3fe47a
Move most heavy initialization from engine constructor to mainInit()
...
method which is called from go(). This ensures that extrapath is added
to list od default directories after all other paths.
svn-id: r15815
2004-11-15 03:57:22 +00:00
Travis Howell
df17c27ebf
Add patch #1060453 - MIVGA: Actor Scale Patch
...
svn-id: r15712
2004-11-05 05:13:56 +00:00
Travis Howell
c70a3c76d3
Move number of actors to scumm settings.
...
The amount of actors in HE games changes a lot between games.
svn-id: r15673
2004-10-24 06:58:41 +00:00
Travis Howell
9531348692
_images not required.
...
Free extra HE resources on exit.
svn-id: r15605
2004-10-18 14:37:38 +00:00
Travis Howell
1922b330ad
Add keyboard control for HE80+ games.
...
svn-id: r15604
2004-10-18 06:40:36 +00:00
Travis Howell
beb1ed4598
Rename as requested.
...
svn-id: r15530
2004-10-12 14:40:32 +00:00
Travis Howell
4e268316d0
Rename var and enable in COMI.
...
svn-id: r15410
2004-10-04 14:28:43 +00:00
Travis Howell
db63483001
Add missing roomOps case for HE games.
...
svn-id: r15404
2004-10-04 04:04:37 +00:00
Travis Howell
4364606894
Add some HE99 vars
...
Rename opcodes
svn-id: r15403
2004-10-04 02:23:02 +00:00
Travis Howell
9570bf38de
Definately Palettes.
...
Update HE todo.
svn-id: r15369
2004-10-01 11:25:25 +00:00
Gregory Montoir
2f8136b703
constness
...
svn-id: r15364
2004-09-30 23:49:46 +00:00
Travis Howell
3e4fd97f42
Number of local scripts is no longer constant
...
svn-id: r15352
2004-09-30 06:39:39 +00:00
Max Horn
40deccb105
cleanup
...
svn-id: r15350
2004-09-29 21:45:52 +00:00
Travis Howell
7ced14e961
talkQueue should be actor specific
...
svn-id: r15318
2004-09-28 00:58:00 +00:00
Gregory Montoir
914d00f51a
wiz stuff cleanup and o90_unknown1C opcode update
...
svn-id: r15293
2004-09-26 15:29:58 +00:00
Max Horn
cc7ca9ce4b
some more pointless cleanup / moving around of stuff :-)
...
svn-id: r15284
2004-09-26 07:30:29 +00:00
Travis Howell
db00315d5b
Revert change, breaks draw of objects.
...
svn-id: r15276
2004-09-25 23:14:09 +00:00
Max Horn
a7406555d8
Cleanup / correction
...
svn-id: r15272
2004-09-25 17:46:23 +00:00
Eugene Sandulenko
5c146947cc
Fix compilation.
...
svn-id: r15271
2004-09-25 16:30:14 +00:00
Max Horn
6749efe84c
Avoid out-of-bounds access in V7_SMOOTH_SCROLLING_HACK mode
...
svn-id: r15258
2004-09-24 22:31:42 +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
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
Max Horn
2f9ea12ddd
cleanup
...
svn-id: r15224
2004-09-21 13:54:30 +00:00
Max Horn
899a64cbc9
cleanup
...
svn-id: r15222
2004-09-21 12:44:34 +00:00
Max Horn
faf42c2858
Moved some init code around (hopefully this'll help PalmOS)
...
svn-id: r15209
2004-09-20 22:04:06 +00:00
Travis Howell
e9a9a64109
Opcode1C in HE90+ games seems to setup WizImage settings via various cases.
...
svn-id: r15198
2004-09-20 05:30:26 +00:00
Gregory Montoir
0cb722d71d
slightly updated drawWizImage()
...
svn-id: r15197
2004-09-19 23:21:09 +00:00
Eugene Sandulenko
64043ff1fc
Removed some not necessary #defines which could (and did) lead to program
...
logic misinterpretation. I assume these were added for readability, but
(a) names suggestet that they're class variables but they didn't
(b) their use wasn't consistent, i.e. there were places where variables were
used directly, not by means of the macros
(c) they didn't save that much space because they are used in few places.
svn-id: r15179
2004-09-19 00:15:17 +00:00
Eugene Sandulenko
4869c2f9c1
Revert last commit by Fingolfin "removed _heV7RoomIntOffsets".
...
res.roomoffs[rtRoom] has a nick _roomFileOffsets (by means of #define), and
it gets overwritten in ScummEngine::readRoomsOffsets(). HE games actually
stored those offsets in additional array. Removing it breaks all
HE72+ games badly.
svn-id: r15178
2004-09-18 23:48:48 +00:00
Max Horn
c7ba97b182
removed _heV7RoomIntOffsets
...
svn-id: r15177
2004-09-18 23:02:08 +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
3552024aa9
Added ScummEngine::printString() convenience method; changed enqueueText to call addMessageToStack
...
svn-id: r15170
2004-09-18 20:50:15 +00:00
Max Horn
58c574d7cc
Moved mouse cursor code into ScummEngine subclasses were possible -- this makes it much easier to see which cursor code is used in which SCUMM version; also changed cursor code to not overwrite default_cursor_* (which would cause problems when switching to another game)
...
svn-id: r15169
2004-09-18 20:29:13 +00:00
Gregory Montoir
22b2cfa002
preliminar AuxQueue support (freddemo intro), some glitches though
...
svn-id: r15149
2004-09-18 00:36:17 +00:00
Travis Howell
d34da28ed9
nukeArrays still nuking wrong arrays.
...
Add some more differences in later HE versions.
Add HE opcodes changes.
svn-id: r15145
2004-09-17 05:43:37 +00:00
Travis Howell
167f5d543f
Save polygons
...
Move findObject changes to HE72
svn-id: r15118
2004-09-14 15:06:02 +00:00
Travis Howell
b42731afab
Load POLD resources in HE80+ games
...
Some more WIP on polygons
svn-id: r15107
2004-09-14 06:21:11 +00:00
Eugene Sandulenko
1699fae483
Implemented formerly known unknownFB and unknownFC.
...
ScummEngine_v7he::polygonContains() is still buggy and prevents whole
thing from working.
svn-id: r15103
2004-09-13 23:24:36 +00:00
James Brown
a427d72d04
Store SCUMM md5s in save game. Save format bump.
...
svn-id: r14996
2004-09-10 12:13:03 +00:00
Travis Howell
00452c4073
Ooops
...
svn-id: r14992
2004-09-10 10:45:22 +00:00
Travis Howell
0ed136f0c6
Add HE vars
...
svn-id: r14990
2004-09-10 10:39:10 +00:00
Travis Howell
6b0b39c7d6
Add extra index types.
...
Remove duplicate code.
svn-id: r14953
2004-09-08 05:58:36 +00:00