Commit Graph

134 Commits

Author SHA1 Message Date
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 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 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 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 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 2d37460944 Generate cap ship component names from parent name. 2015-12-18 12:02:45 +00:00
Steve 48d54af42e Use float for draw angle, instead of int. 2015-12-17 23:14:25 +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 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 d6982e80ca Created common.h to aid with cross compiling. 2015-12-05 08:15:58 +00:00
Steve b3628c17b5 Decrease scroll zone. 2015-12-03 22:50:53 +00:00
Steve 2bca049973 Misc. clean up. 2015-12-03 16:53:29 +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 9c532352f5 Allow for star systems to fall to Pandorans, once story missions are complete. 2015-11-30 09:33:43 +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 46337a1f16 Removed challenges from main campaign. 2015-11-29 08:44:34 +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 bd1f5f2bfc Increased size of star system collision zone. 2015-11-26 17:41:58 +00:00
Steve d444b0ab68 Simplified mission loading (merged fighterGroup in to fighters, etc.) 2015-11-26 17:41:05 +00:00
Steve 2bbe6a1e97 Warp mouse to center of screen, to prevent scrolling after dismissing dialog. 2015-11-26 08:16:54 +00:00
Steve cd0463c92f Updates to widget-mouse interactions. 2015-11-26 08:16:29 +00:00
Steve e76cbaedda Stats control update. 2015-11-24 22:33:25 +00:00
Steve d62d8e74ba Further code changes for mouse support. 2015-11-24 07:16:48 +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 1760c9e3b3 Centralized mission failure logic. 2015-11-14 08:41:31 +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 3ad64a1d1d Fixed pulse logic. 2015-11-02 19:10:07 +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 4d745dc74e Add Epic Mission text to galactic map. 2015-11-01 13:35:04 +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 c506ad32cf Make missiles more powerful. Save name of last mission star system. 2015-10-30 07:22:49 +00:00
Steve a87395cc23 Allow enemies to flee. 2015-10-29 16:18:41 +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 b790aa5c00 Add green pulses for systems where everything is complete, to better aid replayability. 2015-10-25 09:32:32 +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 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 daf69096b4 Show indicator arrow for star systems with available missions. 2015-10-20 17:20:55 +01:00
Steve eaea32c934 Galactic map bug fixes. 2015-10-20 13:13:09 +01:00
Steve 24bf15ce09 Initial check in to GitHub. 2015-10-20 12:51:49 +01:00