summaryrefslogtreecommitdiff
path: root/src/opengl.c
AgeCommit message (Collapse)Author
2019-08-20Removed/disabled some unused code.Steven Fuller
Readded second pass specular drawing. Fixed particle drawing (lights had mysteriously stopped showing up for a while).
2019-08-20Small changes in order to get the demos to work. Alien demo runs. MarineSteven Fuller
and Predator demos used a different HUD font. Changes that need to be made for demo versions: 1. avp/langenum.h needs to be rebuilt for each demo (easy) 2. Marine and Predator demos need to use a different HUD font 3. There may be other minor differences with enums, etc.
2019-08-20Added a README.Steven Fuller
Added the HUD font drawing code. now stubs2.cpp is no longer needed.
2019-08-20Implemented sky drawing and a few other routines (cloaked polygon,Steven Fuller
rectangle, etc). Worked around a V5 DRI issue(?) by breaking up some drawing into triangles.
2019-08-20Added the on fire, damaged, and fade down overlays.Steven Fuller
Used polygon offset to help with decal zfighting.
2019-08-20Added code for Alien's special vision mode.Steven Fuller
Marine HUD numbers are now drawn. Disabled the "Press Any Key" in the progress bar code for now.
2019-08-20Added noise overlay (for marine image enhancer).Steven Fuller
2019-08-20Implemented HUD (Textures) and Decal drawing.Steven Fuller
2019-08-20Turned texture repeating back on. (some levels seem to need it to lookSteven Fuller
'properly'). Implemented some special vision mode drawing (for Predator).
2019-08-20Fixed particle colors for real this time.Steven Fuller
Worked around a crash (DIV_FIXED by zero) that happens when the Alien level FERARCO starts.
2019-08-20Fixed particle blending.Steven Fuller
2019-08-20Fixed perspective texture drawing.Steven Fuller
Implemented a few simple opengl state optimizations.
2019-08-20Added texture drawing for particles (drawing not yet correct due to blackSteven Fuller
borders around the images).
2019-08-20Threw in texture loading/drawing.Steven Fuller
Blending modes (color/texture) are problematic and texture coordinates aren't yet perfect.
2019-08-20Fixed error with particle colors.Steven Fuller
2019-08-20Added Particle drawing.Steven Fuller
2019-08-20Added the windows gamma code.Steven Fuller
Fixed lighting problem with weapons.
2019-08-20Implemented keyboard input.Steven Fuller
Copied some functions from pldnet and d3d_render (now the player image shows in the mirror).
2019-08-20Improved Z precision at 16bpp.Steven Fuller
2019-08-20Fixed FPU assembly. (fistp is 16bit, fistpl is 32bit)Steven Fuller
Game displays now.
2019-08-20Added simple key event processing.Steven Fuller
2019-08-20Fixed major bug in TranslatePoint (was accidently loading a value to edxSteven Fuller
instead of edi). Failed to get anything comprehendible on screen.
2019-08-20Moved inline assembly to a separate file for debugging.Steven Fuller
Implemented GetTickCount/timeGetTime. Added basic SDL/OpenGL support. Draws something with no optimizations, but draws nothing with -O2. (What is drawn looks like garbage.)