31 Commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert
e30c9ad7d9 TITANIC: Cleanup of flight manager code 2020-01-16 19:27:49 -08:00
David Fioramonti
fb3dcb9ee0 TITANIC: Use degree conversion common math funcs
I tested the star puzzle and it is still good.
2018-07-03 23:08:48 +01:00
Paul Gilbert
00b4e509a0 TITANIC: Various whitespace fixes in star control classes 2017-09-09 18:46:10 -04:00
Paul Gilbert
ba84efe497 TITANIC: Minor cleanup and warning fixes to star control 2017-09-02 11:20:17 -04:00
David Fioramonti
0d5d031564 TITANIC: Added/Removed comments for new functions in FVector and FPose 2017-09-02 06:41:07 -07:00
David Fioramonti
d55406b642 TITANIC: Remove DVector and DAffine files from build and folder 2017-09-02 06:41:07 -07:00
David Fioramonti
1160b88d06 TITANIC: Swap DAffine for FPose in Orientation and Transforms
More swapping of functions in the Orientation and Transform classes.
2017-09-02 06:40:41 -07:00
David Fioramonti
b842a43c40 TITANIC: Swap DAffine usage for FPose in setViewportAngle 2017-09-02 06:40:41 -07:00
David Fioramonti
fa11ae477f TITANIC: Duplicate DAffine usage in lockMarker2 with FPose usage 2017-09-02 06:40:41 -07:00
David Fioramonti
24c2e3ce4f TITANIC: Replace all external uses of DVector with FVector
Wherever DVector was used outside of DAffine and CMatrixTransform
I replaced with FVectors. So Internally those functions are still
using DVectors.

This required adding some new functions to FVector that duplicated
functionality in DVector.
2017-09-01 04:30:55 -07:00
David Fioramonti
d01354ab0d TITANIC: Reduce header includes for star_control files
Minimized a lot of the unncessary files includes in the
implementation files as well.
2017-08-24 04:31:04 -07:00
Paul Gilbert
ceb329ad0e TITANIC: Formatting fixes for star control classes 2017-08-22 19:53:47 -04:00
David Fioramonti
04598dd5ad TITANIC: Named some functions in fvector 2017-08-21 15:42:50 -07:00
David Fioramonti
24bec379d5 TITANIC: Pull assert out of dvector/fvector normalization
Before the normalization function was asserting if it couldn't
normalize now the caller can determine what to do with a failed
normalization.
2017-08-19 08:36:02 -07:00
Paul Gilbert
50a6100d27 TITANIC: Simplify FVector addAndNormalize 2017-05-26 21:21:29 -04:00
Paul Gilbert
fa27fd7478 TITANIC: Extra debugging info for starfield movement 2017-04-16 13:03:12 -04:00
Paul Gilbert
8ffdd29b11 TITANIC: Renamed CStarControlSub6 to FPose 2017-04-05 21:29:32 -04:00
Paul Gilbert
93a4c29b11 TITANIC: Change many doubles to floats to match original's precision
Many of the Star Control classes in the original explicitly used floats
rather than doubles. I'm switching to using them where applicable for
now, since the resulting figures will more closely match the original,
and it will be easier to spot errors in the various formulas
2017-04-05 21:08:51 -04:00
Paul Gilbert
ef66debb7d TITANIC: Fix output of FVector fn1 2017-03-28 21:47:56 -04:00
Paul Gilbert
5e4feaf86a TITANIC: Cleanup for FMatrix fn1 and called methods 2017-03-28 21:11:58 -04:00
Paul Gilbert
5f71b73a32 TITANIC: Finished FVector class 2017-03-23 21:13:16 -04:00
Paul Gilbert
530aa6c9a0 TITANIC: Finished CStarControlSub24 class 2017-03-22 20:52:33 -04:00
Paul Gilbert
5a44168de6 TITANIC: Finished CStarControlSub12 setViewportPosition 2017-03-19 23:25:47 -04:00
Paul Gilbert
2a76819b0f TITANIC: Implementing CStarControlSub12 class 2017-03-18 23:40:24 -04:00
Paul Gilbert
3bfc3f77dc TITANIC: More matrix renamings, thanks to Dark-Star 2017-03-12 19:55:56 -04:00
Paul Gilbert
7887189b5a TITANIC: Finished CStarControlSub23 class 2017-03-12 09:51:23 -04:00
Paul Gilbert
3ee3784073 TITANIC: Added remaining CStarControlSub12 virtual methods 2016-07-17 23:18:06 -04:00
Paul Gilbert
e674116edb TITANIC: More FVector methods 2016-07-17 13:09:51 -04:00
Paul Gilbert
9b1efa3bf5 TITANIC: Added FMatrix methods 2016-07-17 13:09:49 -04:00
Paul Gilbert
e1695101bc TITANIC: Beginnings of matrix and vector classes 2016-07-17 13:09:46 -04:00