Commit Graph

4855 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
6f0943e9c8 removed GF_AFTER flags (except GF_AFTER_HEV7)
svn-id: r8374
2003-06-07 00:16:54 +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
5f5b0e6c7e use _version
svn-id: r8370
2003-06-07 00:01:18 +00:00
Max Horn
badfdeedd3 added to new feature flags
svn-id: r8369
2003-06-06 23:58:39 +00:00
Max Horn
9f4d675eba remove version column
svn-id: r8368
2003-06-06 23:57:59 +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
Joost Peters
0f9d447bd4 add fnRandom()
svn-id: r8359
2003-06-06 20:54:52 +00:00
Robert Göffringmann
89c6d29c95 forgot to remove that
svn-id: r8358
2003-06-06 18:08:16 +00:00
Robert Göffringmann
4d5a284704 changed sprite priority, changed some errors to warnings and added hack to get past the first scene
svn-id: r8357
2003-06-06 17:59:22 +00:00
Robert Göffringmann
1fcbdf792b forgot to activate that code again
svn-id: r8356
2003-06-06 17:02:10 +00:00
Robert Göffringmann
09b1baf731 misc fixes
svn-id: r8355
2003-06-06 16:40:44 +00:00
Joost Peters
64ffbe6021 add some (mouse) stubs
svn-id: r8354
2003-06-06 14:40:46 +00:00
Robert Göffringmann
1326772037 whoops.
svn-id: r8353
2003-06-06 14:04:16 +00:00
Robert Göffringmann
e02875be67 fix logic script bugs.
svn-id: r8352
2003-06-06 13:55:16 +00:00
Joost Peters
d813deb5e8 changed warning() to error(), this is how it is in the original, and this seems to happen when you try to exit the underground-bar currently, don't know why yet.
svn-id: r8351
2003-06-06 13:44:49 +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
Robert Göffringmann
8e8c702e65 forgot to implement right mousebutton. :)
svn-id: r8343
2003-06-06 01:14:17 +00:00
Robert Göffringmann
ddf44b0275 small bugfix, menu still doesn't work. -_-
svn-id: r8342
2003-06-06 00:56:59 +00:00
Max Horn
067609c832 cleanup
svn-id: r8341
2003-06-06 00:16:34 +00:00
Max Horn
7411034215 make code use our coding conventions
svn-id: r8340
2003-06-05 23:56:32 +00:00
Max Horn
6f9b34df1e unified some code
svn-id: r8339
2003-06-05 23:55:57 +00:00
Joost Peters
ba81aa9f76 proper mouse transparancy fix, should work for all cursors now
svn-id: r8338
2003-06-05 23:18:10 +00:00
Oliver Kiehl
1200d5997e fixed switch opcode
svn-id: r8337
2003-06-05 22:26:06 +00:00
Joost Peters
717bdd9223 fixed mouse cursor/transparency
svn-id: r8336
2003-06-05 21:46:59 +00:00
Robert Göffringmann
4a934a5519 make mouse move to middle of screen at start and let skystate initialize its _objectList
svn-id: r8335
2003-06-05 20:37:52 +00:00
Robert Göffringmann
98b3712163 fixed caching routines
svn-id: r8334
2003-06-05 19:45:27 +00:00
Paweł Kołodziejski
5e18dc19ff a little better
svn-id: r8333
2003-06-05 19:26:43 +00:00
Robert Göffringmann
8e253b1937 fixed sprite drawing, added some mouse support and some logic routines.
svn-id: r8332
2003-06-05 18:54:26 +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
Travis Howell
bec1130148 Typo
svn-id: r8327
2003-06-05 14:05:48 +00:00