taylor
a02ac92043
properly support 4gig of RAM, and don't totally freak out if user has more than that
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3573 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:35 +10:00
taylor
b0033e2d81
be sure that we still try to play a movie if we get to the cmd/brief screen right from another mission without debrief (Mantis bug 1043)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3556 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:34 +10:00
taylor
1ed5c7d6c7
various small compiler warning and strict compiling fixes
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3542 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:33 +10:00
taylor
ffc6ca5117
some fixes for the standalone server - 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)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3525 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:32 +10:00
taylor
240fabbdd0
fix things that strict compiling balked at (from compiling with -ansi and -pedantic)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3511 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:32 +10:00
wmcoolmon
f6be711610
Better static mouse cursor support
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3497 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:31 +10:00
Backslash
1d052f7a21
Make hud toggle apply to hud framerate, statistics, and camera position
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3493 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:31 +10:00
wmcoolmon
8ab18d8257
Fix scripting HUD hook execution method
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3487 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:31 +10:00
taylor
5d709bb63f
slight math optimizations reduce COUNT_ESTIMATE since I added more game_busy() calls for models and it threw off the loading bar
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3452 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:30 +10:00
Goober5000
83bd864198
add the multiple background feature --Goober5000
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3399 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:28 +10:00
taylor
3beb39f3de
fix for animated texture map issues (*part one*), this should be faster than before too, and fix inf-loop/div-by-0 issues
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3335 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:26 +10:00
Goober5000
0c4922f248
consolidate the "for reals" crap into a proper ship flag; also move the limbo flags over to SF2_*; etc. this should fix Mantis #977 --Goober5000
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3317 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:25 +10:00
Goober5000
1f9f692bfd
1) complete (almost) changeover to reorganized texture mapping system 2) finally fix texture animation; textures now animate at the correct speed --Goober5000
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3285 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:23 +10:00
Goober5000
b4fcd028f0
cvs comment tweaks
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3282 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:23 +10:00
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