1972 Commits

Author SHA1 Message Date
Max Horn
55d3168c59 adhere to our coding style conventions; removed some unneccessary code
svn-id: r8376
2003-06-07 00:45:32 +00:00
Max Horn
4303edcbbd make SmushFont inherit from NutRenderer (TODO: drawChar stuff should be unified, too)
svn-id: r8375
2003-06-07 00:33:46 +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
Jonathan Gray
f22171f934 compilation fix
svn-id: r8371
2003-06-07 00:08:47 +00:00
Max Horn
00b53b5e81 set _version to detector value
svn-id: r8367
2003-06-06 23:56:56 +00:00
Max Horn
04db5c12ab make version public
svn-id: r8366
2003-06-06 23:55:00 +00:00
Torbjörn Andersson
229c5bb328 I have no idea if this is right, but at least sound seems to be working
again in Maniac Mansion, Zak and EGA Loom.

svn-id: r8365
2003-06-06 23:22:59 +00:00
Max Horn
4b227da824 Preparations for removing GF_AFTER_V? flags
svn-id: r8364
2003-06-06 22:51:33 +00:00
Max Horn
15d58d9f52 hook for V2 costumes (based on a brief glimpse at the costume resources; however I haven't yet looked at the rest of the format, so this would just crash if you enabled it right now)
svn-id: r8363
2003-06-06 22:35:23 +00:00
Torbjörn Andersson
2d74732afb Always reset the VAR_GAME_LOADED variable (if it's available). This seems
to fix bug #740148, at least partially.

svn-id: r8362
2003-06-06 21:59:56 +00:00
Jochen Hoenicke
ce0352eab2 Added a fix for music_timer in V3 games.
svn-id: r8361
2003-06-06 21:56:37 +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
Max Horn
62e3a110dd added a currently disabled hack that can be used to get costumes used in V1 games (currently crashes since we don't support that custome format yet)
svn-id: r8349
2003-06-06 11:59:29 +00:00
James Brown
c89b04488d Get rid of *64 targets, use 'maniac' and 'zak' autodetection for the AFTER_V1 flag instead.
svn-id: r8348
2003-06-06 10:47:12 +00:00
Torbjörn Andersson
560c03f6ab Hack to fix the placement of the green transparency on the tank in the Hall
of Oddities in Sam & Max. As far as I can tell, this was a bug in the
original game as well, so this is one of the rare cases where I think a
hack is ok even as a long-term solution.

svn-id: r8347
2003-06-06 10:01:26 +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
Paweł Kołodziejski
1f846b55dc changed height of virtscreen for v1 games
svn-id: r8344
2003-06-06 04:20:41 +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
Max Horn
41c03fa082 clarified comment
svn-id: r8328
2003-06-05 15:31:34 +00:00
Max Horn
740e7cc0ff restricted check to V2, stupid mistake
svn-id: r8323
2003-06-05 10:33:13 +00:00
Max Horn
a61e845313 modified comment
svn-id: r8322
2003-06-05 10:28:48 +00:00
Max Horn
c73ffd366a Regenerate strip table when loading
svn-id: r8321
2003-06-05 10:27:15 +00:00
Max Horn
c7d87b8a67 fix for bug #749355
svn-id: r8320
2003-06-05 10:22:16 +00:00
Max Horn
6c35550334 proper const cast
svn-id: r8319
2003-06-05 09:54:57 +00:00
Jochen Hoenicke
9533f5605a Synchronize channels playing the same frequency. This prevents
interference effects.

svn-id: r8318
2003-06-05 08:45:24 +00:00
Torbjörn Andersson
bd23bcd128 The Full Throttle end credits (press "W" to skip to them) look much nicer
if the blast texts are drawn before the blast objects. This may cause
regressions, but if so perhaps we can fix them by conditionally making
blast texts produce a charset mask? Blast objects already honors the
charset mask, so the end result should be the same as if the object was
drawn first and the text afterwards.

svn-id: r8316
2003-06-05 07:25:36 +00:00
Torbjörn Andersson
fa6b0b6736 cleanup
svn-id: r8315
2003-06-05 07:17:57 +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
Torbjörn Andersson
b542fad7d4 Fix the ugly striped shadows in AKOS codec 1 when drawing scaled actors.
This was noticeable in Full Throttle and Curse of Monkey Island, at least.
I don't remember seeing it in The Dig.

svn-id: r8313
2003-06-05 06:59:53 +00:00
Paweł Kołodziejski
1cbd8b55ed fixed compilation for vc6
svn-id: r8312
2003-06-05 05:03:57 +00:00
Bertrand Augereau
0aff2d3461 did a bit of cleaning and added TODOs ;)
svn-id: r8310
2003-06-05 03:19:07 +00:00
Bertrand Augereau
cf8d8617c9 use the global BaseCostumeRenderer instead of reinstancing it every time
svn-id: r8309
2003-06-05 02:47:12 +00:00
Bertrand Augereau
3bbaa8edb5 converted from struc to class and added a function to update _numStrips, needed since we don't reinstantiate BCR all the time anymore
svn-id: r8308
2003-06-05 02:46:08 +00:00
Bertrand Augereau
23196c1257 added a global CostumeRenderer in the VM, to avoid actors reinstancing it every time
svn-id: r8307
2003-06-05 02:44:18 +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
b4da713bfd some more cleanup
svn-id: r8304
2003-06-04 23:51:25 +00:00
Max Horn
565a100c83 some cleanup & refactoring (CJK fonts have proper shadows now, for example); preparations to merge NutRenderer and SmushFont
svn-id: r8303
2003-06-04 23:32:09 +00:00
Max Horn
d84c5de8e8 looks like a glitch?
svn-id: r8302
2003-06-04 23:15:42 +00:00
Bertrand Augereau
69b55ea45f put a setFeatures member that allows to precompute game-wide stuff, such as CostumeRenderer, when features change, ie extremely rarely
svn-id: r8301
2003-06-04 23:03: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
Paweł Kołodziejski
55abd7d5ec fixed compilation for vc6
svn-id: r8299
2003-06-04 20:20:50 +00:00