Commit Graph
3291 Commits
Author SHA1 Message Date
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
Goober5000 24bf33a443 moved some stuff around in the sexp menus 2006-10-25 01:01:55 +00:00
Goober5000 776057eeb1 clarified this; it was confusing before 2006-10-24 23:56:56 +00:00
Goober5000 19faeb6274 make sure to only add the sexp callback once 2006-10-24 23:28:56 +00:00
taylor 65372c61c0 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-10-24 13:44:54 +00:00
taylor 92f4deaab5 fix the cmdbrief editor deleting the wrong stage (Mantis bug #1115) 2006-10-24 13:41:54 +00:00
taylor 3b9d50bde2 fix loading callback issue in standalone 2006-10-24 13:40:31 +00:00
taylor 4e3b4a4d72 don't require hardware GL if running FRED (this is mainly for my benefit since I always forget to add that locally) 2006-10-24 13:39:26 +00:00
taylor ea85618c60 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-10-24 13:38:23 +00:00
taylor 69094d3f55 fix Personas memory leak (not really an issue, I just got tired of seeing it in the Valgrind reports) 2006-10-24 13:36:05 +00:00
taylor 97d68c8633 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-10-24 13:34:33 +00:00
taylor 5277816248 fix a memory leak that Valgrind was complaining about (happens mainly when you have a mission without a briefing) 2006-10-24 13:31:32 +00:00
taylor 5c69a3c637 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-10-24 13:29:16 +00:00
taylor f4ec613af4 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-10-24 13:24:12 +00:00
taylor e61a8c930b fix for Mantis bug #1104 (can't use a ":" in chat) 2006-10-24 13:18:35 +00:00
taylor 1b5d661caa 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-10-24 13:17:24 +00:00
karajorma f737ce4352 Fix Int3() with Set primary and Secondary ammo\weapons 2006-10-21 21:57:08 +00:00
wmcoolmon a531f565bd Fixx0r FRED 2006-10-20 20:37:42 +00:00
wmcoolmon 12f0f87728 Fix extra jumpnode settings not saving. They still don't show up in FRED, unfortunately. 2006-10-15 22:03:16 +00:00
Goober5000 e84b81dd14 better safety check 2006-10-15 00:41:01 +00:00
wmcoolmon 3f28c45bec Fix Freecamera forcing HUD draw bug. 2006-10-11 03:10:53 +00:00
Goober5000 9be6482872 betterized some things with mission arrivals and departures 2006-10-09 20:50:13 +00:00
Goober5000 79412c0bff make sexp nodes dynamic 2006-10-09 05:25:18 +00:00
Goober5000 80149a639d preliminary commit of sexp node bump... fred only, just changing some names for clarity 2006-10-09 04:44:58 +00:00
Goober5000 d5dbe93885 bah! 2006-10-08 05:24:03 +00:00
Goober5000 58fc6622dc nitpick 2006-10-08 05:21:44 +00:00
Goober5000 d5ad083d91 fix forum links 2006-10-08 02:05:38 +00:00
Goober5000 9d16fe703a bypass annoying warnings for nonexistent bitmaps 2006-10-07 02:43:46 +00:00
karajorma c264e1660b Fix for Mantis 1092 - (Support ships damage hull) 2006-10-06 15:12:55 +00:00