restore lighting falloff capability from retail and non-HTL modes (only used for asteroids as far as I know)
various cleanups and speedups for dealing with lights
various lighting code cleanups
- try to always make sure beam origin lights occur outside of model
- make Static_lights[] dynamic
- be sure to reset to first 8 lights when moving on to render spec related texture passes
- add ambient color to point lights (helps warp effects)
- sort lights to try and get more important and/or visible lights to always happen in initial render pass
- remove special uv offsets for non-standard res, they were stupid anyway and don't actually fix the problem (which should actually be fixed now)
- avoid some costly math where possible in the drawing functions
- add opengl_error_string(), this is part of a later update but there wasn't a reason to not go ahead and commit this peice now
- minor cleanup to Win32 extension defines
- make opengl_lights[] allocate only when using OGL
- cleanup some costly per-frame lighting stuff
- clamp textures for interface and aabitmap (font) graphics since they shouldn't normally repeat anyway (the default)
(doing this for D3D, if it doesn't already, may fix the blue-lines problem since a similar issue was seen with OGL)
make debug messages a bit more readable
clean up the debug console commands for minimize and anisotropic filter setting
make anisotropic filter actually work correctly and have it settable with a reg option
give opengl_set_arb() the ability to disable all features on all arbs at once so I don't have to everywhere
add -cache_bitmaps and have bitmap caching between levels off by default
when -cache_bitmaps is used then use C-BMP for top-right memory listing, and just BMP otherwise
fix OGL fullscreen switch for SDL since the old way only worked under Linux and not OSX or Windows
fix OGL version check, it would allow a required major version to be higher if the required minor version was lower than current
- remove all bitmap section support and fix problems with previous attempt
( code/bmpman/bmpman.cpp, code/bmpman/bmpman.h, code/globalincs/pstypes.h,
code/graphics/2d.cpp, code/graphics/2d.h code/graphics/grd3dbmpman.cpp,
code/graphics/grd3dinternal.h, code/graphics/grd3drender.cpp, code/graphics/grd3dtexture.cpp,
code/graphics/grinternal.h, code/graphics/gropengl.cpp, code/graphics/gropengl.h,
code/graphics/gropengllight.cpp, code/graphics/gropengltexture.cpp, code/graphics/gropengltexture.h,
code/graphics/tmapper.h, code/network/multi_pinfo.cpp, code/radar/radarorb.cpp
code/render/3ddraw.cpp )
- use CLAMP() define in gropengl.h for gropengllight instead of single clamp() function
- remove some old/outdated code from gropengl.cpp and gropengltexture.cpp
fix VBO crash with multitexture using same uv coord data
little speedup of opengl_tcache_frame()
error message to make sure hardware supports the minimum texture size
move OpenGL version check out of the extention printout code
disable 2d_poof with OpenGL