Commit Graph

134 Commits

Author SHA1 Message Date
Steve 7118c10648 Draw jumpgate portal in jumpgate.c. Use systemPower instead of ALIVE_SLEEPING to determine status. 2016-03-08 14:28:11 +00:00
Steve 798135eadf Don't allow rogue files to crash game at startup. 2016-03-07 19:03:55 +00:00
Steve bc1c5d09a8 Replaced extraction point with jumpgate. 2016-03-07 17:12:21 +00:00
Steve bd715286a1 Allows show killed message during a challenge battle. 2016-03-07 12:31:43 +00:00
Steve 159d36017b Centralizing getFileLocation() to make file loading more transparent. 2016-03-04 14:29:50 +00:00
Steve 95cb35d5a1 Added getJSONValue to aid with optional JSON data. 2016-03-04 14:14:04 +00:00
Steve ed9b02a917 Disabled entities now become secondary targets. 2016-03-03 11:31:18 +00:00
Steve 8242dbf037 Use getFileLocation for loading files (install is broken on Linux). 2016-02-29 14:43:24 +00:00
Steve 211df6d8ec i18n updates. 2016-02-28 13:45:17 +00:00
Steve ad7a1eefda Challenge integration updates. 2016-02-28 13:02:57 +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 0c88500690 Start of avoidance code for capital ships. 2016-02-22 12:47:30 +00:00
Steve cedbed4dc8 Updated copyright dates. 2016-02-21 15:50:27 +00:00
Steve da71c1d647 Added ECM, mag bolt hit, and power down sounds. 2016-02-20 14:19:59 +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 672fd01282 Eliminate all tweaks. 2016-01-24 09:50:31 +00:00
Steve 7f055102bf Split space craft into separate lists. 2015-12-26 21:08:53 +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 1f03b81cca Misc. updates. 2015-12-22 17:58:53 +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 2e2bd9d882 Debris updates. 2015-12-16 22:40:26 +00:00
Steve 691068a634 Shield smash bug fix. 2015-12-14 14:04:48 +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 743786efb8 Added debris. 2015-12-13 14:50:54 +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 91822f1ca3 Further capital ship code updates. Added long range fire flag for cannons. 2015-12-08 22:42:31 +00:00
Steve 6441f926e2 Various tweaks and refactoring to accomodate capital ships. 2015-12-07 19:19:41 +00:00
Steve 65b62091d1 Allow for file location to be determined automatically. 2015-12-02 23:20:19 +00:00
Steve a15efc4ea9 Enable running of scripts when enemies are killed. 2015-12-02 07:24:26 +00:00
Steve 999c0eedb3 Add MOVE_TO_PLAYER flag if fighter is an ally not hasn't got FOLLOWS flag set. 2015-11-30 12:41:11 +00:00
Steve e5906d5f5f Added new AI flags. 2015-11-30 11:29:56 +00:00
Steve ff8bf560e0 Also use GroupName as objective trigger. 2015-11-29 12:57:27 +00:00
Steve dec3538956 Added AIF_MOVES_TO_PLAYER flag. 2015-11-28 14:33:05 +00:00
Steve 9de6d6c737 Removed triggers, and replaced with script system. Added message box. 2015-11-28 10:11:20 +00:00
Steve 8b669448e8 Only show target escaped target for targets that aren't disabled. 2015-11-27 06:37:08 +00:00
Steve 444ffaeffa Double health / shield values of all craft. 2015-11-22 16:57:53 +00:00
Steve 048d3b17e0 Shield hit effect optimisation. 2015-11-22 16:51:11 +00:00
Steve ccaf3d08fc Increased separation distance, to eliminate bunching. 2015-11-22 11:41:47 +00:00
Steve 597f6f5cb7 Removed missiles types. Now only homing missiles, and rockets for bombers. 2015-11-21 23:45:22 +00:00
Steve a82f8b6f2c Renamed FLEE flags to RETREAT. 2015-11-21 17:32:39 +00:00
Steve b44f208f6c Complete mission if player escapes. 2015-11-20 22:52:35 +00:00
Steve 32885b2111 Tweaked AI, to help balance Epic battles. 2015-11-19 08:30:45 +00:00
Steve 881464282d Allowed Darts to randomly possess lasers. 2015-11-18 18:38:00 +00:00
Steve ede89eefd1 Shield damage effect updates. Laser will cause shield to disable for 10 seconds. 2015-11-18 16:04:12 +00:00
Steve a776005a65 Reworked AI system, to make it more generic and flexible. 2015-11-18 11:27:05 +00:00
Steve a9dc374d40 Added new stats. 2015-11-17 07:23:50 +00:00
Steve 87445c41ae Merged fighterDefs.c in to fighters.c. 2015-11-16 17:23:56 +00:00
Steve cca3dedf7a Boost and speed limit tweaks. 2015-11-15 23:23:03 +00:00
Steve 6dfe2b7f22 Various boost tweaks. 2015-11-15 17:12:04 +00:00
Steve 095e8b65a4 AI updates - allow enemies to flee. 2015-11-15 13:26:34 +00:00
Steve 484afee9ef Consider centering when gathering entities. 2015-11-15 12:28:12 +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 c9632613ce Updated EF_DISABLE to EF_DISABLED. Fixed objective logic for disabled craft (fire only once). 2015-11-14 16:14:48 +00:00
Steve f4402bfb72 AI tweaks - make the game less frantic, and AI less likely to fire missiles at player. 2015-11-14 11:32:37 +00:00
Steve 83407704c6 Code clean up. 2015-11-13 23:35:51 +00:00
Steve b90ca0ea11 Fleeing fighters no longer count as flee when they go out of range of player. 2015-11-13 18:26:30 +00:00
Steve f883423875 Added function to adjust target value of objectives (such as requiring fewer civs to rescue if some are killed). 2015-11-13 16:55:49 +00:00
Steve 52969b4a04 Random civilian ship texture. 2015-11-13 08:46:06 +00:00
Steve 93979c396f ALIVE_ESCAPED entities invoke triggers, objective, and condition updates. 2015-11-11 22:34:48 +00:00
Steve 4da58014d5 Rewrote entity candidate for loops. 2015-11-11 19:15:41 +00:00
Steve ad405c57ae Start of civilian ships: will follow player when close and flee in to extraction points. 2015-11-11 06:46:58 +00:00
Steve e620ceccad Use entities from grid for separation. 2015-11-02 12:14:29 +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 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 aaf58614f4 Allow enemies to fire missiles. 2015-10-30 21:55:01 +00:00
Steve a87395cc23 Allow enemies to flee. 2015-10-29 16:18:41 +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 d0a3d0d6c5 Start of triggers. 2015-10-26 08:10:13 +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 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 24bf15ce09 Initial check in to GitHub. 2015-10-20 12:51:49 +01:00