Commit Graph
400 Commits
Author SHA1 Message Date
taylor 5d0a58122b clean out some old code we no longer use/need
change warning messages to not print out current tbl name, since at the point those messages show the tbl has long since been parsed
add an extra quick-check to ship_get_subsystem_strength() to avoid div if we don't need it
make Ship_subsystems[] dynamic (sort of), it's allocated in sized sets now, so we can easily change size while still working with the existing linked-list code
2007-04-13 00:28:00 +00:00
taylor 098ed1b243 cleanup and fix for weapon cycling (Mantis #1298) 2007-03-22 20:45:22 +00:00
Goober5000 0fafd8dcde add two features for WCS: specifyable shield/weapon recharge rates, and removal of linked fire penalty 2007-02-27 01:44:48 +00:00
Goober5000 19b2173e44 use dynamic memory instead of a static buffer for ship-specific replacement textures 2007-02-25 03:58:07 +00:00
Goober5000 7d8efa9911 remove duplicate model texture replacement 2007-02-21 01:44:02 +00:00
Goober5000 3c3416fa3b the great big duplicate model removal commit 2007-02-20 04:20:38 +00:00
taylor ed5238741e bit of cleanup and minor performance tweaks
render ship insignia with a bit of alpha to help with blending/lighting
dynamic thruster particle limits
update for generic_bitmap/anim changes
make use of flag_def_list for ship flags rather than a ton of if-else statements
use generic_bitmap and generic_anim where possible to faciliate delayed graphics loading (after all ship related tbls are parsed)
use VALID_FNAME()
2007-02-12 00:41:38 +00:00
Goober5000 057c4876f9 invert the do-collision flag into a don't-do-collision flag, plus fixed a wee lab bug 2007-02-11 06:19:08 +00:00
Goober5000 f96b4ac5c5 small tweak 2007-02-10 03:20:43 +00:00
Goober5000 d2a2afc69e merge the WCS screaming feature into the 3.6.9 (3.6.10?) branch 2007-02-09 04:53:28 +00:00
Goober5000 0399f2c6ed fix bug where built-in lament messages were never played 2007-01-07 03:10:05 +00:00
Goober5000 620fba2f58 fix spelling... *twitch* 2006-12-28 22:47:16 +00:00
Goober5000 ed60708cdb removed obsolete limits 2006-12-28 01:22:04 +00:00
karajorma 01d19508fd Altered the Warpin and Warpout types flag to match those in HEAD. 2006-12-27 10:27:10 +00:00
Goober5000 2e0f30f809 allow parsing of similar ship copy names properly (Mantis #1178) 2006-12-26 18:14:42 +00:00
taylor 66be156488 minor spelling fixage
make depreciated subsystem flag syntax be a debug log warning instead a popup warning (FOR 3.6.9 ONLY!)
2006-12-26 05:30:00 +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
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
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
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
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 d99d83a1dc minor bugfixes 2006-11-06 02:20:00 +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 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 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
Goober5000 776057eeb1 clarified this; it was confusing before 2006-10-24 23:56:56 +00:00
Goober5000 d5ad083d91 fix forum links 2006-10-08 02:05:38 +00:00
karajorma c264e1660b Fix for Mantis 1092 - (Support ships damage hull) 2006-10-06 15:12:55 +00:00
taylor 8959762bcd For redalert stored data be sure that dead ships don't come back, and departed ships come back just as they left (Mantis bug #810) 2006-10-06 09:47:11 +00:00
Goober5000 d74eb0efaa check that targetview model files exist as well 2006-10-01 18:53:59 +00:00
taylor 2f3b5f2910 fixes for stuff_string() bounds checking
stict compiler build fixes
2006-09-11 01:12:50 +00:00
taylor ba740c215d fix for Mantis bug #1038 (glow point bank storage being wrong after changing ships in shipselect)
fix things that strict compiling balked at (from compiling with -ansi and -pedantic)
2006-09-08 06:13:29 +00:00
Goober5000 7097f6375b fix macros 2006-09-04 18:06:37 +00:00
Goober5000 2f09dfc78d fix waypoint time to goal 2006-09-02 20:24:15 +00:00
taylor 8a9d540c4c make Species_info[] and Asteroid_info[] dynamic 2006-08-27 18:12:42 +00:00
karajorma 48886e0604 Fix lack of Wingman Status indicator for Zeta wing in TvT games. 2006-08-25 21:09:59 +00:00
Goober5000 ad33258cb7 if a modular table ship pof cannot be found, use the original one 2006-08-19 21:45:20 +00:00
karajorma 5981929ec2 More cut & paste errors fixed and removal of the hardcoded warp out animation. Will now actually use the one specified in the table. 2006-08-18 17:21:10 +00:00
Goober5000 e0053eb300 better handling of ballistic rearm sounds
--Goober5000
2006-08-18 04:34:59 +00:00
karajorma 3de0203b45 Another typo 2006-08-15 20:00:51 +00:00
karajorma 86be6d6b99 Fix Mantis 1009 - A problem with using the Change-ship-model SEXP 2006-08-09 17:39:46 +00:00
Goober5000 abbb2df243 add a second method for specifying ship copies, plus allow the parser to recognize ship class copy names that aren't consistent with the table
--Goober5000
2006-08-03 01:33:56 +00:00
taylor dcff18e7a5 check first stage warp arrival against all docked objects so we can not render them all if even one is 1st stage 2006-07-28 02:46:10 +00:00
karajorma 9302f8eb38 Fixed an error in ballistic weapons where only the server got the correct number of bullets in multiplayer.
Fixed a rounding up error in get_max_ammo_count_for_primary_bank()
2006-07-27 10:37:43 +00:00
Goober5000 820153a8db fix a subtle and nasty bug
--Goober5000
2006-07-24 02:09:29 +00:00
Goober5000 25ce5bd167 add WCS screaming stuff to RC branch
--Goober5000
2006-07-20 00:41:26 +00:00
taylor 97a933c789 make glow point banks dynamic 2006-07-17 01:12:52 +00:00
Goober5000 2474793439 stage 2 of animation fix (add base frame time to each ship)
--Goober5000
2006-07-17 00:10:05 +00:00
Goober5000 5a88708ab6 bah, make sure we're in the correct mode 2006-07-09 06:12:37 +00:00
Goober5000 78e9970fc3 tweak max speed function
--Goober5000
2006-07-09 06:07:20 +00:00