Goober5000
bd3cd7eb18
Merge pull request #195 from Echelon9/fix/sort-uniq-includes
...
Review and refactor #include's
2015-08-19 00:05:02 -04:00
DahBlount
5c3d7b0f64
Turret bank fix and ammo removal
...
A turret's current_primary_bank/current_secondary_bank is always
initialized to -1, this is set to 0 if it is still -1 when a turret
tries to fire. Ammo removal for swarm and corkscrew weapons is now done
using a single flag check instead of the original two.
2015-08-09 19:29:16 -05:00
DahBlount
688baa2bb6
Turret Ammo Implementation
...
This creates the foundation of turret ammo through the "turret use ammo" subsystem flag. Turret ammo works in the same manner as ship ammo, where the ammo is equal to bank capacity divided by the cargo size of the weapon. This was tested using the Blue Planet: War in Heaven mod.
Test case: UEFg Narayana turrets 19 through 21, all of which contain Apocalypse torpedos with a $Cargo Size: of 2.5, were changed to use ammo with a $SBank Capacity of 20, resulting in a total ammo capacity of 8 torpedos. The Narayana was ordered to attack a GTCv Diomedes; it fired 8 torpedos each from turrets 19 through 21 before stopping. The mission was left to proceed for an additional 2 minutes, in which time the Narayana did not fire any more torpedos. Note: The Apocalypse takes 20 seconds to fire each 4 torpedo burst.
Conclusion: Success
2015-07-28 12:32:08 -05:00
Echelon9
a93215f781
Ensure input domain to asin() does not lead to irrational results (implementation defined behaviour)
2015-07-01 23:15:36 +10:00
Echelon9
c5493bb480
Scripted sort and uniq on (internal) project includes. Improves search time and as a by product removed a number of duplicative includes.
2015-06-22 20:24:30 +10:00
niffiwan
6579133220
Remove unnecessary Int3() - already gracefully handles running out of turret swarm slots
2012-08-07 09:11:41 +00:00
niffiwan
9a6611198e
GCC warnings: more 'variable set but not used'
2012-06-14 11:21:09 +00:00
niffiwan
bcea3057f5
GCC warnings: declaration of ‘ship_obj’ shadows a global declaration (weapon/*.cpp)
2012-06-14 10:30:01 +00:00
The_E
acffa5b358
Fix for Mantis 2606: Local SSMs fired in swarm may cause propagating NaN errors
2012-05-10 20:54:40 +00:00
niffiwan
f75e83c900
Fix for Mantis #0002604 : using m_m's patch, allow swarm/corkscrew bank to keep firing if current bank changes
2012-03-06 10:09:04 +00:00
Echelon9
53d407332f
Fix LLVM warnings in weapon folder
2012-01-15 07:05:20 +00:00
Wanderer
06a3381dd9
fix for mantis 2309's corkscrew issue
2011-04-23 12:18:30 +00:00
Echelon9
4ccc6ba9a0
MAGIC numbers aren't for hiding in code...
2010-11-22 13:01:41 +00:00
The_E
e2c5ff679c
Swarm weapons should respect "$Free flight time" as well
2010-05-10 17:17:49 +00:00
The_E
132ba60085
Patch for Mantis 2202 (Children of swarm weapons do not inherit parent target)
2010-05-09 14:53:29 +00:00
karajorma
74d1c139ed
Doh x2
2009-11-05 06:16:15 +00:00
karajorma
9f44258319
Bump MAX_OBJECTS, WEAPONS, SPLIT_PLANES, and SWARM_MISSILES. This stuff has been tested by Diaspora for months now so it should be fine.
2009-11-02 03:37:36 +00:00
portej05
719825f80d
The big CVS comment removal. This chops approx. 3.5mb off a full checkout.
...
I've tested this through compiling and through hand checking.
Normalises line endings in ALL files to \n.
2009-06-20 08:08:20 +00:00
Wanderer
fdb2de32e7
fix swarm issue - again
2009-05-20 19:44:18 +00:00
Wanderer
4cd2a011db
merge from wanderer branch - fixed firingpoint and 'fire on target' subsystem flags
2009-05-20 13:24:57 +00:00
karajorma
d599cc1d6b
Commit Wanderer's Salvo Fire mode changes.
2009-05-16 19:41:05 +00:00
Wanderer
939dcaa849
Fix for mantis #1687 (corkscrew missiles and turrets)
2008-06-09 08:11:27 +00:00
taylor
461922f046
some minor mprintf() cleanup
2008-03-28 03:32:38 +00:00
taylor
28d78bf454
updated/fixed modelanim code
2006-10-27 21:41:22 +00:00
taylor
7f786136a6
s/vector/vec3d/g, better support for different compilers (Jens Granseuer)
2005-04-05 05:53:25 +00:00
wmcoolmon
2c2a6334db
Big, massive, codebase commit. I have not removed the old ai files as the ones I uploaded aren't up-to-date (But should work with the rest of the codebase)
2005-03-25 06:57:38 +00:00
et1
313f069005
Implemented "+SwarmWait:"-token
2004-07-31 08:57:22 +00:00
Kazan
864e1b5922
remove MCD complete
2004-07-26 20:47:56 +00:00
Kazan
428b3dcbc9
MCD - define _MCD_CHECK to use memory tracking
2004-07-12 16:33:09 +00:00
Goober5000
7ef2ab2e39
Uber pass at reducing #includes
...
--Goober5000
2004-03-05 09:02:13 +00:00
Goober5000
b1e4605bed
preliminary work on ai facing sexp
...
--Goober5000
2003-03-30 04:34:38 +00:00
penguin
0c503be8d1
The big include file move
2002-08-01 01:41:11 +00:00
penguin
8f92eebd34
Warpcore CVS sync
2002-06-03 04:10:40 +00:00
penguin
663b3471b9
Volition sources -- warpcore CVS import
2002-06-03 03:26:03 +00:00