Goober5000
|
df73bacb9e
|
Mantis #3004: standardize checks for whether ships can depart to docking bays, and whether departure goals are achievable, and whether a ship can be commanded to depart; also fix the default behavior if a ship attempts to warp out but is unable to
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10428 387891d4-d844-0410-90c0-e4c51a9137d3
|
2014-02-20 18:27:34 +10:00 |
|
Goober5000
|
a880bcb9c2
|
Mantis #3004: ship_get_ship_with_dock_bay was written in such a way that it allowed a negative array index to create all sorts of havoc
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10407 387891d4-d844-0410-90c0-e4c51a9137d3
|
2014-02-20 18:27:34 +10:00 |
|
Goober5000
|
0a9063a525
|
wing names with the hash at the beginning aren't subject to the name bashing
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10405 387891d4-d844-0410-90c0-e4c51a9137d3
|
2014-02-20 18:27:34 +10:00 |
|
zookeeper
|
ef94f4bb04
|
Ported $Velocity Inherit weapons table option from zookeeper branch.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10287 387891d4-d844-0410-90c0-e4c51a9137d3
|
2014-01-14 20:24:46 +10:00 |
|
karajorma
|
69749cdaee
|
Add the was-destroyed-delay SEXP by the WCS team. Add support to alter-ship-flag for hiding ship names.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10250 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-12-22 19:05:16 +10:00 |
|
niffiwan
|
336db15246
|
Coverity ID 1093808: Uninitialized scalar variable in init_ai_target_priorities()
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10216 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-12-15 12:23:02 +10:00 |
|
Goober5000
|
f3c902c39b
|
add wing_bash_ship_name, which handles the hash symbol thing, accommodates Blue Planet's capship trick, and works in FRED and while we're at it, do a little bit of const'ing
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10198 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-12-08 19:52:57 +10:00 |
|
Goober5000
|
6804e5ae7d
|
a spelling fix, and also clarify a sexp
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10197 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-12-08 19:52:57 +10:00 |
|
zookeeper
|
9f65775702
|
Made +delay and +acceleration in animation code optional and default to 0.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10192 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-12-08 19:52:57 +10:00 |
|
Echelon9
|
49c56eea91
|
Fix Mantis 2970: AddressSanitizer: global-buffer-overflow in show_ship_subsys_count()
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10187 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-12-08 19:52:56 +10:00 |
|
Goober5000
|
c19ac5df9d
|
when changing ship types, make sure the collision flags propagate
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10181 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-12-03 21:12:50 +10:00 |
|
Goober5000
|
92435f7217
|
fix some things that FreeBSD complained about
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10156 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-25 19:29:37 +10:00 |
|
Wanderer
|
141f6bc121
|
fix issue with burst firing secondaries - thanks to Goober for finding it
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10150 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-25 19:29:37 +10:00 |
|
Wanderer
|
96cc3c017d
|
feature commit: excluding weapons from linked fire penalty (per request)
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10147 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-25 19:29:37 +10:00 |
|
Goober5000
|
9ca44d8ce4
|
fix an off-by-one error
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10140 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-25 19:29:37 +10:00 |
|
zookeeper
|
204ebfca63
|
Remember to initialize shield_point_augment_ctrls.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10137 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-25 19:29:36 +10:00 |
|
zookeeper
|
8cd19aa588
|
Merged model point shields from zookeeper branch.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10135 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-25 19:29:36 +10:00 |
|
Goober5000
|
f6a92e0972
|
allow modder to specify countermeasure type on a per-species basis
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10131 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-25 19:29:36 +10:00 |
|
Goober5000
|
6470f9043f
|
make init_ship_entry actually init all the fields in ship_info make draw_weapon_models a ship flag instead of a boolean remove the MAX_SHIP_FLAGS #define because it didn't mean what everybody thought it meant
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10127 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-25 19:29:36 +10:00 |
|
niffiwan
|
ed49e0786b
|
Coverity 1129274: Negative array index read
weapon_create can return -1
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10090 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-17 20:24:43 +10:00 |
|
Goober5000
|
35347262d4
|
make man_thruster a POD struct, and initialize maneuvering thrusters in ship_info initialization
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10080 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-17 20:24:43 +10:00 |
|
Goober5000
|
de792bc0ca
|
memset initialized the wrong level of pointer :-/
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10079 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-17 20:24:43 +10:00 |
|
Goober5000
|
ed04c7788b
|
these memsets aren't needed
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10078 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-17 20:24:43 +10:00 |
|
Goober5000
|
e9fc00df0c
|
now that we have queued_animation_init, we can rewrite this properly
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10077 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-17 20:24:42 +10:00 |
|
Goober5000
|
ed06a01897
|
restore r10051, this time allocating triggered_rotation instances when we need them
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10057 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-17 20:24:42 +10:00 |
|
The_E
|
c0a3d69ed2
|
Revert revision 10051: If we're going to use a global vector to store animation info, we need to fill it (and the references to it) too.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10054 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-17 20:24:41 +10:00 |
|
Goober5000
|
d11c7ccc2f
|
ship subsystems should reference an index in a global Triggered_rotations vector rather than maintaining their own class object, which wastes space
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10051 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-17 20:24:41 +10:00 |
|
Goober5000
|
6836199eeb
|
ship_subsys is now a class
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10021 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-10 18:28:58 +10:00 |
|
Goober5000
|
5d73931b6d
|
this should now allow wing icons to be specified too
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10012 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-10 18:28:57 +10:00 |
|
Goober5000
|
686088fa90
|
store briefing icons in a master list rather than in species_def allow ship classes to specify their own briefing icon to override normal icon
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10011 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-10 18:28:56 +10:00 |
|
Goober5000
|
1ab4286a25
|
some calculations will be above 999999, so just do it this way; the end result doesn't matter anyway as we just need the minimum
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10005 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-10 18:28:56 +10:00 |
|
Goober5000
|
80320485c1
|
fix some more loose ends in the revised support ship code
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10004 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-10 18:28:56 +10:00 |
|
Goober5000
|
f8b3d75fa4
|
fail
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10003 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-10 18:28:56 +10:00 |
|
Goober5000
|
6a8bc0a5ed
|
make support ship deployment more robust, and prevent an edge case where too many support ships could be in the mission at one time
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10000 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-10 18:28:55 +10:00 |
|
niffiwan
|
f3318caef7
|
some updates to r9885 per discussion with Goober5000
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9999 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-10 18:28:55 +10:00 |
|
niffiwan
|
629ca0cdc0
|
Fix mantis 2938: ship.time_first_tagged should be initialised to 0
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9989 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-10-31 19:25:03 +10:00 |
|
The_E
|
575bc3bcce
|
From Axem: Allow secondaries to cause shudder effects through use of the Shudder flag
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9983 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-10-31 19:25:02 +10:00 |
|
Goober5000
|
2f573aeb29
|
fix ship sounds when in observer mode (bug was introduced in revision 7923)
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9896 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-10-07 20:02:31 +10:00 |
|
Goober5000
|
9e8356b72c
|
setting to 0 is better because -1 triggers an Int3() on the first swarm entry
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9890 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-10-07 20:02:31 +10:00 |
|
Goober5000
|
5531c0d6b4
|
resolve issues with ship-templates and memcpy by deprecating ship-copy
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9888 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-10-07 20:02:31 +10:00 |
|
Goober5000
|
0f1971c5aa
|
change the ship struct to a class, and remove use of memcpy and memset for setting/copying the entire ship class
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9885 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-10-07 20:02:31 +10:00 |
|
niffiwan
|
910d4bd293
|
Coverity: fix some out-of-bounds access issues
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9874 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-10-07 20:02:30 +10:00 |
|
zookeeper
|
e8a15e7b22
|
Port r9728 from zookeeper branch: Made eyepoints match the orientation of their parent submodel.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9865 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-10-07 20:02:28 +10:00 |
|
Goober5000
|
4a9d457154
|
turn mc_info back into a plain data struct, part 1
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9821 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-09-26 18:51:35 +10:00 |
|
Goober5000
|
c46c0d1412
|
derp
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9820 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-09-26 18:51:35 +10:00 |
|
Goober5000
|
444d4b801a
|
make engine_wash_info a struct again
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9819 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-09-26 18:51:35 +10:00 |
|
Goober5000
|
2ee1b24b65
|
queued_animation uses a mess of memcpy and memset, so make sure it's a plain struct!
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9818 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-09-26 18:51:35 +10:00 |
|
Goober5000
|
fe934190ac
|
clarify that some structs should now be treated as classes change shockwave_create_info back to being a struct fix some missing shockwave_create_info initialization
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9817 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-09-26 18:51:35 +10:00 |
|
Goober5000
|
b4cc5d72f4
|
use an index rather than an iterator into the waypoint list so that ai_info is again a plain old data object
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9816 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-09-26 18:51:35 +10:00 |
|
Goober5000
|
4bd10888ff
|
make localization more robust with additional checks on string length, more consting, and stronger typing and make XSTR const, since we don't want to modify the strings it translates and then CONST ALL THE THINGS
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9809 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-09-26 18:51:34 +10:00 |
|