summaryrefslogtreecommitdiff
path: root/src/opengl.c
AgeCommit message (Collapse)Author
2019-08-20Changed rhw into w as that was how it was used. Also fixed a few warnings.Steven Fuller
2019-08-20Windows WIP.unknown
2019-08-20Made sin/cos tables const.Steven Fuller
Made the sin/cos/arcsin/arccos tables const and removed the redundant externs that were scattered about.
2019-08-20OpenGL library is now loaded dynamically.Steven Fuller
2019-08-20changed incorrect (int)char casts to (unsigned char)char casts.Steven Fuller
2019-08-20Commented out secondary color stuff due to nvidia header lamenessSteven Fuller
2019-08-20More Warning cleanups (Tim Beckmann)Steven Fuller
2019-08-20GL_EXT_secondary_color now spelled correctly (Tim Beckmann)Steven Fuller
Progress Bar drawing hopefully fixed.
2019-08-20Implemented the Progress Bar during Loading.Steven Fuller
2019-08-20Many warnings cleaned up (Tim Beckmann)Steven Fuller
Menus.
2019-08-20Disable the menus for the Alien demo.Steven Fuller
2019-08-20Most of the menu code now builds.Steven Fuller
2019-08-20Added AvP-Style attenuation code.Steven Fuller
2019-08-20Removed a few unused files.Steven Fuller
2019-08-20Fixed water drawing.Steven Fuller
Added a better hack to the Text loader (for Alien demo). Fixed water texture paths for Alien Demo.
2019-08-20Removed more unused stuff.Steven Fuller
Finally finished ingame OpenGL code (I hope). Fixed another mistake in mathline.c.
2019-08-20Added the rest of the hacks.Steven Fuller
2019-08-20Removed some unused code.Steven Fuller
Added some of the level drawing hacks (water, rain).
2019-08-20Removed more unused code.Steven Fuller
Implemented console input.
2019-08-20Fixed texture filtering modes.Steven Fuller
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.)