Commit Graph

57 Commits

Author SHA1 Message Date
Steve a74ff87a46 Added portal effect to jumpgate. 2016-03-07 22:50:41 +00:00
Steve 497977c665 Don't add capital ship components to quadtree until they've been positioned. 2016-03-06 17:13:57 +00:00
Steve ad7a1eefda Challenge integration updates. 2016-02-28 13:02:57 +00:00
Steve cedbed4dc8 Updated copyright dates. 2016-02-21 15:50:27 +00:00
Steve 4d3b2f10a1 Remove entities from quadtree at start of loop. 2016-02-21 09:41:00 +00:00
Steve f402c8e7b9 Updated battle area restrictions, to fit quadtree changes. 2016-02-21 08:54:14 +00:00
Steve 6b1e62dd38 Start of replacing grid with quadtree. 2016-02-21 07:48:22 +00:00
Steve b5fc0aacbd Added disabled pulse effect to entities. 2016-02-14 16:34:11 +00:00
Steve a73a44fd55 Notify captial ships, etc. when new opponents arrive, to allow them to respond faster. 2016-01-24 09:49:50 +00:00
Steve fb8063b581 Get initial enemy count at start of mission. 2015-12-31 11:25:19 +00:00
Steve b095705dd0 When activating a captial ship, also activate its components. 2015-12-30 18:43:47 +00:00
Steve 15d7faf386 Bug fix for escaping entities. 2015-12-21 16:03:30 +00:00
Steve e83e078873 Bug fix for epic battle spawning. 2015-12-20 16:41:46 +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 b5dfab1bd5 Added debug keys. 2015-12-18 10:12:37 +00:00
Steve 691068a634 Shield smash bug fix. 2015-12-14 14:04:48 +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 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 1b1a4ca792 Shift dead entities out of main list instead of freeing, to counter dangling pointers. 2015-12-10 10:15:27 +00:00
Steve 91822f1ca3 Further capital ship code updates. Added long range fire flag for cannons. 2015-12-08 22:42:31 +00:00
Steve 767920478c Clear entire grid at start of frame (removing individuals is buggy right now). 2015-12-08 06:44:53 +00:00
Steve 6441f926e2 Various tweaks and refactoring to accomodate capital ships. 2015-12-07 19:19:41 +00:00
Steve eb894f9703 Bug fix for activateEntities. Implemented EF_STATIC. 2015-11-29 13:23:27 +00:00
Steve eeaccec327 Update script function calls. 2015-11-29 12:55:15 +00:00
Steve 6f52dc9783 Further tweaks to target outline. 2015-11-22 17:49:38 +00:00
Steve b6616c23de Expand size of mission target square. 2015-11-22 16:52:11 +00:00
Steve 223231fb76 AI updates. 2015-11-22 13:06:19 +00:00
Steve 0b9a6f8b1f Misc. bug fixes. 2015-11-20 22:52:48 +00:00
Steve c61b591f75 Epic battle bug fixes. 2015-11-19 12:44:56 +00:00
Steve 4c4d8e9a77 Use DYING and DEAD for ALIVE state, to prevent killing things too early (i.e - item pickups). 2015-11-18 11:28:19 +00:00
Steve 68e700473b Based target / mission rectangles on entity size. 2015-11-16 14:39:20 +00:00
Steve 9ce6624fc0 Moved all rope handling code to rope.c. 2015-11-15 11:31:30 +00:00
Steve 56c43aad3c Added ability to attach tow rope to disabled craft. 2015-11-14 23:19:17 +00:00
Steve 1f62eb2564 Added entity groups, to help with triggers and events. 2015-11-14 08:41:07 +00:00
Steve 83407704c6 Code clean up. 2015-11-13 23:35:51 +00:00
Steve ec72a5dd40 Highlight all mission targets, not just the one the player is targetting. 2015-11-13 22:08:59 +00:00
Steve 7a23a9b6b3 Remove ALIVE_ESCAPED entities. 2015-11-11 22:34:00 +00:00
Steve 4da58014d5 Rewrote entity candidate for loops. 2015-11-11 19:15:41 +00:00
Steve 9de4bf6255 Sort entities before drawing, using their type number as the order. 2015-11-09 22:48:59 +00:00
Steve 3c43c15253 Don't add dead entities to grid system. 2015-11-09 17:55:56 +00:00
Steve 32eda1ae31 Restrict entities to bounds of grid (push back). 2015-11-02 18:07:26 +00:00
Steve 950cffcb4f Use grid to determine drawn entities. 2015-11-02 13:19:31 +00:00
Steve f585a30f3f Add and remove entities from grid. 2015-11-02 07:57:56 +00:00
Steve 2ed49023fd Active unit count as health > 0. 2015-11-01 13:35:35 +00:00
Steve 2a38221bcf Prevent fighters from magically coming back to life if their target is kill while they are also dying. 2015-11-01 11:37:12 +00:00
Steve 3783a0833e Limit number of fighters that can appear in battle at once, during an epic battle. Add remaining fighters as room on field becomes available. 2015-11-01 09:25:10 +00:00
Steve 443723f6b7 Implemented camera, to aid fighter switching. Added prompts for switching fighters, when current one is destroyed. 2015-10-31 23:09:43 +00:00
Steve 596069cebf Player will always be on the side of the Allies. 2015-10-31 08:03:11 +00:00
Steve a87395cc23 Allow enemies to flee. 2015-10-29 16:18:41 +00:00