Commit Graph
39 Commits
Author SHA1 Message Date
taylor f3f859d28e be sure to to reset ok_to_fire between weapon checks to make sure we don't count something by mistake 2006-06-01 04:40:41 +00:00
taylor ab7f22e9d8 Grrr! That was still stupid. Just going to revert it to retail and work out that bug it was supposed to fix at a later time. 2006-04-14 21:13:31 +00:00
taylor 4fb6d6ba91 I might have blamed this on sleep, if it wasn't a bold faced lie. ;)
- another part of the turret untargetting target bug
2006-04-14 18:36:11 +00:00
taylor 01d9f454ee minor cleanup
address numerous out-of-bounds issues
add some better error checking and Assert()'s around
2006-03-25 10:38:44 +00:00
wmcoolmon d95d6165b5 New subobject animation stuff and Lua functions. 2006-03-24 07:38:36 +00:00
Goober5000 52809741c6 fix taylor's fix :p
--Goober5000
2006-03-21 02:50:59 +00:00
taylor a12024d715 fix target eval check for weapons so that friendly ships will stop shooting at friendly bombs 2006-03-21 00:08:18 +00:00
Goober5000 f665e3928b rearrange some turret code to be more like retail
--Goober5000
2006-02-19 07:20:43 +00:00
Goober5000 4d5a477f71 übercommit of custom IFF stuff :) 2006-01-13 03:31:20 +00:00
wmcoolmon 82d4e2aa4e Somewhat better turret comments 2006-01-11 21:15:15 +00:00
phreak 0c663d84ee fix compile warnings. 2006-01-09 04:52:34 +00:00
wmcoolmon 07fb5808d6 turret-target-order SEXPs, ship thrusters 2006-01-06 04:18:55 +00:00
wmcoolmon 246cfcfa65 Codebase commit, most notably including objecttypes.tbl 2005-12-29 08:08:42 +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
wmcoolmon 78fab0c331 Codebase commit - nebula.tbl, scripting, new dinky explosion/shockwave stuff, moving muzzle flashes 2005-10-30 06:45:00 +00:00
Goober5000 f510a86176 rolled back UnknownPlayer's commit
--Goober5000
2005-10-22 22:22:41 +00:00
unknownplayer 82a8322255 Added -UseNewAI command line option to force the game to always use
the SCP AI changes. As of now there's some problem in gr_d3d_set_render_target
that crashes the game when it gets to a mission.
2005-10-22 04:28:17 +00:00
Goober5000 ae639154f9 removed an unneeded parameter and renamed some stuff
--Goober5000
2005-10-14 07:22:24 +00:00
taylor d3481714d0 remove NO_NETWORK 2005-10-10 17:21:11 +00:00
Goober5000 0aa3b69e1a whoops
--Goober5000
2005-07-25 05:23:33 +00:00
Goober5000 5fb5c7faf7 various code cleanups, tweaks, and fixes; most notably the MISSION_FLAG_USE_NEW_AI
should now be added to all places where it is needed (except the turret code, which I still
have to to review)
--Goober5000
2005-07-25 03:13:26 +00:00
phreak 19370fb061 reverted a tagged only commit, it wasn't needed 2005-05-16 15:40:43 +00:00
phreak 93d2cfeaca another tagged only turret fix 2005-05-14 21:48:22 +00:00
phreak a44e312429 stop turrets from targeting non-bombs. also some tagged-only fixes. 2005-05-14 21:35:04 +00:00
phreak 89d2954f9e fixed another minimum range bug that prevented the Colossus and the Beast from
properly engaging one another in the mission: Their Finest Hour (SM3-08)
2005-05-13 02:50:47 +00:00
phreak e63dfcf41d fixed a minimum weapon range bug that was causing turrets to fire at ships beyond
the actual range of a weapon.
2005-05-10 15:49:04 +00:00
phreak a6ac8901e4 if you're using all_turret_weapons_have_flags() with a WIF2_** flag, use
all_turret_weapons_have_flags_wif2().

Corrected some logic that would dump a valid target for turrets if its objnum is 0, as
opposed to -1.
2005-05-10 02:44:40 +00:00
phreak dfe453a4f7 when finding valid weapons, set i to MAX_SHIP_PRIMARY_BANKS - 1 since i
is incremented at the top of the loop.  otherwise, we would pass over the first secondary
weapon in the bank.
2005-05-10 01:47:34 +00:00
wmcoolmon fe32a70746 Various turret code changes in a vain attempt to make things more readable/work properly 2005-05-08 20:35:26 +00:00
wmcoolmon a0a5b6261a Removed FS2_DEMO defines that looked like they wouldn't cause the universe to collapse 2005-04-28 05:29:30 +00:00
wmcoolmon 7cc8715ca9 Minor updates to the GUI, and added some code that will (hopefully) resize HUD images in nonstandard resolutions. I couldn't test it; got an out of memory error. 2005-04-22 00:34:55 +00:00
phreak b1726ccbdb CVS file header. take 1 2005-04-20 04:29:50 +00:00
phreak c91e5a8bd6 fix for the slow firing turret problem 2005-04-20 04:27:56 +00:00
wmcoolmon b2021a1e8c Added some comments to the new turret helper functions. 2005-04-06 18:10:40 +00:00
taylor 7f786136a6 s/vector/vec3d/g, better support for different compilers (Jens Granseuer) 2005-04-05 05:53:25 +00:00
taylor 7fdd13a785 weapon_num can be 0 so let that through 2005-03-27 06:07:54 +00:00
wmcoolmon 07669c6a51 Cleaned out old code + fixed min problem 2005-03-26 01:49:46 +00:00
wmcoolmon 36db6a4931 Initial AI code move commit - note that aigoals.cpp has some escape characters in it, I'm not sure if this is really a problem. 2005-03-25 06:45:13 +00:00