17 Commits

Author SHA1 Message Date
Filippos Karapetis
0ae3cbc2e8 STARTREK: Reduce usage of SharedPtr, and simplify bitmap related calls 2019-12-28 13:22:18 +02:00
D G Turner
bffb4418bd STARTREK: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-01 00:59:20 +00:00
Filippos Karapetis
709d606e01 STARTREK: Adapt many usages of Common::SharedPtr() to regular pointers 2019-06-11 00:48:16 +03:00
Filippos Karapetis
3f7f1a2410 STARTREK: Remove the FileStream wrapper class 2019-06-11 00:48:15 +03:00
Matthew Stewart
944370c349 STARTREK: Fixes to drawR3Shape; red planet renders 2019-05-28 08:08:52 +03:00
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