Commit graph

543 commits

Author SHA1 Message Date
Eugene Sandulenko
31974eaead Beautify decompressTMSK().
svn-id: r18206
2005-05-21 14:14:03 +00:00
Travis Howell
b86e19b971 Initial support for TMSK masking in HE72+ games.
svn-id: r18201
2005-05-21 09:05:58 +00:00
Eugene Sandulenko
829c9a1b1a Fix yet another actor masking issue
svn-id: r18178
2005-05-18 23:57:17 +00:00
Eugene Sandulenko
7fb2eda235 Patch from Quietust for MM NES:
o Fix all actor mask bugs
  o Simplify masking considerably
  o Moved the decodesNESObject call from object.cpp into gfx.cpp

svn-id: r18177
2005-05-18 23:17:04 +00:00
Eugene Sandulenko
d92c3c7c72 MM NES masking fixes from Quietust.
svn-id: r18176
2005-05-18 20:40:50 +00:00
Eugene Sandulenko
e4ac8cb870 Fix from Quiteust for boxes in MM NES.
svn-id: r18132
2005-05-16 19:52:46 +00:00
Max Horn
0bb3024467 Merge loop limits into one)
svn-id: r18098
2005-05-14 22:55:39 +00:00
Travis Howell
93be3e16d8 Add configure option to disable HE 70+ games.
svn-id: r18091
2005-05-14 14:06:37 +00:00
Max Horn
2540447843 Merge loop index variables
svn-id: r18059
2005-05-11 19:26:38 +00:00
Max Horn
0a8286994e Unify check in initBGBuffers and in getZPlanes
svn-id: r18054
2005-05-11 14:42:59 +00:00
Max Horn
90b91f12b2 Made Gdi::_transparentColor protected
svn-id: r18049
2005-05-11 13:02:40 +00:00
Max Horn
13a13ae10a cleanup
svn-id: r17873
2005-04-30 15:04:16 +00:00
Eugene Sandulenko
f8283f3aa5 Add comment to NES-specifix gfx hack with virtual screens
svn-id: r17861
2005-04-29 06:36:03 +00:00
Travis Howell
cbd2e319ea Ooops
svn-id: r17860
2005-04-29 01:45:38 +00:00
Travis Howell
2f262b3c3e Add HE90 version of processActors().
Add HE71 class, for HE71+ specifics.

svn-id: r17859
2005-04-29 01:36:30 +00:00
Max Horn
d03b092659 Moved blast text/object code to ScummEngine_v6
svn-id: r17856
2005-04-28 22:34:56 +00:00
Max Horn
18bf7c7900 Comment on some MM NES oddity, I hope somebody can explain this :-)
svn-id: r17845
2005-04-28 00:22:05 +00:00
Max Horn
b56b84b145 Use kVerbVirtScreen were appropriate; removed unused param from initVirtScreen
svn-id: r17828
2005-04-26 15:52:55 +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
d2624d8e08 cleanup
svn-id: r17718
2005-04-20 19:59:18 +00:00
Max Horn
c46ea8bc40 Replaced the platform specific GF_FOO switches (using _platform instead now)
svn-id: r17716
2005-04-20 18:21:30 +00:00
Travis Howell
2009b72679 Replace all GF_HUMONGOUS use with _heversion.
Make HE60 specific to puttdemo, since it is unqie.
Other HE60 games changed to HE 61.

svn-id: r17698
2005-04-20 01:33:44 +00:00
Max Horn
3d5b5f2ad8 Moved createResource, resourceStats, expireResources to ResourceManager
svn-id: r17420
2005-04-06 17:31:35 +00:00
Travis Howell
8efb9961d6 Use dirtybit
svn-id: r17417
2005-04-06 15:09:51 +00:00
Eugene Sandulenko
13e18e4801 Fix parens. Spotted by Quietust.
svn-id: r17403
2005-04-05 23:30:35 +00:00
Travis Howell
b399a052f1 Fixed long ago...
svn-id: r17387
2005-04-05 14:45:02 +00:00
Torbjörn Andersson
23e4199699 Clear the text surface when loading a saved game, otherwise any text that
was displayed before loading the game will remain.

I hope this is the correct fix.

svn-id: r17382
2005-04-05 07:53:46 +00:00
Travis Howell
b5f281e9d8 Cleanup
svn-id: r17333
2005-04-02 14:24:43 +00:00
Eugene Sandulenko
9c68b29a05 Normalize verb/invenotry areas in MM NES. Patch from Quietust
svn-id: r17316
2005-04-01 01:41:20 +00:00
Max Horn
ac247c9b94 Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx)
svn-id: r17311
2005-03-31 21:39:31 +00:00
Max Horn
9ca1a88803 Moved NES stuff in class Gdi into a struct _NES
svn-id: r17278
2005-03-28 20:27:12 +00:00
Max Horn
c5a77afb01 Cleaned up the object mode code; removed the friend class ScummEngine from class Gdi; moved dither code to ScummEngine
svn-id: r17277
2005-03-28 20:18:36 +00:00
Travis Howell
2938c66276 Rename WizParameters field.
Correct start strip in drawBMAPBg()

svn-id: r17236
2005-03-26 06:00:58 +00:00
Eugene Sandulenko
f735ee48af Fixes for MM NES costume mask from Quietust.
svn-id: r17235
2005-03-26 03:49:06 +00:00
Eugene Sandulenko
1805fe7686 Accidentally commented out NES palette changing code. Fixing that.
svn-id: r17233
2005-03-25 22:25:40 +00:00
Eugene Sandulenko
a9c2e6ecbf MM NES fixes:
o Fixed crash when in-game GUI was displayed
  o Support for save/load
  o Savegame version bumped

svn-id: r17232
2005-03-25 22:11:08 +00:00
Max Horn
df129b198c Some more cleanup
svn-id: r17227
2005-03-25 01:59:47 +00:00
Max Horn
47ee0ce884 Moved _roomStrips to class Gdi; put some GFX pre-room init code into the new method Gdi::roomChanged(); some more cleanup
svn-id: r17226
2005-03-25 01:52:20 +00:00
Max Horn
c86b18716b Started some cleanup work on class Gdi (in particular, I try to limit that class to GFX decoding only, and moved the screen rendering code out of it)
svn-id: r17225
2005-03-25 01:27:28 +00:00
Max Horn
7ed1c19f6c Cleanup: collect the C64 specific render data into a struct inside class Gdi
svn-id: r17224
2005-03-25 00:56:03 +00:00
Eugene Sandulenko
33952c09cb Correct positioning of inventory and verbs in MM NES.
Started to tackle inventory.

svn-id: r17219
2005-03-24 21:34:35 +00:00
Eugene Sandulenko
166e009061 First attempt to position NES graphics correctly on screen. Still verbs
are at wrong places.

svn-id: r17217
2005-03-24 04:53:28 +00:00
Eugene Sandulenko
9ab0962f6d Lots of MM NES changes from Quietust and me
o Swap palette entries 0x00 and 0x1D in all necessary places. This gets
    rid of gray background
  o added a function NES_loadCostumeSet(int n) in order to do #1 for sprites
  o Widen screen to 256 pixels and center narrow rooms in it
  o Partial fix for subtitle rendering, now at least first line is
    rendered with identation

svn-id: r17212
2005-03-24 03:22:32 +00:00
Torbjörn Andersson
fb87ff059d Removed unused variable.
svn-id: r17207
2005-03-23 14:34:22 +00:00
Eugene Sandulenko
df0869f51d Patch from Quietust for MM NES
o objects now update tile colors and mask data
  o mask data is drawn from the correct offset
  o verbs are drawn in the correct color

svn-id: r17199
2005-03-22 21:07:00 +00:00
Eugene Sandulenko
0bcb0ac257 Many MM NES fixes/improvements from Quietust:
o Doesn't crash when going upstairs. Now game is playable up to
    the green tentacle
  o Proper subtitles colors
  o Room mask is decoded but doesn't affect sprites yet
  o Inventory draw issues fixed
  o Fix actors position when they're facing right

svn-id: r17191
2005-03-21 23:51:48 +00:00
Eugene Sandulenko
11a1f9bb00 NES palette fixes from Quietust.
Some fixes of gray background for NES. Though maybe proper approach
would be to add global vars instead of checking every time.

svn-id: r17190
2005-03-21 01:15:30 +00:00
Eugene Sandulenko
d1e46a5420 Implement proper scene transition mode for MM NES.
svn-id: r17189
2005-03-21 00:27:39 +00:00
Eugene Sandulenko
f86768fee8 Preliminary support for NES charsets. Colors are wrong and we get glitches
caused by too narrow screen. Also text clearing doesn't work.

svn-id: r17164
2005-03-16 03:20:32 +00:00
Eugene Sandulenko
a827bb1c05 Patch from Quietust. Proper drawing of objects and fixes to inventory.
svn-id: r17162
2005-03-16 02:14:35 +00:00