Goober5000
ef62e392b0
more robust saving of dockpoint indexes (again for Mantis #2587 )
2012-01-31 04:53:37 +00:00
Goober5000
1732520514
fix Mantis #2587
2012-01-29 09:19:07 +00:00
Goober5000
b44df6f7be
tweaks
2012-01-29 06:53:42 +00:00
Goober5000
c84812fbda
herp a big derp
2012-01-29 02:58:29 +00:00
Goober5000
8b95cbb92b
wait until animation finishes before separating during undocking
2012-01-29 02:12:09 +00:00
Goober5000
7d99d1016a
update docking code some more
...
add code logic to (theoretically) set submodels instantly to initial or final positions
2012-01-28 02:51:42 +00:00
Goober5000
e4c749ed2c
enhancement for bug 2582: trigger animations on BOTH ships undergoing docking
2012-01-27 07:42:13 +00:00
Goober5000
a54cfd15de
partial fix for Mantis #2582 :
...
--add Vasudan Admiral's fix for setting submodels to their initial positions
--add trigger for moving submodels to their docked positions when an initially-docked ship arrives
2012-01-26 03:57:23 +00:00
The_E
64ce84c367
Makes a very strangely coded warning more readable and useful.
2012-01-24 00:11:07 +00:00
Goober5000
de6eb9460d
upgrades to the docking system to incorporate docking animations -- incidentally, fixes Mantis #2581
...
also, remove DOCK_BACKUP_RETURN_VAL which never did anything even in retail
2012-01-23 23:27:06 +00:00
Valathil
a8206df327
Follow up to 8289 + 8310: Make the sprite rotation independent of the camera direction and revert the docking change and make it simpler
2012-01-23 22:50:01 +00:00
Valathil
2184d3698b
Follow up to 8289: Change the rotation back to relative cause of flipping out billboards at certain viewing angles and fix the dock rotation another way.
2012-01-22 14:01:18 +00:00
Goober5000
149797ae75
the proper way to fix Mantis #2441 is by modifying the team_visibility_update function
...
also, clarify terminology: in-frustum/not-in-frustum replaces visible/invisible
and do some minor rewrites for additional clarification
2012-01-22 05:37:09 +00:00
Echelon9
dc4371680a
Clear a whole set of LLVM warnings - some of these would have caused memory fubars, so should marginally improve stability
2012-01-15 08:08:15 +00:00
The_E
0bbca2cd79
Removing two unused variables
2011-12-18 16:36:49 +00:00
Echelon9
21c2449f0b
Documentation: Changes such that the Doxygen log reports clean, in anticipation of 3.6.14 release
2011-11-28 13:03:38 +00:00
Zacam
ef5f145d5a
From zookeeper: customizable warpout engage time
...
http://www.hard-light.net/forums/index.php?topic=78913.0
2011-11-12 14:36:31 +00:00
Echelon9
9f711bf53e
Documentation: General code cleanup for 64bit
2011-11-05 08:12:04 +00:00
Echelon9
500859ae98
Documentation: Only need update_min_max() because CLAMP() doesn't handle pointers
2011-10-03 07:46:04 +00:00
Echelon9
227b835116
Documentation: Code cleanup in aicode.cpp and ancilliary changes
2011-10-03 07:40:09 +00:00
Sushi
2b6ef14077
Add set-docked SEXP
2011-09-27 03:32:05 +00:00
Zacam
9678d18bc3
Part One: Synchronization pass of Trunk and Antipodes Differences.
...
Whitespace/tab mostly.
aicode does have a change of an Int3 to an Assertion.
bmpman has an update to bm_next_handle.
2011-09-09 09:37:45 +00:00
The_E
b92c6402a4
More false alarms from PVS Studio
2011-09-04 12:13:31 +00:00
Goober5000
bab303963b
fix a bug from the waypoint conversion
2011-09-04 00:41:05 +00:00
Echelon9
4f2574dddb
PVS-Studio fix: V592 The expression was enclosed by parentheses twice: '((cur_sep > 0.9f * desired_sep))'. One pair of parentheses is unnecessary or misprint is present (aicode.cpp).
...
I think this is the right fix. In addition the code comments did not reflect what was happening, so I've updated these to reflect the if() comparison.
2011-09-03 05:20:27 +00:00
Goober5000
70a1873c86
a bunch of small PVS-Studio fixes (mostly duplicate assignments)
2011-09-03 02:25:39 +00:00
Echelon9
64d2e8b9fb
PVS-Studio fix: V803 Decreased performance. In case 'aip->wp_index' is iterator it's more effective to use prefix form of decrement. Replace iterator-- with --iterator.
2011-08-30 14:06:03 +00:00
Goober5000
3f1fcf2e71
having null iterators is apparently a no-no according to the C++ standard, so use a globally defined invalid iterator instead
2011-08-30 07:27:32 +00:00
Goober5000
3ce69f150a
waypoints and waypoint paths now have dynamic limits
2011-08-30 03:35:42 +00:00
Echelon9
b765ca37b9
PVS-Studio fix: V519 The 'path_index' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 12782, 12809 (aicode.cpp)
2011-08-28 09:30:07 +00:00
Sushi
04af101eda
Add "$Max Turrets per Bomb" and "$Max Turrets per Target" turret attributes. Allow per-turret control over maximum number of targeted bombs and ships (respectively). Works like "$Max Turret Target Ownage" but on a per-turret basis, and with the ability to affect incoming bombs as well.
2011-08-25 01:33:44 +00:00
Echelon9
a248a37d58
PVS-Studio: Fix V805. Decreased performance. It is inefficient to identify an empty string by using 'strlen(str) > 0' construct
2011-08-24 13:37:01 +00:00
Goober5000
017699d8a3
minor tweaks
2011-08-19 04:32:24 +00:00
Echelon9
127ac8d051
PVS-Studio fix: Remove duplicate if...then conditional within ai_process()
2011-08-10 13:43:18 +00:00
Echelon9
989916e0a7
PVS-Studio fix: Correct duplicate attempt to set the docker_aip->support_ship_signature in ai_do_objects_undocked_stuff()
2011-08-10 13:40:53 +00:00
The_E
466441a58b
Slight fix for issue with SSMs hitting the player ship
2011-07-30 07:31:24 +00:00
The_E
7f5c3d343e
Valathil's code cleanup patch.
2011-07-20 18:04:43 +00:00
The_E
a60d32e669
Disable warning that is meaningless ("why are G_predicted_pos and G_fire_pos the same?"), and only serves to confuse people.
2011-06-27 13:52:45 +00:00
Sushi
fcbce45a2c
Fix nasty pointer bug
2011-06-03 03:02:48 +00:00
Sushi
4324ca87d6
Updated "alt1" path mode so that it respects the cap-waypoint-speed SEXP.
2011-05-07 11:31:30 +00:00
Echelon9
aa1601bb36
Documentation: Fix a few syntax errors reported in Doxygen's log
2011-05-01 03:54:01 +00:00
Sushi
2992e88315
Add $Path Metadata and +departure rvec to ships.tbl
2011-04-27 14:22:22 +00:00
Sushi
39d6889f86
Add "$ai path mode:" to ai_profiles. This allows an alternate method of path following that works better in some cases, such as with high-damp ships.
2011-04-18 14:08:31 +00:00
The_E
0aa44e3b12
Correction: Previous commit broke AWACS behaviour.
2011-03-30 09:42:52 +00:00
The_E
e635eb373b
Add a sanity check here.
2011-03-29 18:06:04 +00:00
Echelon9
634dcc7e23
Accompanying changes to aicode.cpp following staticrand.cpp
2011-02-21 14:15:34 +00:00
Sushi
5a9202910f
Fix a bug with friendly shield manage/cm usage
2011-02-12 17:02:23 +00:00
The_E
0b9429b9ea
Adding a few error messages
2011-02-04 17:02:49 +00:00
Goober5000
110cd3bccc
add turret-protect-ship and turret-unprotect-ship
2011-01-21 08:55:26 +00:00
Sushi
65f7c760d8
Add "$ai aims from ship center:" and "$allow primary link delay:" AI profiles flags
2010-12-31 20:03:16 +00:00