Commit Graph

289 Commits

Author SHA1 Message Date
Steve 1f03b81cca Misc. updates. 2015-12-22 17:58:53 +00:00
Steve edc6127109 Fix for AI attacking secondary targets. 2015-12-22 17:58:37 +00:00
Steve 48f08a3fb0 Allowed locations to be activated by scripts. Added eliminate all objective type. 2015-12-22 17:58:18 +00:00
Steve 1884c8371e Added Locations for use with mission scripting. 2015-12-22 12:42:04 +00:00
Steve 15d7faf386 Bug fix for escaping entities. 2015-12-21 16:03:30 +00:00
Steve 3dbd8e72f7 Missions now unlock depending on number of other missions completed (and previous mission, where applicable). 2015-12-21 14:19:21 +00:00
Steve e83e078873 Bug fix for epic battle spawning. 2015-12-20 16:41:46 +00:00
Steve a50e1685a3 Allow epic battle player select by mouse. 2015-12-20 16:41:29 +00:00
Steve 05b42f21ce AI evasion updates. 2015-12-20 16:13:49 +00:00
Steve 9be0cdab6c Expire texts, based on age in cache. 2015-12-20 16:13:35 +00:00
Steve 1849a20831 AI fighers will now attempt to avoid combat if they take too much damage in a short space of time. 2015-12-20 15:13:41 +00:00
Steve 817c5c22ee Decreased warning range for battle area bounds. 2015-12-20 14:32:21 +00:00
Steve d8eb896456 Enable debug mode by passing -debug. 2015-12-20 12:25:20 +00:00
Steve bc8ef3b0bc Memory leak fix. 2015-12-20 11:58:35 +00:00
Steve af04c5a7ef Automatically load missions from star system misson dir (data/mission/xxx) 2015-12-20 11:58:21 +00:00
Steve 1c81be3168 Stats for capital ships. 2015-12-19 16:15:57 +00:00
Steve 164b35a8c0 AI should only move to leader on same side. 2015-12-19 12:30:17 +00:00
Steve bd5f1c3b49 Don't execute scripts or message boxes if the player is dead. 2015-12-19 08:56:52 +00:00
Steve 01286b042b Limit text cache size. 2015-12-18 17:09:23 +00:00
Steve 01894d5150 Activate objectives by name, not number. 2015-12-18 14:28:44 +00:00
Steve 2d37460944 Generate cap ship component names from parent name. 2015-12-18 12:02:45 +00:00
Steve cfc0ed7cc8 AI can now follow leaders. 2015-12-18 12:02:01 +00:00
Steve b5dfab1bd5 Added debug keys. 2015-12-18 10:12:37 +00:00
Steve 7325bbe506 INF Corvette updates. 2015-12-18 08:26:21 +00:00
Steve 48d54af42e Use float for draw angle, instead of int. 2015-12-17 23:14:25 +00:00
Steve 2e2bd9d882 Debris updates. 2015-12-16 22:40:26 +00:00
Steve 33373457b2 Error when no capital ship found. 2015-12-16 22:40:14 +00:00
Steve 7701fc0336 Combined guns bug fix. 2015-12-14 14:05:02 +00:00
Steve 691068a634 Shield smash bug fix. 2015-12-14 14:04:48 +00:00
Steve 310637b4eb Merged from v0.41. 2015-12-14 11:41:43 +00:00
Steve c4dfb823ef Code clean up. 2015-12-14 08:15:41 +00:00
Steve 2012f87b39 Randomize debris for fighters. Added Rebel AI thresholds. 2015-12-13 17:56:16 +00:00
Steve 8e1fdf559a Scatter debris more quickly. 2015-12-13 17:55:10 +00:00
Steve 260ada68c8 Capital ships: scatter debris when components destroyed. Run scripts upon certain events. 2015-12-13 17:54:57 +00:00
Steve 743786efb8 Added debris. 2015-12-13 14:50:54 +00:00
Steve 99eb742d34 HUD distance calculation bug fix. 2015-12-12 18:24:41 +00:00
Steve 4fbdcd0af6 Allow flags in missions to be added to existing entity flags, or replace them completely. 2015-12-12 18:24:23 +00:00
Steve 6b06b2a431 Increased corvette engine health. Allowed guns to fire missiles. Cap ships will also hunt down AI targets. 2015-12-12 17:12:25 +00:00
Steve 247c9f79e3 Created capital ship engine effect. 2015-12-12 15:11:40 +00:00
Steve fb524386fa drawBullets() bug fix. 2015-12-11 19:06:16 +00:00
Steve 3ab78a070a Updated HUD distance display. 2015-12-10 14:25:22 +00:00
Steve 05f58e0971 Added SECONDARY_TARGET flag. 2015-12-10 12:40:23 +00:00
Steve 51452925f9 Death of guns does not affect cap ship health. 2015-12-10 11:47:18 +00:00
Steve a5f8be0586 EF_STATIC now means entity will never move (not even rotate). 2015-12-10 11:46:57 +00:00
Steve da692862b9 Include cap ships in force counts. 2015-12-10 11:11:32 +00:00
Steve 09d93f9163 Treat capital ship engines differently from components. Will cause vessel to stop moving when they are all destroyed. Don't contribute to ship health. 2015-12-10 11:11:04 +00:00
Steve 4358d5b698 Misc. fixes. 2015-12-10 10:16:44 +00:00
Steve deafab786e Separate gun AI. 2015-12-10 10:16:27 +00:00
Steve 833043ba7d Bullets don't hit their own entity groups (mainly for capital ships). 2015-12-10 10:16:16 +00:00
Steve 1b1a4ca792 Shift dead entities out of main list instead of freeing, to counter dangling pointers. 2015-12-10 10:15:27 +00:00