Commit Graph

93 Commits

Author SHA1 Message Date
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
Steve 6409e4ec11 Always shift entities, even if inactive. 2015-10-29 11:35:59 +00:00
Steve 44818d295a Integrated triggers. 2015-10-29 11:08:47 +00:00
Steve f197d656c4 Added 'combined guns' to allow for weapons to be fired together. 2015-10-29 10:14:21 +00:00
Steve 5c7b2a24bf Integrated waypoints into objective system. 2015-10-28 19:12:58 +00:00
Steve 49832b114b Updates to Mission Target logic. Tidying up of entity.c 2015-10-27 07:24:17 +00:00
Steve 705a2cebe9 Removed Fighter struct and replaced with Entity. 2015-10-26 19:16:12 +00:00
Steve 73eb5517bf Start of waypoints. 2015-10-26 17:27:43 +00:00