Commit graph

260 commits

Author SHA1 Message Date
Steven Fuller
0de664d0a8 Import icculus.org release (2015-02-14) 2019-08-20 03:51:33 +02:00
Steven Fuller
22475d6d94 Import icculus.org release (2014-12-25) 2019-08-20 03:45:24 +02:00
Steven Fuller
819e239f23 Switched openal-config with pkg-config openal. 2019-08-20 02:22:37 +02:00
Steven Fuller
100970c8d7 Removed obsolete SI-era OpenAL initialization. 2019-08-20 02:22:37 +02:00
Steven Fuller
accc5bbd8d Trying out using alpha test to emulate color keying.
The original D3D code used SetColorKey to remove the transparent bits
from certain textures, like the HUD alien tail.  As there's no
straightforward way to do this in OpenGL without using fragment
programs, enable alpha test to reject fragments with zero alpha.  This
might break a few things that have alpha set to zero when translucency
is off -- I fixed the few cases that I found.
2019-08-20 02:22:37 +02:00
Steven Fuller
e69698d11e Added the missing support for static on the televisions. 2019-08-20 02:22:37 +02:00
Steven Fuller
55ddb88c8e Removed D3DOverlayColourControl. 2019-08-20 02:22:37 +02:00
Steven Fuller
ebfc59249e Fixed graphics issues with the alien sense vision mode. 2019-08-20 02:22:37 +02:00
Steven Fuller
f9f50d1fb0 CFLAGS tweaks. 2019-08-20 02:22:37 +02:00
Steven Fuller
4b5f7e00b6 Adjusted the polygon offset to a more reasonable value. 2019-08-20 02:22:37 +02:00
Steven Fuller
4f2d3fe2c3 Tweaked polygon offset usage.
Tweaked the values used for glPolygonOffset, as the previous values
caused rendering issues with the fire in temple.  The new values
probably reintroduce decal z-fighting with blood and bulletmarks, but
the fire z-fighting was a bigger issue.
2019-08-20 02:22:37 +02:00
Steven Fuller
0d6d5e545a Changed rhw into w as that was how it was used. Also fixed a few warnings. 2019-08-20 02:22:37 +02:00
Steven Fuller
c11821b898 Try not being so lame with the sound initialization. 2019-08-20 02:22:37 +02:00
Steven Fuller
fc69f56b9a Fixed input not working when coming out of a game. 2019-08-20 02:22:37 +02:00
Steven Fuller
6efffab0c5 OpenAL WIP. 2019-08-20 02:22:37 +02:00
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