Goober5000
a622bf7e8e
--in preparation for fixing an annoying animated texture bug, reorganize the various texture structs and glow point structs and clarify several parts of the texture code :P --this breaks animated glow maps, and animated regular maps still aren't fixed, but these will be remedied shortly --Goober5000
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3279 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:23 +10:00
taylor
d08247bd83
sync up current OpenAL changes - "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 fix various things that Valgrind complained about make sure we can report both AL and ALC errors fix for ds_get_free_channel(), it shouldn't return -1 on an AL error
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3260 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:22 +10:00
Goober5000
3b21cf5552
tweaked the version string --Goober5000
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3207 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:20 +10:00
wmcoolmon
e0e497faf0
Limbo flag support
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3172 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:19 +10:00
wmcoolmon
955237e707
Revert changes
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3167 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:19 +10:00
wmcoolmon
2436225f7c
Scripting system prep for 3.6.9
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3166 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:19 +10:00
taylor
5acf68533c
remove init_decals declaration, it's in the header now since we build without decal support
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3155 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:18 +10:00
taylor
cdf8c8bdd0
NO_DIRECT3D support
...
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
2006-05-27 17:12:44 +00:00
taylor
7a8789e334
OpenGL envmap support
...
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
2006-05-13 07:29:52 +00:00
Goober5000
7e41877b7b
proper capitalization according to Volition
2006-04-20 06:32:30 +00:00
phreak
458a19f5a2
use gr_flash_alpha() for fade-in/fade-out effect.
...
just using gr_shade() will not work with the hud off or using an external camera.
2006-04-15 04:17:58 +00:00
taylor
e35065bc0d
remove all of the *_ex() parsing functions added for use by EFFs
...
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)
2006-04-14 18:44:16 +00:00
taylor
7828fc7e6f
compiler warning fixes to make GCC 4.1 shut the hell up
2006-04-12 22:23:41 +00:00
taylor
6f5aedc929
that's a rather expensive function to call twice per frame, we should only need to call it once per mission and not ever have to reset it to some middle value
2006-04-12 00:55:16 +00:00
phreak
9c40dfa5b9
undo mission list changes for now while taylor is out of town and unable to commit the rest of the codebase.
2006-04-09 19:50:19 +00:00
taylor
0892a36bcf
perhaps this will fix the white splash screen issue on Windows (been sitting on this, might as well commit it)
2006-04-06 23:25:17 +00:00
wmcoolmon
def1993de8
Miscellaneous minor changes, mostly related to addition of Current_camera variable
2006-04-03 07:48:03 +00:00
taylor
b39d880ed4
split pause_*() and multi_pause_*() functions into individual single and multi versions (why it was hacked up like that I'll never know)
...
fix screen save in multi pause mode
address some bmpman issues from interface graphics getting released and then still used by something else
2006-03-26 08:23:06 +00:00
taylor
bcdb0b67db
don't run through game_shade_frame() every frame unless we are in a game-play state
2006-03-25 10:40:38 +00:00
Goober5000
72c2a5c356
fix comm order initialization bug
...
--Goober5000
2006-03-18 22:00:43 +00:00
taylor
f8596e6e18
we already have a variable to show the framerate so lets just use the one
2006-03-18 10:17:59 +00:00
Goober5000
b52b6b1e00
spelling
2006-02-25 21:47:19 +00:00
wmcoolmon
5d7847a54b
Fix no text for splash screen scripting problem
2006-02-25 06:57:58 +00:00
taylor
6fd0b02ea1
fix custom loading screens that I manage to break yet again
...
add a "MaxFPS" registry/ini option to specify a FPS cap, useful if you can't make use of v-sync for some reason
2006-02-24 07:34:07 +00:00
taylor
66d317b2ab
updated to newest dynamic starfield code
...
- 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
2006-02-20 07:30:15 +00:00
Goober5000
a9642a2a86
more tweaks, plus clarification of checks for the existence of files
...
--Goober5000
2006-02-13 00:20:46 +00:00
wmcoolmon
c84776a188
Scripting simulation hook; removed USE_LUA
2006-01-31 06:42:00 +00:00
taylor
603feaaa4c
dynamic starfield bitmaps
2006-01-30 06:30:03 +00:00
taylor
a3bdc81969
fix temp ptr warning, untested but could possibly be less error prone in some situations
2006-01-22 01:26:15 +00:00
wmcoolmon
24d8f7973f
Scripting updates; Special scripting image list; Better operator meta; Orientation type; Wing type; Texture type. Fix for MSVC7 compiling.
2006-01-21 02:22:05 +00:00
Goober5000
42a84d2e8f
sorted the #include listing again
...
--Goober5000
2006-01-20 06:26:41 +00:00
wmcoolmon
cd7cacd004
Faster object handles
2006-01-19 22:25:01 +00:00
wmcoolmon
769608ef6d
More Lua checks; added Lua vector object; better operator support.
2006-01-19 20:18:12 +00:00
phreak
1456c88369
obj_script_set_global() should have an #ifdef/#endif USE_LUA pair in the function body.
2006-01-19 03:15:31 +00:00
wmcoolmon
27a9f8d43a
Better state handling; added GameInit hook
2006-01-17 07:28:39 +00:00
wmcoolmon
38daca278d
data/scripts directory
2006-01-17 02:33:20 +00:00
wmcoolmon
c1005caecb
Use obj_script_set_global for "plr" and "slf"; remove Lua variable if variable goes to NULL
2006-01-16 11:16:07 +00:00
wmcoolmon
abf75dd133
Various warning fixes, scripting globals fix; added "plr" and "slf" global variables for in-game hooks; various lua functions; GCC fixes for scripting.
2006-01-16 11:02:23 +00:00
wmcoolmon
eba6d1dff9
Special shockwave and moving capship bugfix, (even more) scripting stuff, slight rearrangement of level management functions to facilitate scripting access.
2006-01-14 19:54:55 +00:00
wmcoolmon
25bcca3dec
Allow RunByteCode to return an argument
2006-01-14 10:35:41 +00:00
wmcoolmon
4fd1bc3583
New Lua feature - globals control.
2006-01-14 09:21:27 +00:00
wmcoolmon
f13027481c
More scripting stuff
2006-01-13 04:46:17 +00:00
wmcoolmon
746b0724b9
Even more scripting stuff.
2006-01-12 17:42:56 +00:00
wmcoolmon
5be88dfe76
Finished committing codebase
2006-01-12 04:18:10 +00:00
taylor
d96d446600
use cf_find_file_location() check instead of cfopen() for is_spary_hi check
2006-01-11 05:40:59 +00:00
wmcoolmon
b899086978
Complete the HUD scripting hook. (Eight lines of code, and I still miss three of them. :P
2006-01-11 01:35:53 +00:00
randomtiger
fcd67856f7
Improvements to voice recognition system.
...
Also function put on -voicer launcher option.
2006-01-10 18:37:46 +00:00
phreak
0c663d84ee
fix compile warnings.
2006-01-09 04:52:34 +00:00
randomtiger
7bf193c5e4
Added voice recognition functionality for Visual C6 project only.
...
Currently still a work in progress.
2006-01-03 17:07:11 +00:00
wmcoolmon
246cfcfa65
Codebase commit, most notably including objecttypes.tbl
2005-12-29 08:08:42 +00:00