phreak
426bddfd7b
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-12 20:01:55 +00:00
phreak
c433cd273d
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-12 19:58:13 +00:00
bobboau
bb6cee2c20
fixed D3D environment mapping
2006-11-07 05:30:14 +00:00
taylor
b80cbbdbcd
fix return values (something that was different between 3_6_9 and HEAD)
2006-11-06 07:00:05 +00:00
taylor
25cd9b7766
updated/fixed modelanim code
2006-11-06 06:50:59 +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
a9e99ef87b
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 06:44:43 +00:00
taylor
107b81eff3
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 06:43:58 +00:00
taylor
466b70a949
make glow_point array for thrusters and glow_point_banks dynamic (a proper fix for old Mantis bug #43 )
2006-11-06 06:42:22 +00:00
taylor
7982425766
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-11-06 06:39:11 +00:00
taylor
069ff59261
forgot this part of the render box fix (obviously no one ever really tried to use this feature, since it has never worked)
2006-11-06 06:38:34 +00:00
taylor
33f1db2b5f
ok, so apparently that did actually do something ;)
2006-11-06 06:37:59 +00:00
taylor
572b7f3f72
updated/fixed modelanim code
2006-11-06 06:36:44 +00:00
taylor
8b6597f785
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-11-06 06:33:48 +00:00
taylor
f497534999
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-11-06 06:32:30 +00:00
taylor
84df921c01
updated/fixed modelanim code
2006-11-06 06:24:57 +00:00
taylor
68525c1e7c
grrr ... fix dos EOL chars
2006-11-06 06:23:27 +00:00
taylor
68aa986fca
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-11-06 06:19:17 +00:00
taylor
9a62b0ba42
a LOT of cleanup:
...
* remove a bunch of old/dead code
* some reformatting to help with readability
* rearrange/rename some code so that it is a little clearer
* move thruster glow code to it's own function (model_render_thrusters())
make HTL model buffers dynamic
fix detail boxes so that they actually work for the first time
2006-11-06 06:15:01 +00:00
taylor
d530069753
add "Render full detail" support to the lab as well
2006-11-06 05:59:36 +00:00
taylor
31b8f09899
fix compiler problem due to change in parse_init() function
...
fix dos EOL chars
2006-11-06 05:58:57 +00:00
taylor
bbf6cd2674
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-11-06 05:58:05 +00:00
taylor
9e7e8edce1
give the standalone chat box a horizontal scroll capability, not terribly accurate but it's good enough for the purpose (Mantis bug #1095 )
2006-11-06 05:55:43 +00:00
taylor
7bd73f7fae
add envmap selection to background editor
...
change skybox selection to be a text entry or browse instead of only text entry
allow envmap selected in background editor to be used by FRED
make texture replacement work in FRED for ships (Mantis bug #1068 )
2006-11-06 05:54:13 +00:00
taylor
ab71e94a22
fix the cmdbrief editor deleting the wrong stage (Mantis bug #1115 )
2006-11-06 05:49:02 +00:00
taylor
14bc95a5cc
fix loading callback issue in standalone
2006-11-06 05:48:15 +00:00
taylor
9a517d80d5
don't require hardware GL if running FRED (this is mainly for my benefit since I always forget to add that locally)
2006-11-06 05:47:37 +00:00
taylor
5d6cf4ade9
fix the envmap-getting-rotated-by-turrets bug (though it did make me chuckle a bit when I first saw it ;))
...
try to reuse old view setup info, if we are using the same settings again (for speed up purposes, will be a bigger deal when bumpmapping gets here)
2006-11-06 05:46:54 +00:00
taylor
9135d6d053
fix Personas memory leak (not really an issue, I just got tired of seeing it in the Valgrind reports)
2006-11-06 05:45:13 +00:00
taylor
61657b5379
remove a basically useless debug message
...
fix parse_init() so that it doesn't absolutely have to init sexps (doesn't need them when getting basic info, and causes memory fragmentation otherwise)
fix multiplayer mission info getting to just get basic info (fixes a couple of minor multi issues that were already fixed in single)
2006-11-06 05:44:33 +00:00
taylor
44bca63361
fix a memory leak that Valgrind was complaining about (happens mainly when you have a mission without a briefing)
2006-11-06 05:43:36 +00:00
taylor
c244151204
various bits of cleanup (slight reformatting to help readability, remove old/dead code bits, etc.)
...
deal with a index_buffer memory leak that Valgrind has always complained about
make HTL model buffers dynamic (get rid of MAX_BUFFERS_PER_SUBMODEL)
get rid of MAX_BUFFERS
make D3D vertex buffers dynamic, like OGL has already done
2006-11-06 05:42:45 +00:00
taylor
42a9de9115
fix for Mantis bug #1104 (can't use a ":" in chat)
2006-11-06 05:40:57 +00:00
taylor
13cfcdc7c7
various bits of cleanup (warning messages, things that Valgrind complained about, etc.)
...
fix an out-of-bounds issue on Sexp_nodes[] which was leading to stack corruption
2006-11-06 05:40:06 +00:00
Goober5000
e364ae74ea
--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
e69d7ee79e
minor bugfixes
2006-11-06 02:20:00 +00:00
Goober5000
4308579b4e
fix is-event-x-delay optional argument type
2006-11-05 18:42:25 +00:00
Goober5000
d786b6332a
improve error message
2006-11-05 18:41:40 +00:00
Goober5000
bba7b8d8fa
improve error message
2006-11-04 17:22:54 +00:00
karajorma
77cffeedfb
Fix for Mantis 1017. - Hope we've seen the end of that damn persona bug
2006-11-03 21:36:56 +00:00
Kazan
5c3397bd2a
Absolute speed, not forward speed, for hud speed reticle - fixes the guage for gliding
2006-11-03 18:47:43 +00:00
Kazan
7cfee53a21
prevent autopilot initialization while player is gliding
2006-11-03 18:45:11 +00:00
taylor
d75efeb7e8
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
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
5914a94e55
add the part of the fix which actually did something ;)
2006-10-27 16:31:09 +00:00
Goober5000
340baac55a
fix error line reporting (Mantis #1120 )
2006-10-27 16:01:49 +00:00
Goober5000
70c6f05bcd
moved some stuff around in the sexp menus
2006-10-25 01:01:55 +00:00
Goober5000
96b254259e
clarified this; it was confusing before
2006-10-24 23:56:56 +00:00
Goober5000
adaa21e5f3
make sure to only add the sexp callback once
2006-10-24 23:28:56 +00:00
wmcoolmon
9e42e23b86
Fixx0r FRED
2006-10-20 20:37:42 +00:00