Commit graph

63 commits

Author SHA1 Message Date
Martin Gerhardy
8d972b2535 TWINE: header inclusion cleanup 2024-10-11 17:29:25 +02:00
Martin Gerhardy
e3b8cf864c TWINE: renamed struct and members to match the original sources 2024-10-11 17:29:25 +02:00
Martin Gerhardy
b018caf4e4 TWINE: renamed holomap related functions to match original sources 2024-10-10 18:11:44 +02:00
Martin Gerhardy
62d8c709da TWINE: removed duplicate defines 2024-10-10 18:11:44 +02:00
Le Philousophe
12c80f6fc3 TWINE: Fix build for RiscOS
GCC 4.7 seems to have a bug when a default constructor is used in base
and derived classes.
As an empty destructor and a default one are (almost) the same, use the
former one.
2024-09-14 13:40:37 +02:00
Martin Gerhardy
56a58ecddf TWINE: split holomap for lba1 and lba2
Also fixed a few issues in loading the lba2 scene data
2024-09-13 20:08:22 +02:00
Martin Gerhardy
4db27b97eb TWINE: more renaming 2024-09-09 20:24:26 +02:00
Martin Gerhardy
27c83916a8 TWINE: renamed struct members to match original source release 2024-09-09 20:24:25 +02:00
Martin Gerhardy
0157e4d2cd TWINE: lSET_HOLO_POS opcode useable for lba2
the difference is in Holomap::setHoloPos()
2024-09-09 20:24:25 +02:00
Martin Gerhardy
dd12c874a4 TWINE: renamed methods to match original sources 2024-09-09 20:24:25 +02:00
Martin Gerhardy
5f6ad06a10 TWINE: renamed define to match original sources 2024-09-09 20:24:25 +02:00
Martin Gerhardy
77b9d4c1e6 TWINE: fixed endless loop in searchNextArrow (holomap) 2024-09-09 20:24:25 +02:00
Martin Gerhardy
aaa7645a52 TWINE: convert the holomap releated code to be more like the original source release 2023-01-17 19:11:34 +01:00
Martin Gerhardy
215440ee83 TWINE: renamed members and use isPolygonVisible in preparePolygons
.. as found in the original
2023-01-15 11:28:57 +01:00
Martin Gerhardy
8315498dfb TWINE: renamed stuff to match more of the original sources 2023-01-15 11:28:57 +01:00
Martin Gerhardy
f5a3030b29 TWINE: renamed holomap location member 2021-12-27 22:10:32 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko
ac9b5de68c
TWINE: Fix warning 2021-12-01 00:10:01 +01:00
Martin Gerhardy
e8680cee24 TWINE: fixed warnings 2021-10-10 11:52:38 +02:00
Martin Gerhardy
06011741f5 TWINE: added constants for holomap colors 2021-09-15 17:34:50 +02:00
Martin Gerhardy
1587e87617 TWINE: prepare holomap code to work with other surfaces and images 2021-09-15 17:34:50 +02:00
Martin Gerhardy
c416fe7830 TWINE: use forward decls and reduced header dependencies 2021-08-26 09:24:28 +02:00
Martin Gerhardy
4146ef64a2 TWINE: fixed high res support for the holomap 2021-08-17 23:10:13 +02:00
Martin Gerhardy
4097d078ea TWINE: renamed HolomapProjectedPos members 2021-08-09 11:24:17 +02:00
Martin Gerhardy
d152938cdd TWINE: use the trajector angles, not the location angles 2021-08-05 22:25:16 +02:00
Martin Gerhardy
3172b17a8a TWINE: extract to holomap vehicle rendering into own method 2021-08-04 17:57:32 +02:00
Martin Gerhardy
5ae5a557b8 TWINE: fixed game loop in Holomap::drawHolomapTrajectory 2021-08-01 20:28:02 +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
33371ae454 TWINE: use BodyData for rendering 2021-03-27 13:35:27 +01:00
Martin Gerhardy
5b7fa92807 TWINE: extracted holomap trajectory parsing into own class 2021-03-23 22:22:46 +01:00
Martin Gerhardy
7c988dbca8 TWINE: renamed members 2021-03-19 15:49:07 +01:00
Martin Gerhardy
3a6923795d TWINE: renamed Vec3 to IVec3 2021-03-17 18:25:03 +01:00
Martin Gerhardy
fcdba48458 TWINE: more use of Vec3 2021-03-17 18:25:03 +01:00
Martin Gerhardy
675711b837 TWINE: reduced array size for projected holomap surface vectors 2021-03-07 21:06:39 +01:00
Martin Gerhardy
a43c19ca72 TWINE: converted HolomapProjectedPos unk1 and unk2 to signed short 2021-03-07 14:03:59 +01:00
Martin Gerhardy
bafabc493e TWINE: comments 2021-03-07 14:03:59 +01:00
Martin Gerhardy
7176f94aac TWINE: put scene names into the savegames 2021-03-01 19:03:27 +01:00
Martin Gerhardy
83d7494bbf TWINE: comment 2021-02-28 22:08:10 +01:00
Martin Gerhardy
e6f0a51cdc TWINE: handle invalid trajectory indices 2021-02-24 19:00:00 +01:00
Martin Gerhardy
295f7e3859 TWINE: assert to check for buffer overflows 2021-02-17 22:02:38 +01:00
Martin Gerhardy
12899f7e18 TWINE: moved holomap code into renderer.cpp 2021-02-17 17:25:37 +01:00
Martin Gerhardy
26c9bc19df TWINE: renamed method 2021-02-17 17:25:37 +01:00
Martin Gerhardy
4ea1869409 TWINE: added asserts to ensure that none of the buffer boundaries were exceeded 2021-02-17 17:25:37 +01:00
Martin Gerhardy
bb64c9abee TWINE: activate parts of the holomap code 2021-02-14 22:52:45 +01:00
Martin Gerhardy
baf85073e0 TWINE: holomap code 2021-02-12 22:17:32 +01:00
Martin Gerhardy
585fe8745e TWINE: progress on holomap code 2021-02-09 21:40:33 +01:00
Martin Gerhardy
892e122e1b TWINE: fixed clearing the text related rect for the holomap
... before rendering the text of a newly selected location
2021-01-25 23:59:25 +01:00
Martin Gerhardy
6c7f84df70 TWINE: cleanup in holomap code 2021-01-24 16:24:39 +01:00
Martin Gerhardy
9a4adf76a4 TWINE: progress on holomap surface 2021-01-24 15:27:03 +01:00
Matthew Duggan
0238200995 TWINE: Fix build where int16_t isn't defined 2021-01-24 19:16:25 +09:00