83 Commits

Author SHA1 Message Date
Martin Gerhardy
03ae234c5e TWINE: implemented parts of the new game + option from lba1 classic 2022-06-02 10:09:25 +02:00
Martin Gerhardy
ca293e49aa TWINE: helper macros for seconds 2022-06-02 10:09:25 +02:00
Martin Gerhardy
337eac68fd TWINE: renamed scene patch variable to _enableEnhancements
scumm engine is using this wording, and we should keep it in sync if we ever expose
this option more globally
2022-04-18 12:53:54 +02:00
Martin Gerhardy
f9527a5d03 TWINE: reduced cyclic complexity to improve readability in processEnvironmentSound() 2022-02-15 07:47:12 +01:00
Martin Gerhardy
37752bd52e TWINE: fixed audio track for tippet island scene 2022-02-15 07:31:33 +01:00
Martin Gerhardy
0572cbac16 TWINE: support --dump-scripts 2022-02-15 07:26:10 +01:00
Martin Gerhardy
0df0beadc9 TWINE: simplified scene patches
those are fixed sized arrays
2021-12-31 12:03:29 +01:00
Martin Gerhardy
7080e9bfe9 TWINE: added more scene patches - but disable them by default 2021-12-31 12:03:25 +01:00
Martin Gerhardy
41bb954435 TWINE: renamed member for palette fade handling 2021-12-31 11:48:32 +01:00
Martin Gerhardy
f05612a0ed TWINE: same result but different define 2021-12-31 11:48:31 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +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
950a4540cd TWINE: replaced magic numbers and named enum constants 2021-10-11 20:31:58 +02:00
Martin Gerhardy
0a33eb7496 TWINE: some scene change logic is lba1 specific 2021-09-10 19:20:56 +02:00
Martin Gerhardy
a8446da4ea TWINE: removed unused left-over from disassembly 2021-09-09 19:32:09 +02:00
Martin Gerhardy
a4c717c585 TWINE: moved script patch boolean into scene class
... and activated it by default
2021-09-08 19:53:53 +02:00
Martin Gerhardy
7c67ce0bc4 TWINE: moved script fix into proper location 2021-09-08 19:53:53 +02:00
Martin Gerhardy
c416fe7830 TWINE: use forward decls and reduced header dependencies 2021-08-26 09:24:28 +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
49590e1f4c TWINE: add SCENE_SIZE_MAX comment 2021-08-23 17:43:59 +02:00
Martin Gerhardy
ca57b25a32 TWINE: fixed issue #12827 (Unable to exit scene on citadel island)
introduced in 70fd4f428d9ed5ba1f71bb02f35b8fae7fccb410
2021-08-23 13:50:07 +02:00
Martin Gerhardy
97ae393b0a TWINE: reduced usage of the global _destPos
also identified a few potential issues and marked them with a TODO
2021-08-15 12:30:09 +02:00
Martin Gerhardy
2910ca52ec TWINE: allow parsers to handle lba2 2021-08-09 11:24:18 +02:00
Martin Gerhardy
0cb42e8ad8 TWINE: converted assert to error() 2021-08-09 11:24:17 +02:00
Martin Gerhardy
3d8e34b756 TWINE: time freeze cleanup 2021-08-01 20:28:02 +02:00
Martin Gerhardy
61304fd896 TWINE: renamed members 2021-07-31 16:50:19 +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
4c0f188a3b TWINE: extract to named constants 2021-07-31 08:38:38 +02:00
Martin Gerhardy
709e9e7841 TWINE: unified loops 2021-07-31 08:38:38 +02:00
Martin Gerhardy
b3751f52b3 TWINE: replaced magic number 2021-07-19 21:30:27 +02:00
Martin Gerhardy
39171a186f TWINE: exit scenery view on showing text 2021-06-08 07:24:01 +02:00
Martin Gerhardy
5027ba67b2 TWINE: converted to bool 2021-06-08 07:24:01 +02:00
Martin Gerhardy
24d3fa785f TWINE: already set in centerOnActor 2021-06-03 21:07:29 +02:00
Martin Gerhardy
8289072496 TWINE: added highres option to advanced menu
also use enum class for TextId and TextBankId
2021-04-09 10:43:03 +02:00
Martin Gerhardy
87bc213fc1 TWINE: removed playerName array from gamestate
this is already in the menuoptions class
2021-04-09 07:17:40 +02:00
Martin Gerhardy
8c76c1fac7 TWINE: use EntityData 2021-03-27 13:35:27 +01:00
Martin Gerhardy
5fa6a23d8a TWINE: converted to enum class 2021-03-19 15:49:07 +01:00
Martin Gerhardy
8b909d0ebc TWINE: moved enums into shared.h 2021-03-17 18:25:04 +01:00
Martin Gerhardy
3a6923795d TWINE: renamed Vec3 to IVec3 2021-03-17 18:25:03 +01:00
Martin Gerhardy
9d7ca64342 TWINE: removed ZVBox and ScenePoint struct - use BoundingBox and Vec3 2021-03-17 18:25:03 +01:00
Martin Gerhardy
70fd4f428d TWINE: removed ScenePoint and added actor debug rendering 2021-03-15 23:11:21 +01:00
Martin Gerhardy
bacdce7328 TWINE: improved scene debug rendering and added script patches found in the enhanced edition 2021-03-15 23:08:57 +01:00
Martin Gerhardy
cb49b7a42c TWINE: activate achievement LBA_ACH_005 2021-03-07 11:37:16 +01:00
Martin Gerhardy
89f0b55648 TWINE: use the translated scene names
Some scenes have duplicate names - so we can't distinguish between
all of them. But that's imo fine if we get the names into the
savegames. I've therefore added the scene number into the description
text.
2021-03-01 19:54:30 +01:00
Martin Gerhardy
a2cdb8fb3a TWINE: put the scene location name into the savegame header 2021-03-01 19:12:53 +01:00
Martin Gerhardy
bbe4083ab0 TWINE: use a few of the inventory setters to ensure the item amount boundaries 2021-02-26 11:11:21 +01:00