- get init order correct for lcl and std init
- turn off some cmdlines that are just graphics related when Is_standalone
- skip radar_mission_init() (may need to rethink that though, it's bound to cause problems)
- "SoundDeviceOAL" reg option for user specified sound device (used instead of "Soundcard" for OpenAL)
- reset current context when we are leaving, may be leaving drivers in a bad state, and it hasn't hung up in quite a while
- if sound card (which DS or OAL) is set to "no sound" then be sure to disable both sound and music
clean up video init stuff to use D3D if specified but always OGL otherwise (using NO_DIRECT3D will force always force OGL)
if video card reg entry can't be found just use OGL rather than getting all freaky on people
change for geometry batcher update
newer OpenGL extension support
add GL_ARB_texture_rectangle support for non-power-of-2 textures as interface graphics
add cubemap reading and writing support to DDS loader
fix bug in DDS loader that made compressed images with mipmaps use more memory than they really required
add support for a default envmap named "cubemap.dds"
new mission flag "$Environment Map:" to use a pre-existing envmap
minor cleanup of compiler warning messages
get rid of wasteful math from gr_set_proj_matrix()
remove extra gr_set_*_matrix() calls from starfield.cpp as there was no longer a reason for them to be there
clean up bmpman flags in reguards to cubemaps and render targets
disable D3D envmap code until it can be upgraded to current level of code
remove bumpmap code from OpenGL stuff (sorry but it was getting in the way, if it was more than copy-paste it would be worth keeping)
replace gluPerspective() call with glFrustum() call, it's a lot less math this way and saves the extra function call
add a pause/unpause for parsing so that we can safely start parsing something new then continue parsing something old
make Mission_text and Mission_text_raw only use the memory needed, and free it when it doesn't need to parse anymore
(should work ok with FRED2, but I wasn't able to test it)
- this mainly is to just better support SEXP based starfield bitmap changes (preloading, better in-mission stuff loading)
- also fixes index_buffer related double-free()
- done waste memory for env index buffer if env is not enabled
- address a couple of bm load/release issues and comment a little to tell why