Commit graph

270 commits

Author SHA1 Message Date
Max Horn
89f6ebb77c added some asserts; added a hack that helps the COMI demo
svn-id: r6684
2003-03-04 02:43:43 +00:00
Jonathan Gray
436afde5eb add hack that attempts to workaround the offset hotspot problem in humongous games
svn-id: r6670
2003-03-03 01:53:18 +00:00
Max Horn
a6abd6bb13 Patch #689271: Usage bits fix
svn-id: r6626
2003-02-19 14:35:24 +00:00
James Brown
270e95a655 Patch 679354: ComI actor redraw patch
svn-id: r6590
2003-02-07 19:24:34 +00:00
Jonathan Gray
f1b4ec7571 remove 'small drawing optimisation' that breaks drawing of vertically scrolling rooms, and yes fingolfin in answer to the message left in the commit message on rev 2.26 it causes regression :)
svn-id: r6562
2003-01-28 00:42:32 +00:00
Max Horn
18fdd80710 small drawing optimization for V7/V8 games - tell me if that causes any regressions
svn-id: r6504
2003-01-18 19:16:23 +00:00
James Brown
4e07c1bb91 Patch 668634: Actor iteration fix
svn-id: r6484
2003-01-16 17:37:34 +00:00
Max Horn
b1c570aa6e made NUT font rendered honor _ignoreCharsetMask
svn-id: r6466
2003-01-15 03:10:28 +00:00
James Brown
5bf741f960 Patch 667613: Extend gfxUsageBits[]
svn-id: r6453
2003-01-14 10:06:56 +00:00
Max Horn
aa60f424ba fix banjo duel crash
svn-id: r6427
2003-01-12 13:58:16 +00:00
Max Horn
2636e2806a cleanup
svn-id: r6397
2003-01-11 15:53:00 +00:00
Max Horn
65fdb8fbf0 cleaned up & documented the transitionEffect() code a bit
svn-id: r6338
2003-01-05 21:18:53 +00:00
Max Horn
0ab1edf809 added an assert against the z plane count; resolved an ambigious statement (the order in which the post-increment operator is executed is not specified in the C(++) standard); indentation cleanup
svn-id: r6315
2003-01-01 17:04:13 +00:00
James Brown
be8810eaa9 Fix CMI room segfaults (too few zbuffers defined)
svn-id: r6310
2003-01-01 09:02:36 +00:00
Max Horn
8bbbf4cbaf cleanup; fixed z masking in COMI
svn-id: r6294
2002-12-31 16:44:55 +00:00
Max Horn
7f15b5d08b more cleanup
svn-id: r6292
2002-12-31 14:59:06 +00:00
Max Horn
4b6605c286 another round of cleanup on the first 6 decoders: only moved around code to work out the extreme similarities between them
svn-id: r6291
2002-12-31 04:59:23 +00:00
Max Horn
66b3d2f91a getting rid of _currentX
svn-id: r6290
2002-12-31 04:45:21 +00:00
Max Horn
6079d0f108 more cleanup
svn-id: r6289
2002-12-31 04:36:14 +00:00
Max Horn
dfea6a0d57 cleanup
svn-id: r6288
2002-12-31 04:19:46 +00:00
Max Horn
5d4f06cf1f implemented object drawing (still somewhat broken, we get a 'green screen' effetc :-). Oh yes, this probably breaks save game compatibility for COMI. Oh yeah. As if I would care <g>
svn-id: r6285
2002-12-31 03:26:02 +00:00
Jamieson Christian
7db414b203 Fixed VC++ warnings.
svn-id: r6279
2002-12-30 14:22:23 +00:00
Max Horn
1fad3ca0b9 cleanup
svn-id: r6278
2002-12-30 14:04:46 +00:00
Max Horn
f5b8b9adcf load z-planes correctly for V8; however, there is still something slightly broken (visible at the cannon which is only drawn partly)
svn-id: r6275
2002-12-30 13:15:08 +00:00
Max Horn
81c421ec0c cleanup
svn-id: r6197
2002-12-27 14:04:25 +00:00
James Brown
a6e9f3b65d Increase allowed zbuffers for CMI (One room, 16, uses at least 6.. add a few spare just in case).
svn-id: r6174
2002-12-26 18:10:14 +00:00
Max Horn
fca9ec09e7 moved CharsetRendere into its own header/source file; changed Scumm::_charset into a pointer, to make it possible to use different implementations of it
svn-id: r6147
2002-12-25 21:04:47 +00:00
Max Horn
5c39a82633 two good rules of thumb: don't use typecasts if you don't have to - type cast have a nasty habit of hiding and causing problems. When a method takes a pointer argument, if possible make it const. :-). Cleanup. Fixed font rendering in CMI: you need to call updateDirtyRect() if you modify the screen...
svn-id: r6143
2002-12-25 20:07:09 +00:00
Max Horn
aa2a85de99 fixed bomp cursor in CMI partially - still seeing flickering/tearing/artifacts, though
svn-id: r6124
2002-12-25 12:41:41 +00:00
Max Horn
fef84f3737 renamed Scumm::charset -> Scumm::_charset
svn-id: r6119
2002-12-25 12:01:04 +00:00
Max Horn
1b0963dd76 added (broken) cursor support for V8; enabled bomp drawing
svn-id: r6113
2002-12-25 03:48:27 +00:00
Max Horn
22ab263b00 getting graphics in COMI, woohoo! That's a nice christmas present, isn't it? :-)
svn-id: r6103
2002-12-24 15:45:23 +00:00
Max Horn
908de40919 some hacks to get V8 loading further. It now fails because it can't find the SMAP resource
svn-id: r6102
2002-12-24 15:27:27 +00:00
Jonathan Gray
ff7e997a48 make initBGBuffers handle the fact that v8 stores number of z buffers in RMHD not RMIH. Now we have to handle the fact that object code blocks are now a sub block of RMSC
svn-id: r6095
2002-12-24 07:53:29 +00:00
Max Horn
060562c277 partial checkin of patch #655594 (handling Y/N questions); cleanup
svn-id: r6042
2002-12-21 12:34:17 +00:00
Max Horn
50f7ffbeb6 got rid of _curVirtScreen and VirtScreen::unk1; added some comments to gfx.cpp; added a hack to enable smooth scrolling in V7 games (note: when I say hack, I mean it, it is buggy as hell and not enabled by default, use at your own risk and don't report problems with it, it's disabled by default)
svn-id: r6037
2002-12-21 01:11:42 +00:00
Paweł Kołodziejski
fa4f785f71 fixed compilation under MSVC
svn-id: r5998
2002-12-16 19:53:41 +00:00
Max Horn
54f3dc23a5 cleanup
svn-id: r5986
2002-12-16 01:25:21 +00:00
Max Horn
20c501ea58 cleanup; reordering stuff in gfx.cpp, trying to group code into logical groups (cursor, bomp, camera, palette, fades)
svn-id: r5985
2002-12-15 23:40:37 +00:00
Max Horn
826cd4b076 cleanup
svn-id: r5983
2002-12-15 21:59:59 +00:00
Max Horn
7bcbcde994 nitpick
svn-id: r5930
2002-12-13 16:11:23 +00:00
Max Horn
85a4c53a1a fix for the arrow bug in MonkeyVGA (see also bug #599442 and patch #643464)
svn-id: r5923
2002-12-13 01:30:22 +00:00
Jamieson Christian
14834cf645 Fixed myriad VC++ compile/link problems.
PLEASE DON'T MAKE CHANGES TO THE ACTUAL PROJECT FILES
UNLESS YOU MAKE THEM FOR *ALL* PRIMARY PORTS!

svn-id: r5900
2002-12-11 01:25:15 +00:00
Max Horn
3d39db9c55 added a helpe func for color weight computation; made createSpecialPalette use it, too
svn-id: r5899
2002-12-10 23:44:59 +00:00
Max Horn
c168f62bbd cleanup; only now do I see how similiar setupShadowPalette, the new setupShadowPalette and createSpecialPalette are. Throw in remapPaletteColor and darkenPalette and maybe we should restructure the code to have less duplication?
svn-id: r5894
2002-12-09 02:14:17 +00:00
Max Horn
0720fa80c8 cleanup
svn-id: r5893
2002-12-09 01:27:40 +00:00
Max Horn
df594d41ff even more cleanup
svn-id: r5839
2002-12-04 22:31:36 +00:00
Max Horn
8dd3d2ec29 more cleanup
svn-id: r5837
2002-12-04 21:46:05 +00:00
Max Horn
bb2d559d13 readded MonkeyVGA fix
svn-id: r5832
2002-12-04 14:32:40 +00:00
Max Horn
89335008e9 lots of cleanup to the graphics code; removed various global states (makes it easier to understand the code)
svn-id: r5831
2002-12-04 13:36:27 +00:00