Commit Graph

415 Commits

Author SHA1 Message Date
Steve 32eda1ae31 Restrict entities to bounds of grid (push back). 2015-11-02 18:07:26 +00:00
Steve d0f19cc322 Only display area warning if player is headnig towards it. 2015-11-02 18:07:02 +00:00
Steve ef1d0b4f4a Ensure width and height of entities is set. 2015-11-02 13:34:59 +00:00
Steve 61068f04f4 Entities must be added to grid based on their centre. 2015-11-02 13:19:54 +00:00
Steve 950cffcb4f Use grid to determine drawn entities. 2015-11-02 13:19:31 +00:00
Steve e620ceccad Use entities from grid for separation. 2015-11-02 12:14:29 +00:00
Steve f10ec392ef Bullets get collision candidates from grid. 2015-11-02 12:04:11 +00:00
Steve 62a445ac61 Various bug fixes for grid system. 2015-11-02 12:03:47 +00:00
Steve 64a461e29c (removed debug text) 2015-11-02 10:50:07 +00:00
Steve 452a4bf36c Fix for mission target directional arrow not showing. 2015-11-02 10:49:55 +00:00
Steve b748d23267 Use grid cell coords for placing entities. 2015-11-02 10:49:10 +00:00
Steve a7c1906950 Replaced radar drawCircle call with graphic. Added radar range warning. 2015-11-02 10:11:47 +00:00
Steve f585a30f3f Add and remove entities from grid. 2015-11-02 07:57:56 +00:00
Steve e368b9eee2 Increased grid size to 50. 2015-11-02 07:57:45 +00:00
Steve f667137521 Added w and h variables for to entity and bullet, for use with grid and colliison detection. 2015-11-02 07:57:33 +00:00
Steve 7a6a6b26c0 Start of Grid. 2015-11-01 22:19:39 +00:00
Steve ee05399652 NULL check against player, when getting camera position. 2015-11-01 16:11:56 +00:00
Steve 9debf3be56 Set camera to 0,0 on title, to ensure effects appear in the correct places. 2015-11-01 16:11:38 +00:00
Steve 9632d549a6 Save screenshots to /tmp. 2015-11-01 13:35:51 +00:00
Steve 2ed49023fd Active unit count as health > 0. 2015-11-01 13:35:35 +00:00
Steve 4d745dc74e Add Epic Mission text to galactic map. 2015-11-01 13:35:04 +00:00
Steve bedf2fe74d Get camera coords before drawing, to prevent jerky player. 2015-11-01 13:34:20 +00:00
Steve b2c6708ef4 Prevent player from pressing return to change to a dead fighter (i.e. - the current one). 2015-11-01 12:31:26 +00:00
Steve a42a87efa5 Show def name of fighter, and display left and right arrows when selecting a new fighter. 2015-11-01 12:30:16 +00:00
Steve 018d30132e Added defName to entity, to allow printing of definition name of the entity. 2015-11-01 12:29:32 +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 090eab162d Don't chase your target forever - reevaluate if they go out of range. 2015-11-01 10:46:49 +00:00
Steve 0246600d9c Define MAX_TARGET_RANGE. 2015-11-01 10:46:24 +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 4f47cd0bc6 Allow player to switch fighters upon death, during an epic battle. 2015-10-31 10:00:46 +00:00
Steve 596069cebf Player will always be on the side of the Allies. 2015-10-31 08:03:11 +00:00
Steve c3d07ea5a2 Allow manual switching of targets (closest). Disallow firing of missiles if target is too far away. 2015-10-30 23:31:20 +00:00
Steve 85364c6f55 Available guns bug fix. 2015-10-30 22:38:01 +00:00
Steve aaf58614f4 Allow enemies to fire missiles. 2015-10-30 21:55:01 +00:00
Steve c506ad32cf Make missiles more powerful. Save name of last mission star system. 2015-10-30 07:22:49 +00:00
Steve 5dc4042b55 Added lookups for DISABLED. 2015-10-29 16:46:08 +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 483768fe79 Added Firefly, tweaked fighter speeds. Adjusted mission requirements. 2015-10-29 08:03:05 +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
Steve d0a3d0d6c5 Start of triggers. 2015-10-26 08:10:13 +00:00
Steve 37a0c77284 Updated game manual. Limited number of HUD messages. Tweaked fighters and missions. 2015-10-25 19:22:05 +00:00
Steve b6da6c2ec5 Allow for mixed fighter groups, using 'types' 2015-10-25 12:56:24 +00:00
Steve b790aa5c00 Add green pulses for systems where everything is complete, to better aid replayability. 2015-10-25 09:32:32 +00:00
Steve b5154d3ab8 Added ability to set mission availability dependencies. 2015-10-25 09:29:41 +00:00
Steve c322cced55 Improved stats processing. Added pages to stats screen. 2015-10-25 00:01:46 +01:00
Steve 5081b011cf Allow disabled fighters to be destroyed. Added more challenges and stats. 2015-10-24 16:00:06 +01:00
Steve a21153cb12 Further missile tweaks. Added launch sound effect. 2015-10-24 14:52:55 +01:00
Steve 05860ed8ca Tweaks to missile behaviour, to increase accuracy. 2015-10-24 13:43:09 +01:00
Steve 5b7410dc1f Added mission target flag, Pirate Uprising 03, and scatter radius for fighter groups, to prevent battles initially being too chaotic. 2015-10-24 08:51:43 +01:00
Steve 67d92cedb9 Added ability to flag fighters and prevent team mates from killing mission targets. 2015-10-23 22:44:39 +01:00
Steve f206f2052b Allow for switching of weapons. Show weapon info on hud. 2015-10-23 07:08:18 +01:00
Steve 204055ea72 Added objective target types, and conditional objectives. 2015-10-22 07:08:03 +01:00
Steve a8a5d507fb Added mag cannons and Ray. 2015-10-21 19:21:45 +01:00
Steve 10c72dc5fd Updated version info. 2015-10-20 18:13:54 +01:00
Steve daf69096b4 Show indicator arrow for star systems with available missions. 2015-10-20 17:20:55 +01:00
Steve 834e03c531 Continue is default widget on title if save file exists. 2015-10-20 13:45:28 +01:00
Steve eaea32c934 Galactic map bug fixes. 2015-10-20 13:13:09 +01:00
Steve 24bf15ce09 Initial check in to GitHub. 2015-10-20 12:51:49 +01:00