Travis Howell
26ace23092
Save addtion HE opcodes specific variables.
...
svn-id: r17824
2005-04-26 15:13:04 +00:00
Max Horn
4239ac7407
Since we don't store _CLUT_offs anymore, we can clean up the code related to it now
...
svn-id: r17823
2005-04-26 14:24:29 +00:00
Max Horn
973cb9a281
Make use of the new loadRoomSubBlocks (which only loads static room data now) in the save/load code; this also means we have to save a bit less data, and reduce code duplication
...
svn-id: r17822
2005-04-26 14:18:34 +00:00
Max Horn
aa330e827c
Clean up HE save/load code, at the cost of savegame compatibility (v71he and upwards)
...
svn-id: r17821
2005-04-26 14:01:38 +00:00
Max Horn
9d07432375
Comment corrections
...
svn-id: r17820
2005-04-26 13:47:47 +00:00
Max Horn
0ca7d3a61e
Added/corrected some comments; moved NES costume init code to a more appropriate place, and cleaned it up
...
svn-id: r17819
2005-04-26 13:43:01 +00:00
Max Horn
c9cdee2d97
Removed the ugly saveOrLoadCursorImages hack and instead properly overload ScummEngine::saveOrLoad; did the same for the V7 IMuseDigital save/load code
...
svn-id: r17818
2005-04-26 13:33:17 +00:00
Max Horn
9421c2a9b9
Call setupVolumes in a more appropriate part of the save/load code
...
svn-id: r17817
2005-04-26 13:22:46 +00:00
Max Horn
00f73aeeca
Reduce dependencies on saveload.h
...
svn-id: r17816
2005-04-26 13:17:11 +00:00
Max Horn
5586ce3243
Use an intermediate variable, to ease debugging
...
svn-id: r17815
2005-04-26 13:16:18 +00:00
Max Horn
e811cb091b
Perform some clipping (some old savegames had bad usage bits in the same and caused a crash for me due to lack of clipping)
...
svn-id: r17814
2005-04-26 13:16:02 +00:00
Max Horn
f03e73c621
Added some comments
...
svn-id: r17813
2005-04-26 11:10:27 +00:00
Torbjörn Andersson
728da398d7
...and since RGBToColor() returns OverlayColor, let's use that datatype
...
instead of uint16. (I never realized that we could use RGBToColor() here
myself. Good job in spotting that!)
svn-id: r17812
2005-04-26 11:05:06 +00:00
Max Horn
3931115b9a
Split loadRoomSubBlocks into a 'static' part (loadRoomSubBlocks) and a 'dynamic' part (initRoomSubBlocks)
...
svn-id: r17811
2005-04-26 10:58:49 +00:00
Robert Göffringmann
d10947dca1
now uses OSystem::RGBtoColor for yuv->rgb conversion tables instead of checking gBitFormat
...
svn-id: r17810
2005-04-26 10:27:53 +00:00
Max Horn
3cc0d1b142
Removed dead code
...
svn-id: r17809
2005-04-26 09:21:54 +00:00
Travis Howell
62216f9cc2
Enable Blue's demo, for testing only.
...
svn-id: r17808
2005-04-26 07:52:37 +00:00
Travis Howell
e61728168d
Always skip smacker files in HE games.
...
svn-id: r17807
2005-04-26 07:44:14 +00:00
Travis Howell
2df1161e0c
Add stubs for the two smacker related opcodes in HE games.
...
Makes it easier to test new titles.
svn-id: r17806
2005-04-26 06:47:42 +00:00
Torbjörn Andersson
5d392d90d6
We need to use unsigned chars here to be able to print accented characters,
...
e.g. in the German cutscenes.
svn-id: r17805
2005-04-26 06:34:52 +00:00
Torbjörn Andersson
74ae914df2
Make it possible to specify language at run-time, since the Gobliiins 1
...
support for other languages appears to work at least fairly well, and this
makes it easier to test it.
svn-id: r17804
2005-04-26 06:29:53 +00:00
Travis Howell
a0f56739cd
Add Macintosh version of puttrace
...
svn-id: r17803
2005-04-26 04:22:08 +00:00
Torbjörn Andersson
21ea71a762
Keep track per piece whether or not it was dynamically allocated, otherwise
...
we'll end up trying to free invalid pointers. (Happened to me at the end of
the level where you get the voodoo doll.)
svn-id: r17802
2005-04-25 19:03:13 +00:00
Torbjörn Andersson
f08a767aa8
This one looks wrong too, but I don't think it has caused any crash for me.
...
Not yet, at least. And now, hopefully, it never will.
svn-id: r17801
2005-04-25 18:53:58 +00:00
Travis Howell
93279ff29e
Minor cleanup
...
svn-id: r17800
2005-04-25 10:22:38 +00:00
Travis Howell
8e36728526
No music file in lost/smaller.
...
svn-id: r17799
2005-04-25 05:59:01 +00:00
Travis Howell
9380304832
Read index of music file in HE games at startup.
...
Only reliable way to always get correct music tracks.
svn-id: r17798
2005-04-25 05:44:12 +00:00
Torbjörn Andersson
8776150321
Better support for "seamless" cutscenes, i.e. ones where - in theory - you
...
shouldn't see where the cutscene begins/ends as it's the same image as is
currently displayed by the game engine itself.
Of course, in reality you can still see the seams easily. But at least it
looks a bit beter now. I made most of this change yesterday, but it's less
hard-wired now.
svn-id: r17797
2005-04-25 05:23:21 +00:00
Torbjörn Andersson
eb3b057836
This ought to fix bug #1188910
...
svn-id: r17796
2005-04-25 05:14:01 +00:00
Travis Howell
23fa40d56c
Add misisng r.
...
svn-id: r17795
2005-04-25 04:35:42 +00:00
Travis Howell
967fd877b1
Remove excess ;
...
svn-id: r17794
2005-04-25 03:45:37 +00:00
Max Horn
14f56887ea
Some C++ compilers don't support the 'not' keyword, it seems
...
svn-id: r17793
2005-04-24 22:41:21 +00:00
Max Horn
da5f819cf9
You can safely delete/free null pointers
...
svn-id: r17792
2005-04-24 18:26:12 +00:00
Torbjörn Andersson
4cdcb0b049
Don't wait for the lead-out sound to finish when playing the "shaman"
...
cutscene, as it's obviously meant to blend in with the rest of the game.
svn-id: r17791
2005-04-24 15:38:53 +00:00
Torbjörn Andersson
59f6002b03
Fixed warning. (Unused variables.)
...
svn-id: r17790
2005-04-24 15:35:03 +00:00
Andrew Kurushin
a909052c8d
fixed object frawing
...
implemented sfGetObjImage, sfSetObjImage, sfSetObjName
svn-id: r17789
2005-04-24 15:17:38 +00:00
Max Horn
ce3cd9b194
Changed the semantics of debug level 0 from off back to something more similiar to how it used to be (default debug level now is -1)
...
svn-id: r17788
2005-04-24 12:21:53 +00:00
Torbjörn Andersson
5553ef53f1
Moved conversation stuff from Logic to Mouse.
...
svn-id: r17787
2005-04-24 12:13:03 +00:00
Torbjörn Andersson
6f29b92a5f
I believe this is the correct fix for the sanctuary door bug.
...
svn-id: r17786
2005-04-24 12:08:27 +00:00
Travis Howell
29532320c1
Corection a few more heversion checks, caused music regression.
...
svn-id: r17785
2005-04-24 10:26:31 +00:00
Travis Howell
637e86e5b4
Remove out dated comment.
...
svn-id: r17784
2005-04-24 04:51:36 +00:00
Travis Howell
43286fc880
Add additional check for comments with ().
...
Required for map.ini file included with mustard.
svn-id: r17783
2005-04-24 03:58:12 +00:00
Travis Howell
2a14ff0a1a
Use new ConfigFile class for read/writeConfigFile in HE games.
...
svn-id: r17782
2005-04-24 03:52:56 +00:00
Travis Howell
c318d82f01
The last section of config file was not saved, when loading config file.
...
Fix all string compares.
svn-id: r17781
2005-04-24 03:41:57 +00:00
Max Horn
a6b59c0be1
Implement some missing methods
...
svn-id: r17780
2005-04-23 22:28:37 +00:00
Max Horn
55947fb319
Make StringMap class (with case insensitive keys) global
...
svn-id: r17779
2005-04-23 17:33:28 +00:00
Max Horn
ef760277e6
This code should be revised...
...
svn-id: r17778
2005-04-23 17:02:38 +00:00
Max Horn
554ecd57cb
Don't use Common::Map for the object table at all; rather use bsearch on a fixed size table.
...
svn-id: r17777
2005-04-23 16:52:11 +00:00
Max Horn
b43e1e960f
Map is only needed in intern.h
...
svn-id: r17776
2005-04-23 16:09:22 +00:00
Max Horn
06a313f0a8
Change the way the command line options are put into the ConfigManager
...
svn-id: r17775
2005-04-23 14:39:15 +00:00