Commit Graph

420 Commits

Author SHA1 Message Date
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 69e45f4e3f Clear input when transitioning. 2016-02-27 16:14:48 +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 57d8c867e1 v0.6. Start of i18n. 2016-02-27 12:14:05 +00:00
Steve d79325a0b3 Only select one mission. 2016-02-27 08:08:32 +00:00
Steve 1f5af02441 Fixed for point effects not showing. 2016-02-25 16:43:26 +00:00
Steve 6b25cc3c8b Clip camera using star systems. 2016-02-25 16:00:42 +00:00
Steve b5bafa1b1e Windows save path bug fix. 2016-02-25 12:27:08 +00:00
Steve 3f100a0848 Init effects on title screen, to prevent crash. 2016-02-25 12:26:54 +00:00
Steve 84889d8391 Windows build fixes. 2016-02-25 11:46:39 +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 ae3b5c4c1a Create tbfss save folder in Windows with current username. 2016-02-24 07:17:53 +00:00
Steve 913184d877 Removed INF. They don't exist after 2616. 2016-02-24 07:16:23 +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 368e9dc592 Start of modal dialog display. 2016-02-23 07:19:31 +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 66fa5ede35 Display loading progress for initial load. 2016-02-22 17:28:23 +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 d529a83bfa Set window title with full game name. 2016-02-22 12:47:41 +00:00
Steve 0c88500690 Start of avoidance code for capital ships. 2016-02-22 12:47:30 +00:00
Steve 4128868692 Dynamically allocate number of files in list. 2016-02-21 17:24:21 +00:00
Steve fd56b75a6a Press 6 to complete mission in debug mode. 2016-02-21 16:55:29 +00:00
Steve 03712285c4 Campaign flow bug fixes. 2016-02-21 16:55:11 +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 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
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 3dbd8e72f7 Missions now unlock depending on number of other missions completed (and previous mission, where applicable). 2015-12-21 14:19:21 +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 9be0cdab6c Expire texts, based on age in cache. 2015-12-20 16:13:35 +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 bc8ef3b0bc Memory leak fix. 2015-12-20 11:58:35 +00:00
Steve af04c5a7ef Automatically load missions from star system misson dir (data/mission/xxx) 2015-12-20 11:58:21 +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 01286b042b Limit text cache size. 2015-12-18 17:09:23 +00:00