Commit Graph
302 Commits
Author SHA1 Message Date
wmcoolmon faa0b28008 Texture replacement stuff 2006-01-21 09:36:58 +00:00
phreak f300716e93 Rearranged the rearming code so it doesn't potentially take 2 minutes to reload a single bomb. 2006-01-17 03:45:32 +00:00
wmcoolmon abf75dd133 Various warning fixes, scripting globals fix; added "plr" and "slf" global variables for in-game hooks; various lua functions; GCC fixes for scripting. 2006-01-16 11:02:23 +00:00
taylor d67327d1a7 fix compile issues from bad constructor
make sure ai_actively_pursues gets filled for modular tables too
fix NULL ptr reference when parsing ship type which doesn't exist and is set to not create
2006-01-15 18:55:27 +00:00
wmcoolmon eba6d1dff9 Special shockwave and moving capship bugfix, (even more) scripting stuff, slight rearrangement of level management functions to facilitate scripting access. 2006-01-14 19:54:55 +00:00
taylor 5bc170d5be hmm, didn't put much thought in that the first time, this should work closer to the original but still be cleaner 2006-01-13 13:06:15 +00:00
taylor 5f3a6ec743 fix hud comm message screwups (missing support ship, no coverme, etc) that was part :V: bug and (bigger) part Ship_types related bug 2006-01-13 11:09:45 +00:00
Goober5000 4d5a477f71 übercommit of custom IFF stuff :) 2006-01-13 03:31:20 +00:00
phreak 7665133851 Remove tertiary weapons in their current form, I want something more flexable instead of what I had there. 2006-01-09 04:54:51 +00:00
wmcoolmon 07fb5808d6 turret-target-order SEXPs, ship thrusters 2006-01-06 04:18:55 +00:00
taylor 25b15af791 allow both +Pri style and original style (+Normal, etc) for species_defs TBMs
allow for "<none>" as a bitmap/anim name, to have no effect
fix ship/weapon thruster rendering to handle missing primary animation and/or glow graphics
2006-01-05 05:12:11 +00:00
taylor 0f6eeb3288 use cf_find_file_location() for objecttypes.tbl rather than a cfopen()
fix a few compiler warning messages
2006-01-02 07:16:43 +00:00
wmcoolmon 246cfcfa65 Codebase commit, most notably including objecttypes.tbl 2005-12-29 08:08:42 +00:00
taylor f2db1ce34b Oops, bit of debug stuff I didn't mean to commit (but something similar is needed so you'll it again) 2005-12-28 22:21:04 +00:00
taylor 425c7b86b4 deal with cf_find_file_location() changes
add a central parse_modular_table() function which anything can use
fix up weapon_expl so that it can properly handle modular tables and LOD count changes
add support for for a fireball TBM (handled a little different than a normal TBM is since it only changes rather than adds)
2005-12-28 22:17:02 +00:00
taylor eddf28ad6e add the name of the modular table about to be parsed to the debug log
a missing weapon_expl table should just be a note in the debug log rather than a popup warning
2005-12-21 08:27:37 +00:00
wmcoolmon 6264b3f9fa Keep a crash from happening if POF file isn't initially specified 2005-12-16 03:36:21 +00:00
wmcoolmon 1aef275407 Ability to disable damage particle spew on ships 2005-12-13 22:32:30 +00:00
wmcoolmon 9cff1a52c0 Minor XMT-engine wash fix 2005-12-13 20:20:20 +00:00
taylor b36baacca7 Hmm, .triggers isn't ever malloc'd for the Ships[] copy so don't try to free it since it's actully trying to free the Ship_info[] memory instead, which is bad :)
(newer glibc just starting going monkey over this, not sure why it didn't screw up before)
2005-12-13 18:15:26 +00:00
taylor 5bb3145073 allow use of a specific LOD for ship and weapon rendering in the hud targetbox 2005-12-12 21:32:14 +00:00
taylor 37fad529ab double free and invalid ptr reference fixage 2005-12-12 05:29:59 +00:00
taylor 4b34bbca19 fix several bad crash related problems from WMC's commits on the 4th 2005-12-08 15:17:35 +00:00
taylor 4fd616b2c5 cleanup some debug log messages:
note that a nprintf() with "Warning" or "General" is basically the same thing as mprintf()
  make sure that OpenAL init failures always get to the debug log
2005-12-06 03:17:48 +00:00
wmcoolmon 76a6a274a1 Oops, arand should only be generated if it isn't passed to the function as well. 2005-12-05 09:09:53 +00:00
Goober5000 a324693691 fix compiler error
--Goober5000
2005-12-04 22:44:00 +00:00
wmcoolmon 3e2d1800f2 subsystem + shockwave armor support; countermeasures as weapons 2005-12-04 18:58:07 +00:00
Goober5000 c3bfdce5f4 * cleaned up mission_do_departure
* fixed a hidden crash (array index being -1; would only
be triggered for ships w/o subspace drives under certain conditions)
  * removed finding a new fighterbay target because it might screw up missions
  * improved clarity, code flow, and readability :)
* added custom AI flag for disabling warpouts if navigation subsystem fails
--Goober5000
2005-11-24 08:46:11 +00:00
phreak 6216367f79 Forgot to add in the part where the rearm timer actually counts down. Minor oversight 2005-11-24 03:07:35 +00:00
taylor 4806fd38dc yeah I know, I should have noticed that little jewel *before* the commit 2005-11-23 06:59:09 +00:00
taylor ed29933ae9 crash fix for using flak without having something targetted 2005-11-23 06:54:28 +00:00
phreak 7a23e780a8 Added the function to estimate rearm and repair time. 2005-11-23 01:06:58 +00:00
taylor f83daa497c some minor thruster cleanup, if you could actually use the term "clean" 2005-11-21 23:57:26 +00:00
taylor b02e8aeb22 i minus u ;) (should fix overzealous directives list) 2005-11-21 13:04:08 +00:00
Goober5000 b33caf6f45 change from "setting" to "profile"; this way makes more sense
--Goober5000
2005-11-21 02:43:37 +00:00
Goober5000 956e48daf4 add ai_settings.tbl
--Goober5000
2005-11-21 00:50:02 +00:00
taylor d9bf72f1e1 fix for thruster glows (affecting TBP mainly but OC as well):
- thruster glows should always come from ship entry rather than species (it will be initted by the species entry at first)
 - this obviously needs some work done on it but that gets dangerously close to a rewrite and that isn't something I have time for
2005-11-17 20:52:02 +00:00
taylor 821d18bc64 fix crash on kamikaze deaths 2005-11-17 02:31:36 +00:00
taylor d79cf2dee8 -loadonlyused in on by default now, can be turned off with -loadallweps 2005-11-13 06:49:05 +00:00
wmcoolmon 7cd75811db More warnings instead of Int3s/Asserts, better Lua scripting, weapons_expl.tbl is no longer needed nor read, added "$Disarmed ImpactSnd:", fire-beam fix 2005-11-08 01:04:02 +00:00
wmcoolmon 08f49c1cc1 Slight optimization 2005-11-05 05:11:29 +00:00
Goober5000 5d5f8abf6d stuff for comparing ship classes
--Goober5000
2005-10-30 23:45:45 +00:00
taylor 3c2f9cd4c2 add a bunch of Assert()'s and NULL checks to either help debug or avoid errors
fix Mantis bug #381
fix a small issue with the starfield bitmap removal sexp since it would read one past the array size
2005-10-30 20:03:40 +00:00
wmcoolmon 78fab0c331 Codebase commit - nebula.tbl, scripting, new dinky explosion/shockwave stuff, moving muzzle flashes 2005-10-30 06:45:00 +00:00
Goober5000 50752e3e42 multiple ship docking implemented for initially docked ships
--Goober5000
2005-10-29 22:09:31 +00:00
taylor 53d95c6b04 make sure that XMTs don't try to still create an invalid entry when +nocreate is used 2005-10-26 00:43:06 +00:00
taylor b664b38efd init thruster stuff properly so that bmpman doesn't have a fit 2005-10-24 12:42:14 +00:00
Goober5000 a8dcf18e3b merge Bobboau's thruster code back in; hopefully this covers everything
--Goober5000
2005-10-24 07:13:05 +00:00
taylor 6f579ff221 fix player warpout
basic code cleanup (that previous braces change did nothing for readability)
spell "plyr" correctly
tweak warp shrink time to better match WMC's other changes and avoid the skipping during shrink
2005-10-20 17:50:03 +00:00
wmcoolmon a9e5f602b6 Oops, guess I didn't commit this stuff 2005-10-20 06:37:34 +00:00