Commit Graph
87 Commits
Author SHA1 Message Date
Martin Gerhardy dd56f35477 TWINE: after watching the cutscenes at the television, the background is not properly restored
https://bugs.scummvm.org/ticket/13683
2022-07-12 20:25:58 +02:00
Martin Gerhardy b7a19a5247 TWINE: fixed copy and paste error 2022-06-14 20:33:00 +02:00
Martin Gerhardy a90fef32dc TWINE: more collision fixes from original source code 2022-06-14 20:33:00 +02:00
Martin Gerhardy a2e48126d1 TWINE: getBrickShape is now in sync with original sources
see d3e81901e6
2022-06-12 22:22:34 +02:00
Martin Gerhardy cdb198ade2 TWINE: fixed protopack inventory action body 2022-06-12 19:47:48 +02:00
Martin Gerhardy 613d8e342d TWINE: renamed a few more methods and defines 2022-06-11 14:52:19 +02:00
Martin Gerhardy 8fd03789b0 TWINE: synced more names with original sources 2022-06-11 13:55:46 +02:00
Martin Gerhardy 91341f443b TWINE: renamed variables to match original sources 2022-06-11 10:00:25 +02:00
Martin Gerhardy d3e81901e6 TWINE: Revert: the y check comes first in original source code of getBrickShape
This reverts commit a5f88f4b2b.

WorldColBrick and WorldColBrickFull both have the y check first - but for us it
breaks - see issue #13273

  https://bugs.scummvm.org/ticket/13273
2022-02-15 17:19:16 +01:00
Martin Gerhardy a5f88f4b2b TWINE: the y check comes first in original source code of getBrickShape 2022-02-15 07:30:11 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Martin Gerhardy 456c55d89f TWINE: converted member to local variable 2021-11-29 16:56:11 +01:00
Martin Gerhardy 27dd214bd0 TWINE: fixed off-by-one in clipping code 2021-11-29 16:52:44 +01:00
Martin Gerhardy 097e5ac448 TWINE: debug command to disable scene rendering 2021-11-29 01:59:08 +01:00
Martin Gerhardy 2fd077dd74 TWINE: renamed some members to match the source release
fixed SCENE_SIZE_MAX and getBrickShapeFull according to source release
2021-11-16 20:05:20 +01:00
Martin Gerhardy 4c079726d7 TWINE: changed access to BlockEntry data 2021-10-04 18:35:20 +02:00
Martin Gerhardy 8de73274a7 TWINE: fixed typos 2021-09-08 19:53:53 +02:00
Martin Gerhardy 3d67b01510 TWINE: ensure the correct casting for unsigned shorts
... when converting to ints
2021-08-23 22:08:12 +02:00
Martin Gerhardy 3d47d74933 TWINE: changed getBrickSoundType return value from int32 to uint8
this is parsed from the bll - no need to increase the size
2021-08-12 21:50:04 +02:00
Martin Gerhardy 21b288407d TWINE: simplified grid code 2021-08-12 21:50:04 +02:00
Martin Gerhardy d0f95b0dca TWINE: const 2021-08-12 21:50:04 +02:00
Martin Gerhardy a7025f0365 TWINE: use the block library parser 2021-08-11 21:35:20 +02:00
Martin Gerhardy e7fc25303b TWINE: updated the bll raw buffer handling 2021-08-11 21:35:20 +02:00
Martin Gerhardy 598c35ca52 TWINE: removed unused member 2021-08-11 21:35:20 +02:00
Martin Gerhardy aa073eb5a1 TWINE: use isValidRect() 2021-08-10 21:21:57 +02:00
Martin Gerhardy 2693ad0332 TWINE: let projectPositionOnScreen return the position vector
... to reduce direct access to the member
2021-08-10 21:21:57 +02:00
Martin Gerhardy 0a928d25e0 TWINE: use SpriteData for shadow sprite 2021-08-10 09:23:59 +02:00
Martin Gerhardy 8073e15a1b TWINE: moved constant into cpp file 2021-08-10 09:21:33 +02:00
Martin Gerhardy f8641cf823 TWINE: renamed members and use constants 2021-08-10 09:21:33 +02:00
Martin Gerhardy b0b97971f1 TWINE: hide access to member 2021-08-09 11:24:17 +02:00
Martin Gerhardy 9b43bb7bea TWINE: use constants 2021-08-09 11:24:17 +02:00
Martin Gerhardy f54675b4b0 TWINE: fixed high resolution character centering
... as well as grid tile rendering being centered on the screen
2021-08-09 11:24:17 +02:00
Martin Gerhardy ba9f3a6de8 TWINE: use hex encoding for constant
.. as this is used for the comparision later, too
2021-08-09 11:24:17 +02:00
Martin Gerhardy 429832986b TWINE: renamed members 2021-07-31 16:48:23 +02:00
Martin Gerhardy fc75e5709e TWINE: renamed members 2021-07-31 16:48:23 +02:00
Martin Gerhardy 91fe6927c9 TWINE: made _projPosScreen private in Redraw 2021-07-31 16:48:23 +02:00
Martin Gerhardy c6d26dc9d8 TWINE: renamed members 2021-07-31 16:48:23 +02:00
Martin Gerhardy 9210708eeb TWINE: renamed members 2021-07-31 16:48:23 +02:00
Martin Gerhardy 1cebbfdd51 TWINE: use Rect::isValidRect and renamed member 2021-07-31 08:38:38 +02:00
Martin Gerhardy 03489fb1c1 TWINE: removed unused method 2021-07-31 08:38:38 +02:00
Martin Gerhardy f9c4511308 TWINE: hide access to front buffer screen 2021-07-11 13:44:12 +02:00
Martin Gerhardy fb2533ebd6 TWINE: cleanup blitting 2021-06-03 22:07:26 +02:00
Martin Gerhardy 7c988dbca8 TWINE: renamed members 2021-03-19 15:49:07 +01:00
Martin Gerhardy 89921cac57 TWINE: converted projPosScreen to Vec3 2021-02-26 11:11:21 +01:00
Martin Gerhardy d1b67f614e TWINE: converted projPosScreen to Vec3 2021-02-26 11:11:21 +01:00
Martin Gerhardy ec34077906 TWINE: converted more positions to Vec3 2021-02-25 17:27:37 +01:00
Martin Gerhardy fda3ccc4df TWINE: converted more positions to Vec3 2021-02-25 17:23:03 +01:00
Martin Gerhardy a819f61e8c TWINE: moved actor position into Vec3 struct 2021-02-25 17:06:23 +01:00
Martin Gerhardy 1b14ab2919 TWINE: moved centerScreenOnActor into Grid class 2021-02-25 16:43:28 +01:00
Martin Gerhardy e79b109a61 TWINE: converted to Vec3 2021-02-25 15:45:25 +01:00