Commit Graph
3348 Commits
Author SHA1 Message Date
taylor 80e3dc8a95 stupid of me to use a case-sensitive comparison there, but then it wasn't really a problem until Goober's bitmap list support ;) 2006-12-07 18:26:03 +00:00
taylor 85083d163d various sound fixes/changes, mainly for OS X fixage 2006-12-07 18:24:43 +00:00
taylor 0fe5a3716c fix secondary thruster length stuff
- change thruster_glow_len_factor to thruster02_glow_len_factor so it's a bit more obvious
 - fix tbl entry so that it makes sense what you are setting :)
2006-12-07 18:23:38 +00:00
taylor caf33b26d9 unbreak the breakage that I broke when I tried to fix breakage that wasn't broken the second time but initialy broke instead
(yeah, this one confused me ;))  (Mantis bug #1165)
2006-12-07 18:21:25 +00:00
taylor da6a01478a try and keep angles within PI2 (Bobboau's advice, since he knows more than I do about this stuff :)) 2006-12-07 18:19:23 +00:00
taylor 71f8afeb5a add "$Weapons Energy Text:" to hud_gauges.tbl so that the low energy text can be positioned as well (Mantis bug #1166) 2006-12-07 18:17:19 +00:00
taylor 56b572b4fa minor cleanups and speedups
when using lighting falloff, be sure to drop emissive light when falloff gets low enough (otherwise we still se everything fine)
2006-12-07 18:16:11 +00:00
taylor dbc1fb0417 get rid of "vram_full", it can never actually be full the way the code works, so having this is redundant
comment out APPLE_client_storage extension usage, I think this was messing some stuff up on OS X and causing memory errors
fix handling of cubemap data so that they can be read properly (can't believe it took so long to notice to an obvious and stupid bug)
be sure to un-bind textures during preload to avoid freaky little errors later
ifdef an error message from the framebuffer error code, Apple doesn't have this one define in their headers for some reason
2006-12-07 18:14:49 +00:00
taylor c1bf628137 restore default ambient light values to retail-like settings (I based the previous values on default D3D, which was rather dumb of me)
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
2006-12-07 18:10:16 +00:00
taylor 33780d9f26 get rid of GL_activate and GL_deactivate, it was just Glide ported stuff that we never used and never needed
handle window/fullscreen/minimize changes better, fixes cursor handling mostly (Mantis bug #1146)
don't flush on gamma change, we don't really need to any more
2006-12-07 18:07:51 +00:00
taylor 45bfd0964b remove now-dead code 2006-12-07 18:04:42 +00:00
taylor a2d4bac2d2 clean up warning code for Windows
handle messagebox popups better (until I done with even cooler code for handling that)
cleanup window state code a bit, and deal with activation and cursor handling better
handle WM_ERASEBKGND msg ourselves, prevents some flickering issues and gets rid of the need to self-paint the window to clear it
slightly better Win9x/WinME compatibility for the main window
2006-12-07 18:04:03 +00:00
taylor 171ec9671d these defines are all the same value, so it's safer to just have one set 2006-12-07 17:59:37 +00:00
taylor 0b64dfe278 comment out some stuff that isn't used
fix cleanup code which didn't really let go of things all the way
2006-12-07 17:58:37 +00:00
taylor eef59b2558 cleanup for movie init stuff (this will be even cleaner once the rest of the Theora code finally gets in)
get rid of the clear screen hack for Windows, we can handle that better now
2006-12-07 17:57:25 +00:00
taylor 92ffac3f1c port over some Theora player stuff:
- support for GL_ARB_texture_rectangle
 - fix GL tear-down on movie exit
 - fix sound tear-down order issue on OS X
 - some speed increases, and get rid of the extra gr_clear() per-frame now that it's handled properly
 - proper support for widescreen resolutions
2006-12-07 17:55:51 +00:00
taylor d05dfd7663 a little clean up for bits of code that isn't used 2006-12-07 17:53:08 +00:00
taylor 6499f0d2c2 make fire-on-normal return value a little more obvious
fix the "infinite genius" move I made by breaking turret movements ;)
2006-12-07 17:51:39 +00:00
karajorma 5e75e29fb1 Fix for Stream weapons not appearing for clients when fired by AI ships in multiplayer. Actual work mostly done by Juke not me 2006-12-01 18:53:55 +00:00
Goober5000 b44a65eb45 make an error message more descriptive, and allow the new method of parsing subsystem flags 2006-11-28 05:51:03 +00:00
Goober5000 99f7848ad7 the grammar nazi strikes again!
(and sneaks an extra #define in there while he's at it!)
2006-11-28 05:48:21 +00:00
Goober5000 23f4eb58f5 prevent false positive while error checking 2006-11-26 03:22:45 +00:00
Goober5000 b0f0b41d27 if a wing of ships is docked to something, that entire wing must have an arrival cue of false 2006-11-25 07:07:52 +00:00
Goober5000 e2604c4a30 holy crap, this had the potential to mark the locked-true sexp as known-false, which would seriously screw a lot of stuff up 2006-11-25 06:37:06 +00:00
Goober5000 122910dd17 this may have been an oversight 2006-11-25 06:33:22 +00:00
Goober5000 c1a50705a8 FRED again updates backgrounds while the user is editing them 2006-11-24 22:40:16 +00:00
karajorma 42d2986655 Fix ammo and weapon SEXP changes not being passed on to the clients 2006-11-21 23:07:27 +00:00
taylor 57353a5806 handle knossos warp effect flip in a slightly better, slighter safer way (Mantis bug #1048, plus a couple that weren't filed) 2006-11-16 01:11:28 +00:00
taylor b237f8fbc9 do no culling on the warp effect model_render call properly (doesn't appear to break anything now that it actually set to not cull) 2006-11-16 01:10:47 +00:00
Goober5000 0145ce8bb8 a much better fix for built-in arrival messages... it needs a new feature to fully work for custom wings though 2006-11-15 04:02:31 +00:00
taylor d1ee1f55b7 updated outwnd code for both Windows and non-Windows:
- make print filters dynamic
 - fix various little bugs and issues
 - cleanup some non-used variables (non-Windows)
 - put everything under NDEBUG like it was, or should be
 - change to using data/fs2_open.log for log file (Windows)
 - change to using data/debug_filter.cfg (Windows)
 - make the extra debug window optional, and disabled by default (Windows)
 - fix some possible NULL references
 - clean up the SAFEPOINT() crap
2006-11-15 00:54:33 +00:00
taylor 5ab2a1614b handle the video registry entry better
support for new Windows window creation code
various bits of minor cleanup
2006-11-15 00:49:41 +00:00
taylor 03834fd5a0 properly support the updated window create code (all told: should take of of Mantis bugs #542, #624, #1140, and possibly #962 and #1124) 2006-11-15 00:47:57 +00:00
taylor bb12f929d7 new window creation code for Windows (gets rid of some stupid :V: voodoo for the software/glide stuff)
use detect_home() on Windows too (needed for now outwnd code)
some bits of minor cleanup
2006-11-15 00:44:44 +00:00
taylor a1e24a364f fix some "stupid-windows-coder-mistakes" (otherwise known as "putting-more-than-you-should-into-header-files")
(gets rid of some/many compiler warnings, C++ language violations, and strange little bugs/errors)
2006-11-15 00:40:59 +00:00
taylor 9ef9668ded various bits of little cleanup
add the debug cmdline printer to FRED, so that we can make use of that info in the FRED-debug case too
2006-11-15 00:38:02 +00:00
taylor 0850d30687 various bits of little cleanup
get rid of some more compiler warnings
2006-11-15 00:36:08 +00:00
taylor 319d5c86f8 add some needed wing leader checks to prevent Assert()'s and out-of-bounds problems when the leader is dead/dying (Mantis bug #1134) 2006-11-15 00:33:16 +00:00
taylor ca7404f149 clean up skybox model selection and usage to work better with FRED
make sure to go ahead and set the skybox model when it's set/changed in FRED
go ahead and load/set the envmap  when it's set/changed in FRED
get rid of extra envmap image types, only DDS is actually supported (not sure what the hell I was thinking there)
2006-11-15 00:30:10 +00:00
taylor e51b84e04e fix the stupid safe_string thing ("LogFile" was already closed by the time it tried to write) 2006-11-15 00:26:03 +00:00
taylor 9ddc4f5b3a clean up AVI movie stuff a bit:
- use the default black brush for clearing the screen, it's a little less stupid this way
 - have the AVI player send messages back to the game rather than trying to poll for that extra crap
 - remove the only DivX6 fix, there is better addressed by newer window handling code
2006-11-15 00:24:47 +00:00
taylor 844048e6d0 clean up some cmdline options which were/weren't FSO only
add back the "-32bit" option, for retail compatibility (doesn't do anything, it's just there to avoid the unknown option message)
add "-debug_window" to turn on the Windows-only extra debug output window (it's off by default now, only logging to file instead)
2006-11-15 00:21:40 +00:00
taylor 32336132a2 fix stupid bay depart object animation bug (Mantis bug #1133, part 2) 2006-11-15 00:19:33 +00:00
phreak 6613578032 two fixes:
1) Fix for mantis #1099, part 2.

2) when changing the player's ship using debug_cycle_player_ship(), initialize the
 primary bank starting capacity so the support ship will rearm it.
2006-11-13 23:29:11 +00:00
phreak 9bfeae5126 Don't copy parentheses to parse buffers if outside of quotation marks. Otherwise
the parsing syntax will be copied to said buffer and some warnings/errors would occur.
2006-11-13 23:23:26 +00:00
karajorma c089513b33 Dragoniz3r's fix for builtin messages not being sent when custom named wings arrive. 2006-11-13 23:09:59 +00:00
karajorma e89585e31f Doh! 2006-11-12 17:52:21 +00:00
taylor e873c928fd 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 05:26:38 +00:00
taylor 723e5d97f4 enable/disable alpha test based on blend mode (found this hidden in an old tree, may help with blending the newer alphablend mode) 2006-11-06 05:21:32 +00:00
taylor 071f6c168e if a submodel anim fails to start then move directly to ready position flag (set it up to do this, just forgot to do it ;)) (fix for Mantis bug #1133) 2006-11-06 05:19:59 +00:00