Commit graph

100 commits

Author SHA1 Message Date
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
Oliver Kiehl
133f624cc5 moved RNG to common/util.cpp
svn-id: r5778
2002-12-01 14:57:50 +00:00
Max Horn
b2049c63da fixed my workaround for the palette bug in MIVGA
svn-id: r5767
2002-12-01 02:11:19 +00:00
Max Horn
72c672e14c cleanup
svn-id: r5747
2002-11-29 15:13:49 +00:00
Max Horn
11db3df38b added MonkeyVGA palette fix, and a FIXME comment
svn-id: r5745
2002-11-29 14:22:31 +00:00
Max Horn
b6a70f4a47 small cleanup
svn-id: r5734
2002-11-28 03:08:35 +00:00
Nicolas Bacca
f53051c296 Daily alignment fix :)
svn-id: r5731
2002-11-27 22:45:36 +00:00
Max Horn
8213dd8470 speed up dissolve fade for Loom (bug #635461)
svn-id: r5726
2002-11-27 14:39:48 +00:00
Max Horn
de4c3079ca cleanup
svn-id: r5694
2002-11-22 21:08:37 +00:00
Max Horn
5627fb7c0b cleanup
svn-id: r5622
2002-11-19 16:33:33 +00:00
Max Horn
843fa5f753 in Zak256, flash light now follows the mouse cursor instead of the actor; also, the flashlight x position is now pixel based, not strip based (finer granularity)
svn-id: r5511
2002-11-10 19:00:28 +00:00
Max Horn
da5a347d3e completly decoupled engine.h/.cpp from simon.h and scumm.h; removed some static variables from drawFlashlight() and made them members of class Scumm instead
svn-id: r5506
2002-11-10 17:19:43 +00:00
Max Horn
e901190863 fix for the flashlight crash in Indy3; I am not 100% sure that this is the right way t do it, though, need to do some more reseach
svn-id: r5496
2002-11-10 15:42:53 +00:00
James Brown
7eb9753a9c Evil Geniuses arn't, otherwise the world would be far more intrested.
svn-id: r5472
2002-11-09 10:02:59 +00:00
James Brown
5923a9f5e3 This should fix the DOTT white-background bug. Someone please confirm this for me :)
svn-id: r5471
2002-11-09 09:59:25 +00:00
James Brown
6e4bc05791 Masking patch
svn-id: r5468
2002-11-08 18:40:12 +00:00
Paweł Kołodziejski
85c7c9ffe6 applied patch: #634326, and changed strip ranges for after and before scumm v7,
added comments to saveload

svn-id: r5448
2002-11-06 17:55:44 +00:00
Max Horn
63e1069ec1 removed more unused variables; cleaned up some spaces
svn-id: r5442
2002-11-06 15:29:49 +00:00
Max Horn
1974075bb3 removed unused parameters from drawBomp
svn-id: r5440
2002-11-06 14:54:21 +00:00
Max Horn
72a22e4b86 removed obsolete code; properly init variables (aquadran, can you maybe turn on some more warnings with your compiler?); some error catching
svn-id: r5436
2002-11-06 13:50:53 +00:00
James Brown
173c0eac43 Apply restore-bg part of patch 629043
svn-id: r5434
2002-11-06 08:10:57 +00:00