Commit Graph
12 Commits
Author SHA1 Message Date
D G Turner 85ebfd835d STARTREK: Possible Fix for OUYA Toolchain Build Error.
The size of the void StarTrekEngine::drawR3Shape(R3 *r3) function is
very large, and this is using quite a lot of large variables on the
stack, rather than by heap allocation.

The exact cause is unclear, but this provokes an internal GCC error /
bug in the Android OUYA toolchain. To try to avoid this, this commit
changes several of the large local allocations from stack to heap i.e.
using new and delete[] to try to avoid this.
2018-08-09 22:11:01 +01:00
D G Turner 86c6e3f460 STARTREK: Fix Various Compiler Warnings. 2018-08-09 19:02:00 +01:00
D G Turner d4f0392e57 STARTREK: Compilation Fixes for Various Platforms. 2018-08-09 10:18:46 +01:00
Eugene Sandulenko 85cd347503 STARTREK: Fix compilation on macOS
nullptr is an object on macOS.
2018-08-09 09:20:51 +02:00
Strangerke be4174dc3d STARTREK: Janitorial: Add end of namespace comments 2018-08-09 08:37:30 +02:00
Matthew Stewart 4424515cce STARTREK: Silence unused variable warning 2018-08-09 08:37:30 +02:00
Matthew Stewart fe98dbb69d STARTREK: Reformat with artistic style 2018-08-09 08:37:30 +02:00
Matthew Stewart c2dd39a6c2 STARTREK: Remove some gotos 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 2b09f698ed STARTREK: sine & cosine 2018-08-09 08:37:30 +02:00
Matthew Stewart ac9cd1f00a STARTREK: Implement fixed-point decimal class 2018-08-09 08:37:30 +02:00
Matthew Stewart a024a3fd45 STARTREK: Move space functions into separate file 2018-08-09 08:37:30 +02:00