Commit Graph

245 Commits

Author SHA1 Message Date
Max Horn
209cd912cf cleanup
svn-id: r8384
2003-06-07 22:56:47 +00:00
Torbjörn Andersson
b6b6fb52e5 CD Loom and EGA Loom should not use the same dissolve effect, so I've
reverted that part of the Loom unification and clarified the comments
slightly.

I also slowed down the CD Loom dissolve a bit. It's still faster than the
default behaviour, but I think it looks better this way. (Feel free to
change that back again if you don't agree.)

svn-id: r8381
2003-06-07 11:59:56 +00:00
Max Horn
49b9a8fc9d follow our coding conventions
svn-id: r8377
2003-06-07 00:49:36 +00:00
Max Horn
033c264ea5 Loom unification
svn-id: r8373
2003-06-07 00:16:22 +00:00
Max Horn
86df3537b9 replaced GF_AFTER with _version
svn-id: r8372
2003-06-07 00:13:26 +00:00
Max Horn
1cae280e79 rewrite code a bit: personally I find it much easier to understand what the code does this way (the &6 trick is cute, but obfuscates the meaning of the code)
svn-id: r8360
2003-06-06 20:55:39 +00:00
Torbjörn Andersson
6e0a3ec6fa Order matters! Inverse iris is transition effect 5 and nothing else.
svn-id: r8350
2003-06-06 12:27:33 +00:00
Jonathan Gray
620762b466 v1 object drawing updates from aquadran
svn-id: r8346
2003-06-06 07:35:19 +00:00
Paweł Kołodziejski
00288b07f8 fixed almost object drawing for v1 games, (ugly hack for drawBitmap)
svn-id: r8345
2003-06-06 05:27:45 +00:00
Max Horn
067609c832 cleanup
svn-id: r8341
2003-06-06 00:16:34 +00:00
Max Horn
6f9b34df1e unified some code
svn-id: r8339
2003-06-05 23:55:57 +00:00
Paweł Kołodziejski
5e18dc19ff a little better
svn-id: r8333
2003-06-05 19:26:43 +00:00
Paweł Kołodziejski
da6ac080af disabled mask for now
svn-id: r8331
2003-06-05 18:37:11 +00:00
Paweł Kołodziejski
44e76b4da6 fixed my last commit
svn-id: r8330
2003-06-05 18:30:29 +00:00
Paweł Kołodziejski
94bbf1b9a0 added v1 gfx codec, (not working)
svn-id: r8329
2003-06-05 17:22:15 +00:00
Torbjörn Andersson
b8080605cc Inverse iris transition effect for V2 games. Also, some transition effects
weren't working properly unless the entire screen was first marked as not
dirty. I hope fixing that didn't break anything else.

svn-id: r8314
2003-06-05 07:05:37 +00:00
Max Horn
870572ca49 there are a few places in maniac and zakdemo where we *do* have to store the run & color <grmbl>
svn-id: r8306
2003-06-05 00:18:15 +00:00
Max Horn
c898d6117e finished my drawBitmap optimisations
svn-id: r8305
2003-06-05 00:12:23 +00:00
Max Horn
ffef453d1a cache room strip offsets (this should help performance on PalmOS)
svn-id: r8300
2003-06-04 21:45:29 +00:00
Torbjörn Andersson
0bb87879c8 V2 mouse cursor, for that extra retro feel
svn-id: r8288
2003-06-04 06:34:14 +00:00
Max Horn
333f0d15fd fix flashlight in MM
svn-id: r8285
2003-06-03 15:27:11 +00:00
Max Horn
281cce32b9 cleanup color cyclcing code; also perform color cycling on 'indirect' palettes like the shadow palette(s) (bug #706721)
svn-id: r8257
2003-06-02 00:34:58 +00:00
Max Horn
393e749785 charset masking fixes, mostly for The Dig (hey I think I finally almost understand that part of the code :-)
svn-id: r8248
2003-06-01 17:29:45 +00:00
Max Horn
cb5fb5d403 added a getMaskBuffer method (makes it easier to read some of the code); merged setVirtscreenDirty() into updateDirtyRect(); made setDirtyRange a method of struct VirtScreen
svn-id: r8241
2003-06-01 14:30:26 +00:00
Max Horn
e63dec5f56 clearUpperMask -> clearCharsetMask
svn-id: r8206
2003-06-01 01:02:35 +00:00
Max Horn
eb039ec554 some cheap doxygen docs; cleanup
svn-id: r8154
2003-05-30 20:13:29 +00:00
Max Horn
c6b35e15a0 moved bomp stuff into own files; removed some of our 6 (!) bomp decoders
svn-id: r8151
2003-05-30 19:00:33 +00:00
Max Horn
90468ea46e cleanup
svn-id: r8150
2003-05-30 17:52:17 +00:00
Max Horn
5725ee392a code unification
svn-id: r8146
2003-05-30 15:39:06 +00:00
Max Horn
3d28cfaf82 cleanup
svn-id: r8145
2003-05-30 15:06:29 +00:00
Max Horn
37fa2df49a cleanup; removed last horizontal bound check from updateDirtyRect -> now all the various 'offscreen actor redraw' problems should be fixed (at least I can't reproduce them in COMI anymore), while The Dig should still work just fine (at least it does in my test cases)
svn-id: r8129
2003-05-30 02:01:45 +00:00
Max Horn
9f301f16e6 removed more harmful clipping
svn-id: r8128
2003-05-30 01:37:50 +00:00
Max Horn
5ea6cbe51d this clip is bad: it's not needed (we clip later anyway), and it clips too much
svn-id: r8125
2003-05-30 00:48:35 +00:00
Max Horn
1db0f749ca moved camera stuff to own file
svn-id: r8099
2003-05-29 12:55:28 +00:00
Max Horn
34bf11b43f spelling
svn-id: r8062
2003-05-28 21:28:30 +00:00
Max Horn
1f70da0155 const as const can!
svn-id: r8058
2003-05-28 20:01:47 +00:00
Max Horn
73db1d6f51 Patch #744448: ALL: restoreBG() doesn't always completely remove the mask
svn-id: r8038
2003-05-27 23:23:26 +00:00
Max Horn
8eec984eb7 more const qualifiers
svn-id: r8002
2003-05-26 13:14:57 +00:00
Max Horn
41a9cd8ac4 fixed flashlight oddities in Zak256
svn-id: r7904
2003-05-24 21:33:54 +00:00
Max Horn
07df5bd181 cleanup / minor tweak
svn-id: r7890
2003-05-24 16:11:47 +00:00
Max Horn
c333b6d6ec replaced many unsafe uses of derefActorSafe by derefActor; replaced derefActorSafe/assert pairs by derefActor (gives better error message); replaced various derefActorSafe/if(a!=0) pairs by derefActor (in cases where the deref should never fail, ever, except due to a bug in ScummVM)
svn-id: r7859
2003-05-23 13:24:41 +00:00
Max Horn
86d57f3c7a many pedantic warning fixes (and some actual potential buglets fixed, too)
svn-id: r7795
2003-05-21 18:09:49 +00:00
Max Horn
e21604663f added v2 cutscene support (not quite complete; and crashes at some point in maniac because VAR_EGO contains a bogus value); cleanup
svn-id: r7781
2003-05-21 14:00:19 +00:00
Max Horn
ec4cc7d774 more special palette fixes by erik
svn-id: r7689
2003-05-19 11:34:13 +00:00
Jamieson Christian
ac9a392a5b Fixed VC++ warnings
svn-id: r7652
2003-05-18 23:45:34 +00:00
Max Horn
5ac005860c warning() automatically outputs a newline after the warning message; adding a newline into the format string adds another newline (which contains the single char '!')
svn-id: r7647
2003-05-18 21:14:50 +00:00
Max Horn
7ec709e35f Part of patch #739119 (attempt to fix bug #651077 at least partially)
svn-id: r7643
2003-05-18 19:51:50 +00:00
Max Horn
3244a79d46 V2 camera fix (again thanks MadMoose)
svn-id: r7587
2003-05-16 23:54:58 +00:00
Jamieson Christian
9d7cd48dcc Fixed VC++ warnings
svn-id: r7555
2003-05-16 00:07:47 +00:00
Max Horn
9018be6cb3 moved drawBox to gfx.cpp (seems to be the more logical location)
svn-id: r7554
2003-05-15 23:50:16 +00:00