Commit Graph

336 Commits

Author SHA1 Message Date
Steve 9ced1e75c8 Removed unneeded addCandidate function. 2016-02-21 09:41:32 +00:00
Steve 4d3b2f10a1 Remove entities from quadtree at start of loop. 2016-02-21 09:41:00 +00:00
Steve a554c0ef00 Tidied headers. 2016-02-21 08:54:23 +00:00
Steve f402c8e7b9 Updated battle area restrictions, to fit quadtree changes. 2016-02-21 08:54:14 +00:00
Steve 1e24844d9b Resize fetch list dynamically. 2016-02-21 08:28:22 +00:00
Steve b004dd95ab Resize quadtree entity capacity as needed. 2016-02-21 08:13:17 +00:00
Steve 6b1e62dd38 Start of replacing grid with quadtree. 2016-02-21 07:48:22 +00:00
Steve 7337460853 Text render bug fix. 2016-02-20 15:04:26 +00:00
Steve 5bf486ede6 Display all available weapons on HUD. 2016-02-20 15:04:15 +00:00
Steve da71c1d647 Added ECM, mag bolt hit, and power down sounds. 2016-02-20 14:19:59 +00:00
Steve 757b942174 Added hud icons for armour, shield, ecm, and boost. 2016-02-15 16:59:47 +00:00
Steve db8678d64b Don't use key repeat. 2016-02-15 15:24:27 +00:00
Steve 26aa3b3bb1 Play denied sound when attempting to boost / use ecm when depleted. 2016-02-15 15:24:19 +00:00
Steve 7656957dd6 Fixed ECM halo effect. 2016-02-15 15:23:51 +00:00
Steve de3dde7211 Allow widgets to be selected by pressing Return, as well as Space. 2016-02-15 14:08:13 +00:00
Steve b99dd3a4e4 Added jump effects (sound and graphics). 2016-02-14 18:13:15 +00:00
Steve b5fc0aacbd Added disabled pulse effect to entities. 2016-02-14 16:34:11 +00:00
Steve 54b92ad137 Added message for when a star system falls to the Pandorans (campaign-related, unavoidable). 2016-02-14 11:53:03 +00:00
Steve 909cdd76f3 Now drawing stars after planet. Increased size of brightest stars by one pixel. 2016-02-14 11:08:03 +00:00
Steve 17c55ec080 Now scrolling the galactic map by clicking and dragging. 2016-02-14 11:07:15 +00:00
Steve 855abe77cb Prevent replaying of previously complete campaign missions. 2016-02-13 16:59:18 +00:00
Steve 60a398408a Updated random planet placement. 2016-02-13 16:59:00 +00:00
Steve b6e128231d Scroll planet in background more slowly. 2016-02-13 16:53:56 +00:00
Steve a5f73cc3fc Renamed "textureName" to simply "texture". 2016-02-13 14:31:45 +00:00
Steve 8cd74e999d Increase filename length of music. 2016-01-28 17:03:23 +00:00
Steve 58e91e83c0 Don't instantly kill the player during an epic mission. 2016-01-28 17:03:13 +00:00
Steve e31f39d3a9 Replaced "Dummy" missions with manual complete flag. 2016-01-25 15:09:14 +00:00
Steve a251459413 Added "unwinnable" mission flag, to automatically continue the game when the player is defeated. 2016-01-25 14:58:07 +00:00
Steve 672fd01282 Eliminate all tweaks. 2016-01-24 09:50:31 +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 501ef1aff7 Draw cap guns after components. 2016-01-21 17:08:56 +00:00
Steve cc4ac782a9 Allow selected widget to be activated by pressing space. 2016-01-03 13:53:41 +00:00
Steve 1115309331 Attempt to complete eliminate all objective immediately, if no enemies are remaining. 2015-12-31 11:31:36 +00:00
Steve fb8063b581 Get initial enemy count at start of mission. 2015-12-31 11:25:19 +00:00
Steve 05db32f04a Bug fix for wandering ships. 2015-12-30 18:44:48 +00:00
Steve f9ee8017df Logging. 2015-12-30 18:44:00 +00:00
Steve b095705dd0 When activating a captial ship, also activate its components. 2015-12-30 18:43:47 +00:00
Steve 4652787b65 Shorten time between message box displays. 2015-12-30 18:43:20 +00:00
Steve 277092cdbc Using arrow to indicate more weapons available on HUD. 2015-12-28 13:44:57 +00:00
Steve 38e4564aae Display total available guns on HUD. 2015-12-27 21:16:57 +00:00
Steve 568abb25f4 lookForLeader() added to main doAI function. 2015-12-27 18:18:50 +00:00
Steve 7f055102bf Split space craft into separate lists. 2015-12-26 21:08:53 +00:00
Steve e2b7576f89 Allow AI to wander. 2015-12-24 21:42:26 +00:00
Steve e2ffe9ba84 Added ability to specify death type of fighters (e.g. supply ships shouldn't spin). 2015-12-24 12:12:23 +00:00
Steve 5075adc0b4 Bug fix for engine position. 2015-12-24 11:54:01 +00:00
Steve 01ec3ceb7b Stats bug fixes. 2015-12-23 19:22:31 +00:00
Steve c3785bcfce Allow the player to select and fire rockets, when using a bomber. 2015-12-23 16:25:25 +00:00
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