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 22b5267ffd Initially add all entities to quadtree, to avoid the popping effect. 2016-03-08 07:12:06 +00:00
Steve 99013a4e99 Allow jumpgate to be put into "sleep" state: effectively inactive. 2016-03-08 06:55:41 +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 4a52bb1fce Added item collection challenges. 2016-03-07 12:29:23 +00:00
Steve 922b39c0ea Challenge #8, defend extraction point. Added flag to allow AI to sometimes ignore extraction point. 2016-03-06 09:47:44 +00:00
Steve 7979b175a2 Waypoint challenge updates. 2016-03-04 22:59:16 +00:00
Steve 599c4fc338 Merge fixes. 2016-03-04 22:11:13 +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 c8dd06dcdc Added AUTO option for music. Reorganised music for easier scanning. 2016-03-03 16:16:12 +00:00
Steve cb34b3b9b6 Maximum of 3 challenges per challenge mission. 2016-03-02 23:20:37 +00:00
Steve 2c71b16e17 Show and apply challenge restrictions. 2016-03-02 22:19:26 +00:00
Steve 0c31b2204c Refactored challenge data, for display on Challenge Home. 2016-03-02 06:46:13 +00:00
Steve 9d846fd137 Randomize planet and background in Challenge Home. 2016-02-29 16:00:32 +00:00
Steve d869c22f36 Allow random planet and backgrounds for missions, using "AUTO" in mission definition. 2016-02-29 14:42:46 +00:00
Steve 9b6abf764a Percent complete stats updates. 2016-02-29 10:47:10 +00:00
Steve ad7a1eefda Challenge integration updates. 2016-02-28 13:02:57 +00:00
Steve 58e7b9b8ea i18n updates. Not optimised. That will come later. 2016-02-27 19:16:17 +00:00
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 266088f764 Start of restoring challenges. 2016-02-27 12:14: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 6b1e62dd38 Start of replacing grid with quadtree. 2016-02-21 07:48:22 +00:00
Steve 60a398408a Updated random planet placement. 2016-02-13 16:59:00 +00:00
Steve 8cd74e999d Increase filename length of music. 2016-01-28 17:03:23 +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 fb8063b581 Get initial enemy count at start of mission. 2015-12-31 11:25:19 +00:00
Steve b095705dd0 When activating a captial ship, also activate its components. 2015-12-30 18:43:47 +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 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 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 2d37460944 Generate cap ship component names from parent name. 2015-12-18 12:02:45 +00:00
Steve c4dfb823ef Code clean up. 2015-12-14 08:15: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 6084251e9f Start of capital ships. 2015-12-07 19:19:14 +00:00
Steve 65b62091d1 Allow for file location to be determined automatically. 2015-12-02 23:20:19 +00:00
Steve 26c4bd4aea Allow AI Flags to be set in mission data. 2015-12-02 07:24:12 +00:00
Steve f1f962aeae Complete conditions when CompleteMission() is called. 2015-11-29 16:50:06 +00:00
Steve d3b0755f8b Scatter bug fix for entities. 2015-11-29 16:30:59 +00:00
Steve 146bd1ef45 Made name option for fighters. 2015-11-29 12:56:15 +00:00
Steve 4b537a3bee Allow entites to be create in deactivated state. 2015-11-28 14:34:38 +00:00
Steve 9de6d6c737 Removed triggers, and replaced with script system. Added message box. 2015-11-28 10:11:20 +00:00
Steve d444b0ab68 Simplified mission loading (merged fighterGroup in to fighters, etc.) 2015-11-26 17:41:05 +00:00
Steve 3b7d8ff940 Allow player start position to be set. 2015-11-22 11:41:28 +00:00
Steve 693d563f27 Make player immortal upon mission completion / failure. 2015-11-21 17:36:42 +00:00
Steve a82f8b6f2c Renamed FLEE flags to RETREAT. 2015-11-21 17:32:39 +00:00
Steve 197a9fc799 Allow entities to be created inactive. 2015-11-20 22:52:17 +00:00
Steve 32885b2111 Tweaked AI, to help balance Epic battles. 2015-11-19 08:30:45 +00:00
Steve a9dc374d40 Added new stats. 2015-11-17 07:23:50 +00:00
Steve 8c0b7fdb2f Further item code updates: allow items to be created and collected. 2015-11-16 12:31:50 +00:00
Steve 0b459a9927 Force enemies to flee when the mission is complete. 2015-11-15 13:26:46 +00:00
Steve af85d1ca5e Allowed fighter groups to have flags. 2015-11-15 11:31:43 +00:00
Steve 3ef591a7d7 Bug fix for DEBUG on mission select. 2015-11-14 13:03:40 +00:00
Steve 1f62eb2564 Added entity groups, to help with triggers and events. 2015-11-14 08:41:07 +00:00
Steve 345516814d Make all missions available when compiled with DEBUG. 2015-11-13 18:25:35 +00:00
Steve faf6c9890c Start of extraction points. 2015-11-09 22:46:57 +00:00
Steve 1cd8b42664 Centralize completeMission and failMission logic. 2015-11-02 19:18:26 +00:00
Steve ef1d0b4f4a Ensure width and height of entities is set. 2015-11-02 13:34:59 +00:00
Steve b748d23267 Use grid cell coords for placing entities. 2015-11-02 10:49:10 +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 44818d295a Integrated triggers. 2015-10-29 11:08:47 +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 b6da6c2ec5 Allow for mixed fighter groups, using 'types' 2015-10-25 12:56:24 +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 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 24bf15ce09 Initial check in to GitHub. 2015-10-20 12:51:49 +01:00