Commit Graph

420 Commits

Author SHA1 Message Date
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
Max Horn
3552024aa9 Added ScummEngine::printString() convenience method; changed enqueueText to call addMessageToStack
svn-id: r15170
2004-09-18 20:50:15 +00:00
Travis Howell
2ac60430fc A few more corrections, fixes freddi2 crash.
svn-id: r15142
2004-09-16 23:34:26 +00:00
Travis Howell
cf71760391 No longer required.
svn-id: r15141
2004-09-16 14:31:16 +00:00
Travis Howell
0a320ac7af Correct array size read
svn-id: r15140
2004-09-16 13:51:03 +00:00
Travis Howell
31772ea47d Ooops
svn-id: r15139
2004-09-16 12:54:32 +00:00
Travis Howell
49cd965411 Correction to pickVarRandom
Add HE80+ version too.

svn-id: r15138
2004-09-16 12:30:54 +00:00
Travis Howell
8227fcddf4 Should be reading array id resource.
svn-id: r14962
2004-09-08 12:14:56 +00:00
Travis Howell
6b09826b33 Increase actor.sound to 32 for HE 80+ games.
Add some more HE vars.
More adjustments for copying script strings in HE games.

svn-id: r14903
2004-09-05 09:36:51 +00:00
Travis Howell
255736dfb7 Complete actor clipping override code for HE games.
Add akos speech queue for HE games
Minor cleanup

svn-id: r14883
2004-09-04 08:13:48 +00:00
Travis Howell
2810a06581 HE specific
svn-id: r14857
2004-09-01 10:39:43 +00:00
Travis Howell
cbf5a60bab Add a few akos codes
Give unknown akos codes better names
Rename actor variable
Remove hack (Use multi-version flag instead)
Another sound correction for HE games.

svn-id: r14827
2004-08-29 11:27:16 +00:00
Max Horn
4fea28887e cleanup
svn-id: r14818
2004-08-28 14:48:51 +00:00
Travis Howell
dc7c03029d Update HE games
Update HE game issues/todo
Disable opcode E4 (Specific to fbear and has no benefit so far)

svn-id: r14802
2004-08-28 04:02:49 +00:00
Travis Howell
b1d8b144ba More code/stubs for HE 7.2 games
Add another temp hack
Add id for water, uses more actors
Another small correction to music playback for HE 7.2 games

svn-id: r14764
2004-08-26 08:47:07 +00:00
Eugene Sandulenko
649e9b71a5 HE 7.2 correction to o6_pickVarRandom
svn-id: r14733
2004-08-24 16:30:20 +00:00
Travis Howell
f16065d86d Remove some old/duplicate code.
Add a few more functions/stubs for HE 7.2
Moved HE 7.2 o_resourceRoutine() specifics.

svn-id: r14727
2004-08-24 11:17:28 +00:00
Travis Howell
07eb3f50f9 Correct bug in array loading from index.
A few changes/corrections for HE 7.2

svn-id: r14724
2004-08-24 05:04:14 +00:00
Travis Howell
6d62e7ec66 Another stub
svn-id: r14720
2004-08-23 14:11:53 +00:00
Travis Howell
25ccf3a0ee Another He 7.2 function
svn-id: r14719
2004-08-23 14:03:54 +00:00
Travis Howell
bbc75e4220 Add He 7.2 class
svn-id: r14709
2004-08-23 10:34:50 +00:00
Max Horn
b20187a0e9 Cursor code cleanup
svn-id: r14690
2004-08-22 23:38:00 +00:00
Travis Howell
4f51ae9988 Basic start on freddemo (old version)
svn-id: r14685
2004-08-22 15:02:53 +00:00
Travis Howell
319f2c8333 No longer required
svn-id: r14677
2004-08-22 09:17:24 +00:00
Max Horn
152a5e97fe Modified VirtScreen to inherit from Graphics::Surface, and added getPixels()/getBackPixels() accessors (these changes make it a bit easier to implement smooth scrolling); also replaced some uses of rtBuffer by proper access through the corresponding VirtScreen
svn-id: r14612
2004-08-14 19:42:00 +00:00
Max Horn
239aa2b062 Renamed o6_unknownE1 to o6_getPixel; use vs->xstart instead of _screenLeft
svn-id: r14607
2004-08-14 15:14:01 +00:00
Max Horn
15e3d8cbe3 whitespace
svn-id: r14600
2004-08-14 07:04:31 +00:00
Travis Howell
90b209449c Update comment
svn-id: r14513
2004-08-08 11:43:54 +00:00
Travis Howell
3d4054c793 Added suggested hack for bug #556558, which was bug in original game.
svn-id: r14512
2004-08-08 10:03:55 +00:00
Travis Howell
7811b898ae Re-arrange code to allow second INSANE in PC FT demo to work
svn-id: r14500
2004-08-07 11:52:11 +00:00
Max Horn
a7b610b25b WORKAROUND bug #903223 (COMI: Guybrush reads church clock incorrectly (German))
svn-id: r14487
2004-08-06 15:55:12 +00:00
Max Horn
b569d58b6e Aargh, my work around code was using a wrong check, and then using the wrong operations (which were effectively not doing anything)... Fixed the workaround code, which cures bug #918280 (and its dup #1003717)
svn-id: r14467
2004-08-05 09:57:36 +00:00
Travis Howell
c6dcbd8eca Use array slot and not array number.
svn-id: r14466
2004-08-05 09:32:03 +00:00