Commit graph

181 commits

Author SHA1 Message Date
Steven Fuller
243e6d8f55 OpenAL WIP. 2019-08-20 02:22:37 +02:00
Steven Fuller
c6dec0e4d9 OpenAL WIP. 2019-08-20 02:22:37 +02:00
Steven Fuller
68a0572d13 OpenAL WIP. 2019-08-20 02:22:37 +02:00
Steven Fuller
2e7aec7855 Removed SupportFPMathsFunctions and SupportFPSquareRoot macros. 2019-08-20 02:22:37 +02:00
Steven Fuller
d655ca3f04 Removed an unused variable. 2019-08-20 02:22:37 +02:00
Steven Fuller
a176617318 Fixed a few warnings. 2019-08-20 02:22:37 +02:00
Steven Fuller
c948a59391 Removed Watcom Compiler support. 2019-08-20 02:22:37 +02:00
Steven Fuller
02db356511 Removed more unused code. 2019-08-20 02:22:37 +02:00
Steven Fuller
2a737d91fc Removed unused file. 2019-08-20 02:22:37 +02:00
Steven Fuller
40fa3975bf Fixed prototype. 2019-08-20 02:22:37 +02:00
Steven Fuller
25260a55dc Fixed an undefined value assert. 2019-08-20 02:22:37 +02:00
Steven Fuller
adbf5e440d Switched to the C version of TranslatePoint. 2019-08-20 02:22:37 +02:00
Steven Fuller
2d2faf1247 Worked around a crash during level reloads.
Global state in bh_marin.c isn't being deinitialized,
and this was causing some code to incorrectly execute
during a level restart.  Said code has been commented out,
as it appears to have been previously disabled.

Improved the deinitialization in pheromon.c to make similar
crashes more obvious.
2019-08-20 02:22:37 +02:00
Steven Fuller
5d730a8930 Removed redundant prototype that accidently got left in. 2019-08-20 02:22:37 +02:00
Steven Fuller
0cab37ee8b Got the Windows WIP branch to build in Linux. 2019-08-20 02:22:37 +02:00
Steven Fuller
7213d91585 Windows WIP.
Added VS-style structure packing support.
2019-08-20 02:22:37 +02:00
Steven Fuller
2fee7a06b4 Windows WIP.
Implemented the rest of winfiles.c to get user profiles working.
2019-08-20 02:22:37 +02:00
Steven Fuller
98a746b5c4 Windows WIP. 2019-08-20 02:22:37 +02:00
Steven Fuller
56b6d2078a Removed trailing '/' from temp starting paths. 2019-08-20 02:22:37 +02:00
Steven Fuller
e9788e390d Windows WIP. 2019-08-20 02:22:37 +02:00
unknown
c51b91cfe7 Windows WIP. 2019-08-20 02:22:37 +02:00
Steven Fuller
5d3725f9d9 Removed a lot of tool code. 2019-08-20 02:22:37 +02:00
Steven Fuller
9b449609fa Removed SupportWindows95 and platform_pc macros. 2019-08-20 02:22:37 +02:00
Steven Fuller
361c131932 Removed most references to PSX, Saturn and E3 Demo. 2019-08-20 02:22:37 +02:00
Steven Fuller
332acfbf8b Removed another old menu header. 2019-08-20 02:22:37 +02:00
Steven Fuller
76403986b1 Removed unused image and font code. 2019-08-20 02:22:37 +02:00
Steven Fuller
a64e100838 Removed the old menu systems. 2019-08-20 02:22:37 +02:00
Steven Fuller
b80766326b Removed macros that were not being used in the game code. 2019-08-20 02:22:37 +02:00
Steven Fuller
efc3e22969 Removed SupportHHStuff. 2019-08-20 02:22:37 +02:00
Steven Fuller
ead7859059 Removed DAVEW. 2019-08-20 02:22:37 +02:00
Steven Fuller
e3070e7088 Removed UseOldChunkLoader. 2019-08-20 02:22:37 +02:00
Steven Fuller
d5c94a666b More cruft removal. 2019-08-20 02:22:37 +02:00
Steven Fuller
e41ad4ac5c Removed unused map hud code. 2019-08-20 02:22:37 +02:00
Steven Fuller
8767d06b18 Fixed gcc 4.2.3 compile issue. 2019-08-20 02:22:37 +02:00
Steven Fuller
c3cc5eb878 Made sin/cos tables const.
Made the sin/cos/arcsin/arccos tables const and removed the redundant
externs that were scattered about.
2019-08-20 02:22:37 +02:00
Steven Fuller
f570ed86c4 Replaced the i386 inline assembly with C equivalents. 2019-08-20 02:22:37 +02:00
Steven Fuller
2f14808546 Removed debug quit message. 2019-08-20 02:22:37 +02:00
Steven Fuller
fd2ce56ae9 fixed a little mistake in my audio code... some parameters were in the
wrong order...
2019-08-20 02:22:37 +02:00
Steven Fuller
71204923ad wrote a simple wave loader to remove dependency on a private openal function. 2019-08-20 02:22:37 +02:00
Steven Fuller
0e484b73da disabled some more assembly.
trying out passing NULL to SDL_GL_LoadLibrary by default.
2019-08-20 02:22:37 +02:00
Steven Fuller
785c016a28 gcc 4.1 compile fixes. 2019-08-20 02:22:37 +02:00
Steven Fuller
030db5bb23 compile fixes for gcc 4.0 / osx. 2019-08-20 02:22:37 +02:00
Steven Fuller
d9a250e1df removed nasm support. 2019-08-20 02:22:37 +02:00
Dan Olson
ea1bc9bda9 gcc 3.4 fixes. 2019-08-20 02:22:37 +02:00
Steven Fuller
de29fd1d10 changed the default opengl library string to "libGL.so.1" 2019-08-20 02:22:37 +02:00
Steven Fuller
81b1a6509b added xfree86 libgl name. 2019-08-20 02:22:37 +02:00
Steven Fuller
d97c4252d6 OpenGL library is now loaded dynamically. 2019-08-20 02:22:37 +02:00
Steven Fuller
c77756e6fe changed FixFilename to only lowercase the game-supplied part of a filename.
added better game directory detection code.  now each candidate directory
is checked for validity.
2019-08-20 02:22:37 +02:00
Steven Fuller
9811f0824c commented out that obnoxious logging... 2019-08-20 02:22:37 +02:00
Steven Fuller
9c1f997f05 GetThisMovementData() now returns "const MOVEMENT_DATA *" 2019-08-20 02:22:37 +02:00