Commit Graph

75 Commits

Author SHA1 Message Date
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
Max Horn
cb5fb5d403 added a getMaskBuffer method (makes it easier to read some of the code); merged setVirtscreenDirty() into updateDirtyRect(); made setDirtyRange a method of struct VirtScreen
svn-id: r8241
2003-06-01 14:30:26 +00:00
Max Horn
9cbcde684b cleanup / added comments / code unification
svn-id: r8235
2003-06-01 13:09:30 +00:00
Max Horn
3e2a7cc1cf same change as in the old costume code: just always mask
svn-id: r8205
2003-06-01 01:00:44 +00:00
Max Horn
1076838501 more costume cleanup. soone we should be able to merger AKOS codec1 and the old costume code
svn-id: r8155
2003-05-30 21:37:58 +00:00
Max Horn
c6b35e15a0 moved bomp stuff into own files; removed some of our 6 (!) bomp decoders
svn-id: r8151
2003-05-30 19:00:33 +00:00
Max Horn
90468ea46e cleanup
svn-id: r8150
2003-05-30 17:52:17 +00:00
Max Horn
5725ee392a code unification
svn-id: r8146
2003-05-30 15:39:06 +00:00
Max Horn
3d28cfaf82 cleanup
svn-id: r8145
2003-05-30 15:06:29 +00:00
Max Horn
37fa2df49a cleanup; removed last horizontal bound check from updateDirtyRect -> now all the various 'offscreen actor redraw' problems should be fixed (at least I can't reproduce them in COMI anymore), while The Dig should still work just fine (at least it does in my test cases)
svn-id: r8129
2003-05-30 02:01:45 +00:00
Max Horn
94a404899a fix The Dig 'hang' regression
svn-id: r8124
2003-05-30 00:41:58 +00:00
Max Horn
746b0bdc5b cleanup; fixed crashes that occured when an actor was drawn partly offscreen
svn-id: r8113
2003-05-29 18:45:58 +00:00
Max Horn
ccb12eaad2 cleanup
svn-id: r8110
2003-05-29 18:09:16 +00:00
Max Horn
fbf2dff545 merged all AKOS codec 1 decoders into one
svn-id: r8092
2003-05-29 11:07:54 +00:00
Max Horn
c62c448a35 more costuem code merging
svn-id: r8088
2003-05-29 10:31:05 +00:00
Max Horn
b69ea5bec8 more costume cleanup
svn-id: r8087
2003-05-29 10:16:00 +00:00
Max Horn
0a6daf767f more costume/akos changes
svn-id: r8074
2003-05-29 02:46:06 +00:00
Max Horn
59acd18cee they are getting more and more similar :-)
svn-id: r8073
2003-05-29 02:14:31 +00:00
Max Horn
3da16e6404 cleanup
svn-id: r8072
2003-05-29 01:27:16 +00:00
Max Horn
2aaa13438a modify actor 5 to get kenny in COMI to draw properly
svn-id: r8066
2003-05-28 22:13:30 +00:00
Max Horn
34bf11b43f spelling
svn-id: r8062
2003-05-28 21:28:30 +00:00
Max Horn
52723beaf0 some more akos/old costume code unification, and cleanup
svn-id: r8060
2003-05-28 21:08:56 +00:00
Max Horn
1f70da0155 const as const can!
svn-id: r8058
2003-05-28 20:01:47 +00:00
Max Horn
c333b6d6ec replaced many unsafe uses of derefActorSafe by derefActor; replaced derefActorSafe/assert pairs by derefActor (gives better error message); replaced various derefActorSafe/if(a!=0) pairs by derefActor (in cases where the deref should never fail, ever, except due to a bug in ScummVM)
svn-id: r7859
2003-05-23 13:24:41 +00:00
Jonathan Gray
12ff6c4f99 correct transparency colour for humongous games when using akos16
svn-id: r7676
2003-05-19 09:02:16 +00:00
Max Horn
f4be51cd68 modified akos / 'old' costume (charset) masking code to a) match each other; also, the costume.cpp code looks again checks _zbuf != 0 even for non-SMALL_HEADER games, as it used to 1 year ago ;-) (note: this change is kinda experimental; might fix some bugs, might introduce some regressions)
svn-id: r7473
2003-05-12 17:50:09 +00:00
Max Horn
acb35fc915 renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and _realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive)
svn-id: r7423
2003-05-10 21:49:59 +00:00
Jonathan Gray
7f0b853ca7 fix variable acces
svn-id: r7414
2003-05-10 14:40:09 +00:00
Max Horn
98881c3a6a init all VAR_* variables to 0xFF; replaced access to _vars in the form _vars[VAR_*] by VARS(VAR_*) which performs a validity checK; renamed _vars to _scummVars to make sure I updated all places; fixed two places where V6 and newer games would access V5 vars (but there are still some left, it seems); checked VAR access for now only generates a warning
svn-id: r7393
2003-05-08 15:48:50 +00:00
Chris Apers
5944d40eaa Add more ScummVM globals to PDB
svn-id: r7346
2003-05-05 12:29:26 +00:00
Max Horn
af2e2fff7a cleanup
svn-id: r6877
2003-03-28 23:08:36 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
093428ae9a and more cleanup
svn-id: r6718
2003-03-06 17:58:13 +00:00
Paweł Kołodziejski
186480c839 fixes to akos opcodes
svn-id: r6669
2003-03-03 00:45:38 +00:00
Paweł Kołodziejski
bf2576e734 added AKC_StartVarAnim opcode for akos_increaseAnims
svn-id: r6660
2003-03-02 13:07:58 +00:00
Paweł Kołodziejski
9eff1cc3fd changed check only for Cxxx opcodes
svn-id: r6657
2003-03-02 12:23:37 +00:00
Paweł Kołodziejski
373e845554 improved a little akos_queCommand func
svn-id: r6631
2003-02-22 10:39:50 +00:00
James Brown
5bf741f960 Patch 667613: Extend gfxUsageBits[]
svn-id: r6453
2003-01-14 10:06:56 +00:00
James Brown
a5e144fb8a Add uSweat token (used when trying to walk across hot sand at brimstone beach)
svn-id: r6432
2003-01-12 18:35:01 +00:00
Max Horn
eaf2e1a313 more akos/costume merging
svn-id: r6352
2003-01-07 17:35:20 +00:00
Max Horn
9270a0558b some chore/limb related code
svn-id: r6348
2003-01-06 16:04:01 +00:00
Max Horn
37a64f5d12 cleanup; added a hack to avoid crash in the canon scene (at least it works this way for me)
svn-id: r6347
2003-01-06 13:41:29 +00:00
Max Horn
d9515432e4 started unifying code in akos.cpp and costume.cpp
svn-id: r6343
2003-01-05 23:53:16 +00:00
James Brown
7070a7194a Fix CMI Akos 'garbage' bug, based off of eriktorbjorn patch 659331
svn-id: r6222
2002-12-28 11:33:10 +00:00
Max Horn
319facc9c3 cleanup
svn-id: r6214
2002-12-28 00:45:44 +00:00
Max Horn
81c421ec0c cleanup
svn-id: r6197
2002-12-27 14:04:25 +00:00
Paweł Kołodziejski
19935c14a1 added missing sound effects based on patch #654463
svn-id: r5999
2002-12-16 21:21:55 +00:00
Oliver Kiehl
133f624cc5 moved RNG to common/util.cpp
svn-id: r5778
2002-12-01 14:57:50 +00:00
Max Horn
24a1a2a369 Patch #639699: SAM: Fix for graphics glitch
svn-id: r5601
2002-11-19 01:45:08 +00:00
James Brown
6e4bc05791 Masking patch
svn-id: r5468
2002-11-08 18:40:12 +00:00