Commit Graph
7 Commits
Author SHA1 Message Date
Filippos Karapetis f6af273fca STARTREK: Fix MSVC warnings
- Disable duplicate if block
- Fix potentially uninitialized variables
- Change _activeMenu to be a regular pointer, instead of a SharedPtr - it was not
initialized correctly
- Fix struct packing in structs with pointers to complex objects
- Fix sound initialization
- Fix memory leaks (handles to files which were never deleted)
2019-05-27 14:53:44 +03:00
David Fioramonti 47c0e27017 STARTREK: Simplify sine table usage
The if checks that StarTrekEngine::sin is doing to evaluate the
correct index for the sine table lookup are already done in
Common::SineTable::at().
2018-08-18 16:30:57 +02:00
David Fioramonti 16ee8aa69f STARTREK: Make atan table static
Currently, it is reloaded every atan call.
2018-08-18 14:17:36 +02:00
D G Turner 237fb44ec0 STARTREK: Reorder Math Code to Simplify and Fix Compiler Warnings. 2018-08-09 21:35:57 +01:00
Strangerke be4174dc3d STARTREK: Janitorial: Add end of namespace comments 2018-08-09 08:37:30 +02:00
Matthew Stewart eff87179da STARTREK: Half-done implementation of drawR3Shape
Handles drawing, scaling, probably rotating objects in space.
2018-08-09 08:37:30 +02:00
Matthew Stewart 565bf0e967 STARTREK: atan2 function 2018-08-09 08:37:30 +02:00