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
Goober5000
1cb738f6da
--prevent the ai from "forgetting" that it's attacking a wing (fix for Mantis #1131 )
...
--move AI_CHASE_WING goal check so that it will properly short-circuit when appropriate (discussed in the same bug)
2006-11-06 03:38:32 +00:00
Goober5000
d99d83a1dc
minor bugfixes
2006-11-06 02:20:00 +00:00
Goober5000
ea21a54021
fix is-event-x-delay optional argument type
2006-11-05 18:42:25 +00:00
Goober5000
a5135b1d7a
improve error message
2006-11-05 18:41:40 +00:00
Goober5000
2783d62500
improve error message
2006-11-04 17:22:54 +00:00
karajorma
ebe0907a13
Fix for Mantis 1017. - Hope we've seen the end of that damn persona bug
2006-11-03 21:26:51 +00:00
Kazan
bd37081432
Absolute speed, not forward speed, for hud speed reticle - fixes the guage for gliding
2006-11-03 18:47:43 +00:00
Kazan
27c5da629d
prevent autopilot initialization while player is gliding
2006-11-03 18:45:11 +00:00
taylor
6f2e60d53b
Ooopps! ;)
2006-11-01 18:46:22 +00:00
taylor
67305cfda5
make glow_point array for thrusters and glow_point_banks dynamic (a proper fix for old Mantis bug #43 )
2006-11-01 18:35:58 +00:00
taylor
6a8d403fe6
make "TBL Info" button in ships editor handle modular tables (Mantis bug #1130 )
...
fix bugs where ship names with leading '@' or trailing whitespace didn't get compared properly in "TBL Info"
2006-11-01 15:55:25 +00:00
taylor
9431b9808e
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
karajorma
9c5411d900
Adding the network-variable option to SEXP variables. This change will revert variables to the same behaviour they displayed in retail (i.e they don't update for clients) unless a variable is set to be a network-variable.
2006-10-28 21:17:04 +00:00
karajorma
9d2715a33d
Adding the network-variable option to SEXP variables. This change will revert variables to the same behaviour they displayed in retail (i.e they don't update for clients) unless a variable is set to be a network-variable.
2006-10-28 20:54:35 +00:00
taylor
10fb66c977
forgot to reset default value for Interp_warp_alpha when it was changed earlier
...
be sure that we are using the proper zbuffer setting when rendering thruster glows
2006-10-28 17:58:42 +00:00
taylor
403b8885cd
forgot this part of the render box fix (obviously no one ever really tried to use this feature, since it has never worked)
2006-10-28 04:01:33 +00:00
taylor
b511f3fba7
ok, so apparently that did actually do something ;)
2006-10-28 04:00:09 +00:00
taylor
28d78bf454
updated/fixed modelanim code
2006-10-27 21:41:22 +00:00
taylor
26ce630805
more cleanup of warp_global crap
...
scale render/detail box limits with detail level setting
make sure that we reset culling and zbuffer after each model buffer that gets rendered
2006-10-27 21:37:11 +00:00
taylor
07dc72af98
updated/fixed modelanim code
...
add ships.tbl subsystem flag ("+fire-down-normals") which will force a turret to fire down it's barrel line (Mantis bug #591 )
2006-10-27 21:33:06 +00:00
taylor
f19310d27d
updated/fixed modelanim code
2006-10-27 21:29:26 +00:00
taylor
6cae667430
add the part of the fix which actually did something ;)
2006-10-27 16:31:09 +00:00
Goober5000
195089c7b9
fix error line reporting (Mantis #1120 )
2006-10-27 16:01:49 +00:00
taylor
e53cf0b18d
grrr ... fix dos EOL chars
2006-10-27 06:44:35 +00:00
taylor
7978379a54
rename set_warp_globals() to model_set_warp_globals()
...
remove two old/unused MR flags (MR_ALWAYS_REDRAW, used for caching that doesn't work; MR_SHOW_DAMAGE, didn't do anything)
add MR_FULL_DETAIL to render an object regardless of render/detail box setting
change "model_current_LOD" to a global "Interp_detail_level" and the static "Interp_detail_level" to "Interp_detail_level_locked", a bit more descriptive
minor bits of cleanup
change a couple of vm_vec_scale_add2() calls to just vm_vec_add2() calls in ship.cpp, since that was the final result anyway
2006-10-27 06:42:30 +00:00
taylor
2df79570ae
add "Render full detail" support to the lab as well
2006-10-27 06:35:29 +00:00
taylor
39101339cb
fix compiler problem due to change in parse_init() function
...
fix dos EOL chars
2006-10-27 06:34:40 +00:00
taylor
4975661cb0
add a "Render full detail" view option to render models at their full detail for the LOD (for render/detail boxes, Mantis bug #1121 )
2006-10-27 06:33:38 +00:00
taylor
f84784612e
give the standalone chat box a horizontal scroll capability, not terribly accurate but it's good enough for the purpose (Mantis bug #1095 )
2006-10-26 15:46:35 +00:00