Commit Graph

153 Commits

Author SHA1 Message Date
Steve 52691f7be5 Enable AI flags to focus on targets. 2016-03-29 22:45:46 +01:00
Steve e278374490 Merge from develop. 2016-03-27 11:21:23 +01:00
Steve 09e676d713 Added simple die, to prevent swarmers spreading debris everywhere. 2016-03-16 06:53:07 +00:00
Steve 160f65a15b Added EF_NO_KILL_INC to prevent kill count increment. 2016-03-13 10:50:32 +00:00
Steve 0a69dd0e5e Merge from develop. 2016-03-12 18:22:48 +00:00
Steve 4f27b40d97 Added rescue challenges 2016-03-11 23:45:47 +00:00
Steve da97818259 Trophy-related prototyping fixes. 2016-03-10 18:02:19 +00:00
Steve e8d63df494 Merge remote-tracking branch 'origin/develop' into trophies
# Conflicts:
#	src/battle/battle.c
#	src/challenges/challengeHome.c
2016-03-10 12:04:04 +00:00
Steve 46503f4fe7 Mark craft as stolen if they are moved to jumpgate by a vessel not on your side. 2016-03-09 23:20:50 +00:00
Steve f867e793bd Trophy prototyping. 2016-03-09 11:51:26 +00:00
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 99013a4e99 Allow jumpgate to be put into "sleep" state: effectively inactive. 2016-03-08 06:55:41 +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 09a89e692b Added time up status for finishing a challenge already partly passed. 2016-03-05 15:34:37 +00:00
Steve acd53f6b97 Further custom control integration. 2016-03-05 08:42:35 +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 b6012a2e21 Merged config branch. 2016-03-03 18:03:07 +00:00
Steve d5d5169078 Accuracy for rockets and missiles, not just shots. 2016-03-03 09:12:08 +00:00
Steve cb34b3b9b6 Maximum of 3 challenges per challenge mission. 2016-03-02 23:20:37 +00:00
Steve 9b6abf764a Percent complete stats updates. 2016-02-29 10:47:10 +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 821e7ac872 Start of i18n support. 2016-02-27 18:13:05 +00:00
Steve 57d8c867e1 v0.6. Start of i18n. 2016-02-27 12:14:05 +00:00
Steve 913184d877 Removed INF. They don't exist after 2616. 2016-02-24 07:16:23 +00:00
Steve 368e9dc592 Start of modal dialog display. 2016-02-23 07:19:31 +00:00
Steve 4128868692 Dynamically allocate number of files in list. 2016-02-21 17:24:21 +00:00
Steve cedbed4dc8 Updated copyright dates. 2016-02-21 15:50:27 +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 b99dd3a4e4 Added jump effects (sound and graphics). 2016-02-14 18:13:15 +00:00
Steve 501ef1aff7 Draw cap guns after components. 2016-01-21 17:08:56 +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 c3785bcfce Allow the player to select and fire rockets, when using a bomber. 2015-12-23 16:25:25 +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 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 cfc0ed7cc8 AI can now follow leaders. 2015-12-18 12:02:01 +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 05f58e0971 Added SECONDARY_TARGET flag. 2015-12-10 12:40:23 +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 91822f1ca3 Further capital ship code updates. Added long range fire flag for cannons. 2015-12-08 22:42:31 +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 e5906d5f5f Added new AI flags. 2015-11-30 11:29:56 +00:00
Steve 026e1991e5 Added EF_STATIC, to prevent entities from moving. 2015-11-29 13:23:01 +00:00
Steve 76eb50d92c Added radio sound. 2015-11-29 12:55:36 +00:00
Steve 542209c24c Added ECM effect. 2015-11-29 08:34:25 +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 cd0463c92f Updates to widget-mouse interactions. 2015-11-26 08:16:29 +00:00
Steve 95e26f3e7b Start of mouse control integration. 2015-11-23 14:52:11 +00:00
Steve 587ea29abb Determine logic rate from FPS, not the other way around..! 2015-11-22 13:19:35 +00:00
Steve 597f6f5cb7 Removed missiles types. Now only homing missiles, and rockets for bombers. 2015-11-21 23:45:22 +00:00
Steve 94e0259953 Added defensive AI flags - only attack sometimes. 2015-11-21 23:27:43 +00:00
Steve a82f8b6f2c Renamed FLEE flags to RETREAT. 2015-11-21 17:32:39 +00:00
Steve 4db432f845 Allow player to retreat from missions. 2015-11-20 22:51:44 +00:00
Steve 0bd067e552 Added laser. 2015-11-18 16:02:10 +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 c224aff926 Show warning message and play sound when a missile is launched, targetting the player. 2015-11-16 18:39:49 +00:00
Steve 5aa8e0280e Added EF_MUST_DISABLE, to replace EF_DISABLE. 2015-11-16 16:24:57 +00:00
Steve 8c0b7fdb2f Further item code updates: allow items to be created and collected. 2015-11-16 12:31:50 +00:00
Steve 627b18d0b7 Added shuttle. 2015-11-16 11:26:23 +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 d8ef183b5e Added ECM and boost abilities to player. 2015-11-15 16:18:17 +00:00
Steve 0b459a9927 Force enemies to flee when the mission is complete. 2015-11-15 13:26:46 +00:00
Steve 235d471a3b Added Tug. 2015-11-14 23:18:09 +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 2ad6579a35 Added revision number to build. 2015-11-14 14:45:19 +00:00
Steve 1f62eb2564 Added entity groups, to help with triggers and events. 2015-11-14 08:41:07 +00:00
Steve dc2f2c4635 Added ALIVE_ESCAPED and TT_ESCAPED. 2015-11-11 22:33:33 +00:00
Steve 4daeee51e0 Reduced maximum grid candidates to 256 2015-11-11 19:16:04 +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 faf6c9890c Start of extraction points. 2015-11-09 22:46:57 +00:00
Steve 32eda1ae31 Restrict entities to bounds of grid (push back). 2015-11-02 18:07:26 +00:00
Steve e368b9eee2 Increased grid size to 50. 2015-11-02 07:57:45 +00:00
Steve 7a6a6b26c0 Start of Grid. 2015-11-01 22:19:39 +00:00
Steve 0246600d9c Define MAX_TARGET_RANGE. 2015-11-01 10:46:24 +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 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 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 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 a21153cb12 Further missile tweaks. Added launch sound effect. 2015-10-24 14:52:55 +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