aboutsummaryrefslogtreecommitdiff
path: root/engines/startrek/math.cpp
AgeCommit message (Collapse)Author
2019-05-27STARTREK: Fix MSVC warningsFilippos Karapetis
- 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)
2018-08-18STARTREK: Simplify sine table usageDavid Fioramonti
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-18STARTREK: Make atan table staticDavid Fioramonti
Currently, it is reloaded every atan call.
2018-08-09STARTREK: Reorder Math Code to Simplify and Fix Compiler Warnings.D G Turner
2018-08-09STARTREK: Janitorial: Add end of namespace commentsStrangerke
2018-08-09STARTREK: Half-done implementation of drawR3ShapeMatthew Stewart
Handles drawing, scaling, probably rotating objects in space.
2018-08-09STARTREK: atan2 functionMatthew Stewart