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
0805ac2be3
STARTREK: Update cos/sin table constructor change
...
They now take in the size rather than the power of 2 exponent.
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
David Fioramonti
54419e045a
STARTREK: Detect another ST25 CD/DOS English variant
2018-08-18 14:17:36 +02:00
Strangerke
3fc6680f4f
STARTREK: Silence a CppCheck warning
2018-08-10 07:47:44 +02:00
Strangerke
0355ebdacf
STARTREK: Reduce a couple of variable scope, add a CHECKME
2018-08-10 07:31:07 +02:00
Strangerke
2c11e4d2aa
STARTREK: Fix compilation using MSVC9
2018-08-10 00:31:39 +02:00
D G Turner
9715307872
STARTREK: Fix Various Compiler Warnings.
2018-08-09 23:06:07 +01: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
d7a977b152
STARTREK: Fix Compiler Warning from PS2 Toolchain.
2018-08-09 22:10:36 +01:00
D G Turner
237fb44ec0
STARTREK: Reorder Math Code to Simplify and Fix Compiler Warnings.
2018-08-09 21:35:57 +01:00
D G Turner
8c4b448d31
STARTREK: Fix Accesses to Uninitialized Variable.
2018-08-09 19:35:14 +01:00
D G Turner
86c6e3f460
STARTREK: Fix Various Compiler Warnings.
2018-08-09 19:02:00 +01:00
D G Turner
cb55775f60
STARTREK: Fix Various Compiler Warnings.
2018-08-09 15:08:24 +01:00
D G Turner
7e4faf2111
STARTREK: Hopefully Fix Remaining Compilation Issues.
2018-08-09 14:37:35 +01:00
D G Turner
42a1b579cb
STARTREK: Even More Compilation Fixes.
2018-08-09 14:17:39 +01:00
D G Turner
cc9f820115
STARTREK: Further Compilation Fixes.
...
Further cases of int vs. int32 / TextRef usage.
2018-08-09 13:59:29 +01:00
D G Turner
52372dea70
STARTREK: Further Compilation Fixes.
...
Mismatch in types caused compilation failure for ports where int was
not identical to int32 which is the typedef for TextRef.
2018-08-09 13:24:00 +01:00
D G Turner
c5f2d0c1a7
STARTREK: Further Fix For Compilation.
2018-08-09 11:09:01 +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
Matthew Stewart
5f1f19be50
STARTREK: VENG7
2018-08-09 08:37:30 +02:00
Matthew Stewart
4887ba0fd2
STARTREK: VENG6 text changes
2018-08-09 08:37:30 +02:00
Matthew Stewart
20cc6ae56d
STARTREK: VENG6
2018-08-09 08:37:30 +02:00
Matthew Stewart
5fae11b871
STARTREK: Move VENG function into common code
2018-08-09 08:37:30 +02:00
Matthew Stewart
6db428f006
STARTREK: VENG5
2018-08-09 08:37:30 +02:00
Matthew Stewart
1a12a25b54
STARTREK: VENG4
2018-08-09 08:37:30 +02:00
Matthew Stewart
ebc6f194c2
STARTREK: VENG3
2018-08-09 08:37:30 +02:00
Matthew Stewart
a089dc23f7
STARTREK: VENG2
2018-08-09 08:37:30 +02:00
Matthew Stewart
d672fb6a3d
STARTREK: Add FR, GER CD versions to detection.cpp
2018-08-09 08:37:30 +02:00
Matthew Stewart
3a83f9b2d9
STARTREK: Comment out incomplete detection entries
2018-08-09 08:37:30 +02:00
Matthew Stewart
a5d7b86206
STARTREK: VENG1
2018-08-09 08:37:30 +02:00
Matthew Stewart
bd1b9f66cb
STARTREK: Implement republic map screen
2018-08-09 08:37:30 +02:00
Matthew Stewart
08ef636a98
STARTREK: VENG0
2018-08-09 08:37:30 +02:00
Matthew Stewart
ad6a2bb0bb
STARTREK: Make FileStream extend MemoryReadStream
2018-08-09 08:37:30 +02:00
Matthew Stewart
e5e54b8a1f
STARTREK: Split up startrek.cpp into more files
2018-08-09 08:37:30 +02:00
Matthew Stewart
a84746bf66
STARTREK: Add POTFILES
2018-08-09 08:37:30 +02:00
Matthew Stewart
ba05b5539b
STARTREK: Various code cleanup
2018-08-09 08:37:30 +02:00
Matthew Stewart
ce42cd940a
STARTREK: Use ARRAYSIZE macro
2018-08-09 08:37:30 +02:00
Matthew Stewart
c8335cccd3
STARTREK: Fix memory leak in graphics.cpp
2018-08-09 08:37:30 +02:00
Matthew Stewart
c6834a997c
STARTREK: Put CD ROM detection into features field
2018-08-09 08:37:30 +02:00
Matthew Stewart
57691c4276
STARTREK: Add missing license headers
2018-08-09 08:37:30 +02:00
Matthew Stewart
91c8320bd9
STARTREK: Rename SINS5 variable
2018-08-09 08:37:30 +02:00
Matthew Stewart
f33f548884
STARTREK: Saving/loading for SINS mission
2018-08-09 08:37:30 +02:00
Matthew Stewart
359b0c2307
STARTREK: Add german floppy version to detection
2018-08-09 08:37:30 +02:00
Matthew Stewart
1599e57dfe
STARTREK: SINS5 text changes
2018-08-09 08:37:30 +02:00
Matthew Stewart
1c89c06508
STARTREK: SINS5
2018-08-09 08:37:30 +02:00
Matthew Stewart
06d7656d42
STARTREK: Play midi sounds on floppy version
2018-08-09 08:37:30 +02:00
Matthew Stewart
a1107f0500
STARTREK: Use AD_ENTRY1s for game detection
2018-08-09 08:37:30 +02:00
Matthew Stewart
982502650f
STARTREK: Replace min & max with MIN & MAX
2018-08-09 08:37:30 +02:00