Commit Graph
279 Commits
Author SHA1 Message Date
bobboau 6d7c837732 ok, something aparently went wrong, last time, so I'm commiting again
hopefully it should work this time
damnit WORK!!!
2007-01-14 14:03:40 +00:00
Goober5000 041036e68d remove WMC's limbo code, per our discussion a few months ago
this will later be handled by copying ship stats using sexps or scripts
2007-01-08 00:50:59 +00:00
taylor d3c2631af6 proper envmap generation for OpenGL 2007-01-07 12:34:36 +00:00
wmcoolmon b90b5716df WMC codebase commit. See pre-commit build thread for details on changes. 2006-12-28 00:59:54 +00:00
karajorma 5012655a0d Move the voice recognition init to stop Windows complaining and failing to init it. 2006-12-20 11:27:06 +00:00
taylor 5d442d8d6f handle the video registry entry better
support for new Windows window creation code
various bits of minor cleanup
2006-11-16 00:55:08 +00:00
taylor 0652c0a1f2 fix some of the envmap issues
- use proper hand-ness for OGL
 - fix distortion
 - get rid of extra index buffer requirement
change starfield bitmaps to use an instance matrix rather than going through all the trouble of resetting the view matrix
basic cleanup and get rid of a couple of struct/variable naming issues (compiler sanity)
make double sure that we aren't using culling of z-buffering when rendering starfield bitmaps
2006-11-06 06:46:08 +00:00
taylor 572b7f3f72 updated/fixed modelanim code 2006-11-06 06:36:44 +00:00
taylor 14bc95a5cc fix loading callback issue in standalone 2006-11-06 05:48:15 +00:00
taylor 6545a8c5df remove Assert() on Viewer_obj for supernova sun processing, it's not really needed and a NULL obj is easily dealt with by the code 2006-11-01 06:15:25 +00:00
taylor 0045901c41 more standalone server fixes:
- add some basic bmpman functionality to grstub, since it needs to do something at least
 - add missing gr_* function ptrs to grstrub
 - (re-)enable radar and hud setup functions that used to crash (problems are fixed now)
 - deal with default pilot file properly (also caused a bmpman headache)
 - don't bother with Multi_common_icons[] in standalone mode (they don't load, so don't let them unload either)
2006-09-24 22:55:17 +00:00
taylor 135261958b small optimizations and code cleanup
use the real frametime for FPS counter stuff, no reason to deal with time compression there (Mantis bug #1058)
2006-09-24 13:30:33 +00:00
taylor edbfdbbac6 default to 44100 sound sample rate (OpenAL tends to works much better with this) 2006-09-20 05:06:54 +00:00
taylor dd1de10b08 properly support 4gig of RAM, and don't totally freak out if user has more than that 2006-09-20 05:03:12 +00:00
taylor d46e332bf8 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) 2006-09-13 03:17:34 +00:00
taylor 2bbcd2bf28 various small compiler warning and strict compiling fixes 2006-09-11 06:45:40 +00:00
taylor d8c395d382 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)
2006-09-11 05:35:51 +00:00
taylor 3d416984bf fix things that strict compiling balked at (from compiling with -ansi and -pedantic) 2006-09-08 06:20:15 +00:00
wmcoolmon 9f423d13da Better static mouse cursor support 2006-09-04 20:56:12 +00:00
Backslash 285d95bc9d Make hud toggle apply to hud framerate, statistics, and camera position 2006-09-04 09:26:36 +00:00
wmcoolmon b64964c688 Fix scripting HUD hook execution method 2006-09-04 06:11:22 +00:00
taylor 0319781c9c slight math optimizations
reduce COUNT_ESTIMATE since I added more game_busy() calls for models and it threw off the loading bar
2006-08-20 00:50:08 +00:00
Goober5000 b68d361107 add the multiple background feature
--Goober5000
2006-08-06 18:47:29 +00:00
taylor c8d20207d3 fix for animated texture map issues (*part one*), this should be faster than before too, and fix inf-loop/div-by-0 issues 2006-07-13 22:16:38 +00:00
Goober5000 782231cfbe 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
2006-07-09 01:55:42 +00:00
Goober5000 eae62591ce 1) complete (almost) changeover to reorganized texture mapping system
2) finally fix texture animation; textures now animate at the correct speed
--Goober5000
2006-07-06 04:06:04 +00:00
Goober5000 392727d494 cvs comment tweaks 2006-07-05 23:37:13 +00:00
Goober5000 f669cad916 --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
2006-07-04 07:42:50 +00:00
taylor e73bab92fc 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
2006-06-27 04:58:58 +00:00
Goober5000 1c9d8e3953 tweaked the version string
--Goober5000
2006-06-15 01:29:25 +00:00
wmcoolmon 2810fe4d4c Limbo flag support 2006-06-07 04:39:56 +00:00
wmcoolmon 3e24382662 Revert changes 2006-06-07 03:49:36 +00:00
wmcoolmon 565d6bab83 Scripting system prep for 3.6.9 2006-06-07 03:36:19 +00:00
taylor d6574a2e48 remove init_decals declaration, it's in the header now since we build without decal support 2006-06-03 11:57:13 +00: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