Commit Graph

333 Commits

Author SHA1 Message Date
Steve f153383f9e Challenge mission graphics. 2016-02-27 18:08:43 +00:00
Steve 2e5b45064a Challenges integration. 2016-02-27 16:16:21 +00:00
Steve ef6e65a51c Slow player down when mission is complete. 2016-02-27 16:15:41 +00:00
Steve 4df206d6b2 Show time on HUD when in challenge mission. 2016-02-27 16:15:30 +00:00
Steve 2c33041344 Load data from files found in directory, rather than using a text file. 2016-02-27 16:14:14 +00:00
Steve 266088f764 Start of restoring challenges. 2016-02-27 12:14:29 +00:00
Steve 1f5af02441 Fixed for point effects not showing. 2016-02-25 16:43:26 +00:00
Steve 19630696c5 Prevented AI craft for jittering when close to leader. 2016-02-25 10:55:15 +00:00
Steve e79d331599 Added ALL_OBJECTIVES_COMPLETE script command. 2016-02-25 10:52:01 +00:00
Steve 239845a279 Array resize bug fixes. 2016-02-24 23:12:13 +00:00
Sweeney 56540a56ac Start of bullet, debris, and effect performance updates. Dynamic array sizing. 2016-02-24 15:02:51 +00:00
Steve e4b2bba230 Leader following tweaks: will now face and move in the general direction of leader once in range. 2016-02-24 07:13:48 +00:00
Steve a2a1ec0613 Modal message box updates. 2016-02-23 22:20:07 +00:00
Steve 8afc9a757b Updated avoidance. 2016-02-22 21:46:46 +00:00
Steve bde4dd84f5 Removed redundant calls. 2016-02-22 21:45:02 +00:00
Steve a7f9585a9a Moved prepareScene / presentScene into main loop. 2016-02-22 17:27:36 +00:00
Steve 66874a1720 Adjusted brake amount of missiles, to prevent them circling opponents. 2016-02-22 16:32:38 +00:00
Steve 0c88500690 Start of avoidance code for capital ships. 2016-02-22 12:47:30 +00:00
Steve fd56b75a6a Press 6 to complete mission in debug mode. 2016-02-21 16:55:29 +00:00
Steve cedbed4dc8 Updated copyright dates. 2016-02-21 15:50:27 +00:00
Steve dcef433d4d Randomly scale planet. 2016-02-21 13:47:10 +00:00
Steve 862d73dbc2 Quadrant fix. 2016-02-21 13:46:58 +00:00
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 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 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 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 909cdd76f3 Now drawing stars after planet. Increased size of brightest stars by one pixel. 2016-02-14 11:08:03 +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 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 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 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 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
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 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 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 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 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