Commit graph

13650 commits

Author SHA1 Message Date
Max Horn
d271b58aa7 Got rid of GF_NEW_OPCODES
svn-id: r17488
2005-04-09 20:13:30 +00:00
Max Horn
909aab0693 Added Stefan Parviainen to credits, credited Quietust for his MM NES work
svn-id: r17487
2005-04-09 19:49:01 +00:00
Max Horn
2efa0d17f2 Get rid of debug.cpp/.h -- it wasn't used anyway, and contained bad code (open/write/close to access a log file? yuck)
svn-id: r17486
2005-04-09 19:32:29 +00:00
Max Horn
9aaff636aa Fix legal header. Be careful when doing global search and replace! Better use full-word regex, to avoid problems like this
svn-id: r17485
2005-04-09 19:19:54 +00:00
Joost Peters
6553ed4d9b read index as LE value
svn-id: r17484
2005-04-09 18:14:01 +00:00
Joost Peters
4d626f867a Fix crash after dropping item on screen change - thanks wjp!
svn-id: r17483
2005-04-09 17:58:07 +00:00
Max Horn
0b5a407567 Init _editMode
svn-id: r17482
2005-04-09 17:51:40 +00:00
Travis Howell
240a6f7406 Switch back to warning, since it is used in maze
svn-id: r17481
2005-04-09 15:12:26 +00:00
Travis Howell
b12942a8e7 Correct stack list order.
chase/lost/smaller use correct level numbers now.

svn-id: r17480
2005-04-09 15:07:44 +00:00
Max Horn
3aba4997f4 Moved the GFX_ constants to sdl-common.h, where they belong.
svn-id: r17479
2005-04-09 13:31:47 +00:00
Max Horn
37c0af9a2d A common platform alias for 'Windows' is 'win'
svn-id: r17478
2005-04-09 13:13:04 +00:00
Torbjörn Andersson
342334f235 Removed unnecessary includes.
svn-id: r17477
2005-04-09 13:08:00 +00:00
Torbjörn Andersson
1566fb527f Fixed typo in comment.
svn-id: r17476
2005-04-09 13:04:12 +00:00
Max Horn
34098ae3c7 Simplify the substResFileName system a bit
svn-id: r17475
2005-04-09 11:59:43 +00:00
Travis Howell
db43946f05 Add flObject lock/unlock support for HE games.
svn-id: r17474
2005-04-09 09:57:54 +00:00
Max Horn
866e0c8613 Fix check of the return value of findLocalObjectSlot() in loadFlObject()
svn-id: r17473
2005-04-09 09:49:55 +00:00
Travis Howell
cbe1437c27 rewrite for hePalettes.
svn-id: r17472
2005-04-09 09:20:44 +00:00
Gregory Montoir
16061e0f42 minor corrections and cleanup
svn-id: r17471
2005-04-09 08:55:26 +00:00
Travis Howell
4f08551643 Add comment to TODO
Check that string pointer exists, before reading data.
Don't attempt to play speech in soccer2004, since it uses compression.

svn-id: r17470
2005-04-09 07:25:41 +00:00
Travis Howell
73d1d63f15 Add opcode for chase, playable now.
svn-id: r17469
2005-04-09 06:39:20 +00:00
Travis Howell
2d40caf7ad Add opcode stub for chase
svn-id: r17468
2005-04-09 06:26:12 +00:00
Travis Howell
f623a5595c Correct arguments order, works now.
svn-id: r17467
2005-04-09 05:15:51 +00:00
Travis Howell
efa83b0dbb Correct arguments order, works now.
svn-id: r17466
2005-04-09 04:52:44 +00:00
Travis Howell
fad585f552 Add missing bit of HE code.
svn-id: r17465
2005-04-09 04:19:06 +00:00
Eugene Sandulenko
6aa5087ab0 I really need _substResFileNameIndex passed into ScummEngine constructor.
Put a workaround now.

svn-id: r17464
2005-04-09 02:44:37 +00:00
Jonathan Gray
24c92d0091 Remove usage of vsprintf in favour of vsnprintf and make
more use of STRINGBUFLEN.  Some ports may need a new stub for
this, discussed with Chrilith.

svn-id: r17463
2005-04-09 01:52:44 +00:00
Eugene Sandulenko
aff66038f3 o Put numerous debug messages to deeper level and removed others
o Occasional indentation fixes
o Fixed bug with cursor. Thanks wjp. Now even gob1demo works but final screen which is not playable in original hangs here.

svn-id: r17462
2005-04-09 01:28:16 +00:00
Travis Howell
61cfe81278 Actor layering only matches in freddicove
svn-id: r17461
2005-04-08 23:54:34 +00:00
Travis Howell
43278f9523 Set size of sprite fields
svn-id: r17460
2005-04-08 23:32:30 +00:00
Travis Howell
dbc4d13b3d load/save sprite data in HE90+ games.
svn-id: r17459
2005-04-08 23:27:36 +00:00
Paweł Kołodziejski
c30dd3e9aa update
svn-id: r17458
2005-04-08 22:27:46 +00:00
Paweł Kołodziejski
5826b4eb91 fixed compilation and warnings
svn-id: r17457
2005-04-08 22:27:12 +00:00
Paweł Kołodziejski
877d3fdad1 fixed warning
svn-id: r17456
2005-04-08 22:02:12 +00:00
Max Horn
2787e5aab4 Change some iMuseDigital debug messages
svn-id: r17455
2005-04-08 20:51:34 +00:00
Eugene Sandulenko
249134ede3 Add NES platform
svn-id: r17454
2005-04-08 20:49:13 +00:00
Eugene Sandulenko
b8385b0af1 Patch from Quietust.
Do not let invenotry arrows in MM NES trigger inventory script

svn-id: r17453
2005-04-08 15:14:49 +00:00
Travis Howell
00a7b8c1ff Add HE item
svn-id: r17452
2005-04-08 12:07:29 +00:00
Travis Howell
3efdccee37 Ooops
svn-id: r17451
2005-04-08 12:05:15 +00:00
Travis Howell
2a5aaf9fc2 Add HE70+ version of seekFilePos opcode.
svn-id: r17450
2005-04-08 11:10:01 +00:00
Travis Howell
328c588eab Ooops
svn-id: r17449
2005-04-08 07:50:46 +00:00
Travis Howell
c2aff3bf46 A few off by 1's.
svn-id: r17448
2005-04-08 07:49:06 +00:00
Travis Howell
f04f741b8b Change from Quietust:
-Fix inventory in NES version of maniac

svn-id: r17447
2005-04-08 06:25:57 +00:00
Travis Howell
5bd6380b20 Set array data
svn-id: r17446
2005-04-08 05:19:10 +00:00
Travis Howell
806c78655f Add missing palette cpy.
svn-id: r17445
2005-04-08 01:22:39 +00:00
Travis Howell
59703e4a57 HE99+ games store the base name is array 129, which is set on startup.
svn-id: r17444
2005-04-08 00:38:12 +00:00
Eugene Sandulenko
ba3077ed0e Patch from Quietust:
1. properly handle costume colors in dark rooms (verified against disasm)
2. optimize NES audio generation a little bit - instead of calling a function ~80 times to get one audio sample, it calls it once and just loops ~80 times internally
3. NES audio now obeys the volume control
4. in MM NES, o2_setObjPreposition is a no-op
5. o2_lights uses new-style light values (i.e. bitfields) in MM NES
6. o2_delay, use ssPaused identifier rather than a literal '1'
7. in MM NES, o5_saveLoadGame only explicitly checks for type '1' (load), defaulting to save for any other value

svn-id: r17443
2005-04-07 21:13:01 +00:00
Travis Howell
bac8f7a90c Ooops
svn-id: r17442
2005-04-07 15:01:31 +00:00
Torbjörn Andersson
e83559ce1c Whitespace. (Yes, I'm bored. :-)
svn-id: r17441
2005-04-07 13:00:56 +00:00
Travis Howell
6a743ff741 Move palette functions
svn-id: r17440
2005-04-07 12:33:20 +00:00
Travis Howell
9ac823cf81 Correct palPtr
svn-id: r17439
2005-04-07 12:23:44 +00:00