Travis Howell
dcb2372e23
Adjust array ids in HE80+ games, to match original.
...
Otherwise array aren't always nuked by scripts.
svn-id: r19082
2005-10-14 12:36:46 +00:00
Travis Howell
33ee143728
Remove pointless check, exists in all SCUMM6+.
...
svn-id: r18793
2005-09-09 07:24:11 +00:00
Gregory Montoir
14ac8d9d21
cleanup
...
svn-id: r18734
2005-09-02 11:24:16 +00:00
Gregory Montoir
e2d0352069
workaround bug #1223621
...
svn-id: r18731
2005-09-02 10:49:21 +00:00
Travis Howell
a820400f8c
Replace warnings with debug, errors or printfs:
...
-To catch any missing cases/functions used.
-To prevent users reporting warnings as bugs
svn-id: r18681
2005-08-14 01:41:52 +00:00
Torbjörn Andersson
510c6f9595
Cleanup.
...
svn-id: r18621
2005-08-06 14:34:40 +00:00
Eugene Sandulenko
6b4484472b
Remove trailing whitespaces.
...
svn-id: r18604
2005-07-30 21:11:48 +00:00
Torbjörn Andersson
06985285a0
Whitespace changes.
...
svn-id: r18453
2005-06-24 16:14:39 +00:00
Max Horn
8b1d7b9166
When including files from common/, explicitly use the common/ prefix
...
svn-id: r18444
2005-06-24 15:23:51 +00:00
Gregory Montoir
c60400035a
o6_setBlastObjectWindow can be safely ignored
...
svn-id: r18404
2005-06-17 17:10:54 +00:00
Travis Howell
ae7f676667
Rename opcode/function
...
svn-id: r18381
2005-06-13 07:09:12 +00:00
Torbjörn Andersson
a2c90de0db
Cleanup.
...
svn-id: r18375
2005-06-11 15:25:38 +00:00
Travis Howell
151f09ed53
Sync opcode names and add HE72+ version of o_systemOps.
...
svn-id: r18278
2005-05-28 08:37:44 +00:00
Travis Howell
12fcf37fee
Not used by DOTT scripts.
...
svn-id: r18253
2005-05-26 01:46:26 +00:00
Max Horn
ef9d595a90
abs -> ABS (code unification)
...
svn-id: r18246
2005-05-25 09:17:35 +00:00
Eugene Sandulenko
80ee8188d3
Improvements to --disable-* stuff. Now less ugly #ifdefs with #includes.
...
svn-id: r18100
2005-05-14 23:28:22 +00:00
Eugene Sandulenko
3588b96d4f
Added --disable-hq and --disable-scumm-7-8 options. Also improved
...
DISABLE_HE so more HE-specific code gets excluded.
svn-id: r18099
2005-05-14 22:56:41 +00:00
Travis Howell
760017e462
Should be HE61 now.
...
svn-id: r17765
2005-04-23 11:06:17 +00:00
Max Horn
c46ea8bc40
Replaced the platform specific GF_FOO switches (using _platform instead now)
...
svn-id: r17716
2005-04-20 18:21:30 +00:00
Travis Howell
2009b72679
Replace all GF_HUMONGOUS use with _heversion.
...
Make HE60 specific to puttdemo, since it is unqie.
Other HE60 games changed to HE 61.
svn-id: r17698
2005-04-20 01:33:44 +00:00
Travis Howell
0e24739de1
HE games set camera at this point.
...
svn-id: r17687
2005-04-19 10:19:31 +00:00
Travis Howell
caae2f00de
Add separate function for loading palette from choosen room.
...
Avoid pointer problems.
svn-id: r17653
2005-04-17 12:55:42 +00:00
Travis Howell
43aab9eabb
Cleanup
...
svn-id: r17615
2005-04-16 10:26:49 +00:00
Max Horn
3d5b5f2ad8
Moved createResource, resourceStats, expireResources to ResourceManager
...
svn-id: r17420
2005-04-06 17:31:35 +00:00
Travis Howell
840a7ee846
Add correct fix for bug #556496
...
svn-id: r17406
2005-04-06 02:11:07 +00:00
Travis Howell
21c2c60343
setCameraAt call not required, doesn't match original.
...
svn-id: r17405
2005-04-06 00:51:03 +00:00
Max Horn
ac247c9b94
Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx)
...
svn-id: r17311
2005-03-31 21:39:31 +00:00
Eugene Sandulenko
7ae3da082e
Support for direct reading from NES ROM:
...
o extend MemoryReadStream with XOR facility
o implement MemoryWriteStream
o _fileHandle now is a reference to BaseScummFile class and is created on the fly
o implement ScummNESFile class which is basically extract_mm_nes utility
o update NES MM md5's due to above changes
NOTE: to run MM NES now you need to remove *.LFL files and (probably) rename
ROM to standard conventional name 'Maniac Mansion (XXX).nes'
svn-id: r17300
2005-03-30 21:59:12 +00:00
Travis Howell
2f2ca8ac21
HE80+ reports whole _classData value of object, if no args are given.
...
Fixes exit arrows in later HE games.
svn-id: r17271
2005-03-28 10:14:08 +00:00
Eugene Sandulenko
154c4af8dc
Mass-renamed all variables of Actor object according to our current code
...
formatting standards. Earlier we had half of vars named with leading
underscore and half without it.
Now code in actor.cpp is considerably more readable.
svn-id: r17068
2005-03-11 01:10:06 +00:00
Travis Howell
8cc18e6797
Minor cleanup
...
svn-id: r17025
2005-03-07 06:37:56 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Travis Howell
9e4f76b180
Off by one
...
svn-id: r16127
2004-12-19 09:27:08 +00:00
Max Horn
90e3fa96a3
Make Array stuff part of the V6 engine class (note: it's a bit confusing to have two different ArrayHeader structs, maybe we should rename them?)
...
svn-id: r15909
2004-11-27 13:13:41 +00:00
Torbjörn Andersson
5f7f3dc0d2
Whitespace
...
svn-id: r15647
2004-10-22 10:25:56 +00:00
Chris Apers
1ac29aae1e
Help PalmOS (and more ?) to save memory
...
svn-id: r15611
2004-10-19 12:30:42 +00:00
Travis Howell
d42f98d0c4
Add missing case for HE 90+
...
Always clear complete local script vars.
svn-id: r15564
2004-10-16 05:10:15 +00:00
Travis Howell
3539b6ad95
HE 60 specific
...
svn-id: r15539
2004-10-13 07:59:51 +00:00
Travis Howell
8df034b6ac
Add some missing code for HE100.
...
Cleanup
svn-id: r15494
2004-10-10 01:52:35 +00:00
Travis Howell
970a782edf
Small correction
...
Ensure object exists, before pushing data.
svn-id: r15463
2004-10-08 06:52:08 +00:00
Travis Howell
db63483001
Add missing roomOps case for HE games.
...
svn-id: r15404
2004-10-04 04:04:37 +00:00
Travis Howell
d0e5fe1ded
Should only copy data, not tag/size.
...
svn-id: r15343
2004-09-29 08:40:15 +00:00
Travis Howell
bc9ac3ea7f
Leave disabled
...
svn-id: r15341
2004-09-29 00:28:35 +00:00
Max Horn
6a50ba2308
Changed more of the actor class members to match our coding guidelines (in the future, when adding new member vars here, please always use our conventions, i.e. prefix them with _ and use CamelBackStyle
...
svn-id: r15331
2004-09-28 19:28:59 +00:00
Max Horn
fe12bbe4f5
Seems the difference between o6_kernelSetFunctions case 16 and 17 is whether the text shall be centered or not. Helps Asteroid Lander in The Dig
...
svn-id: r15328
2004-09-28 17:35:35 +00:00
Max Horn
cc7ca9ce4b
some more pointless cleanup / moving around of stuff :-)
...
svn-id: r15284
2004-09-26 07:30:29 +00:00
Gregory Montoir
9f97086b2f
match TheDig and PuttMoon disasm, maybe this will fix fbear crash ?
...
svn-id: r15245
2004-09-23 19:49:59 +00:00
Max Horn
2f9ea12ddd
cleanup
...
svn-id: r15224
2004-09-21 13:54:30 +00:00
Eugene Sandulenko
64043ff1fc
Removed some not necessary #defines which could (and did) lead to program
...
logic misinterpretation. I assume these were added for readability, but
(a) names suggestet that they're class variables but they didn't
(b) their use wasn't consistent, i.e. there were places where variables were
used directly, not by means of the macros
(c) they didn't save that much space because they are used in few places.
svn-id: r15179
2004-09-19 00:15:17 +00:00
Max Horn
768133d6e6
Rename some member vars to avoid _ followed by an uppercase letter. More of those are left in the code, though (and I am not really sure whether we want to change that, so far we had no problems caused by this)
...
svn-id: r15175
2004-09-18 22:42:45 +00:00