Commit Graph

706 Commits

Author SHA1 Message Date
Steve 35d03c1c39 Blink message box faster. 2016-04-29 12:16:07 +01:00
Steve 8c3a31b888 Can't use isSol here. 2016-04-29 12:13:00 +01:00
Steve 441a91d540 Logging update. 2016-04-29 12:12:12 +01:00
Steve 40fcc6565f Misc. updates. 2016-04-29 08:42:17 +01:00
Steve e62676711d Award post mission trophies upon mission completion. 2016-04-29 08:42:10 +01:00
Steve 5de2356bec Added PACIFIST trophy. 2016-04-29 08:40:52 +01:00
Steve 7593577c81 Use isSol, rather than strcmp. 2016-04-29 08:38:36 +01:00
Steve dca34036a7 Update epic kill streak in post battle. 2016-04-28 17:20:34 +01:00
Steve 099152b820 Trophy updates. 2016-04-28 17:20:16 +01:00
Steve 453cdcd333 Press Escape on Trophies screen to return to previous menu. 2016-04-28 12:35:51 +01:00
Steve 238c2688d3 Misc updates. 2016-04-28 11:51:43 +01:00
Steve 73d7f059ba Indicate that target is the Leader. 2016-04-28 11:50:57 +01:00
Steve 6ad1a56f23 Trophy tweaks. 2016-04-28 11:50:37 +01:00
Steve 27c5ee2489 NULL initial selected star system, to eliminate info flicker. 2016-04-27 17:39:52 +01:00
Steve 449e60d71f AI follow update. 2016-04-27 17:39:30 +01:00
Steve dd88df4bc7 Memory leak fixes. 2016-04-27 14:52:23 +01:00
Steve b72810310c Ensure Next arrow is reset to visible. 2016-04-27 12:54:24 +01:00
Steve b97cfb0356 Epic battle kill count bug fix. 2016-04-27 12:53:34 +01:00
Steve 9ea17341e3 Animate trophies on Challenge and Galactic Map sections. 2016-04-27 12:53:18 +01:00
Steve 603d2ed7a0 Added Bodyguard trophy. 2016-04-27 12:52:45 +01:00
Steve ef63ea73c4 Check that mission exists, before marking complete status. 2016-04-27 09:56:03 +01:00
Steve db8d92d4b1 Re-ordered component drawing order. 2016-04-27 09:50:08 +01:00
Steve cafe45bbd5 Don't show health over capital ship. 2016-04-27 09:49:56 +01:00
Steve 1ee41e0993 Missile launching tweaks. Slight delay before start chasing. 2016-04-26 22:43:25 +01:00
Steve 06610583fe Change #? in names to #1, etc. when loading. For use with message boxes. 2016-04-26 16:35:01 +01:00
Steve 0229a2dae7 Don't draw message speaker indicators for player. 2016-04-26 13:47:06 +01:00
Steve e196752efa Draw and blink a white rectangle around the message box speaker. 2016-04-26 13:22:31 +01:00
Steve 262eefec6e Don't make fighters appear onscreen when being spawned during epic battles. 2016-04-26 10:52:47 +01:00
Steve e83d794e1e Debugging info. 2016-04-26 10:43:51 +01:00
Steve 0bb7ce2591 Added EF_FRIENDLY_HEALTH_BAR. 2016-04-26 10:43:43 +01:00
Steve c5cc733957 Clear resetTimeDelta after resetting. 2016-04-26 10:43:16 +01:00
Steve d3e2da1821 Use 12-hour clock 2016-04-26 08:17:05 +01:00
Steve f4fc43b017 Don't load trophies with an id that leads with an underscore for now. 2016-04-26 08:16:52 +01:00
Steve f0868c7a29 Reset delta time when ending a transition. 2016-04-26 08:16:15 +01:00
Steve bdfbe345c7 Short description length reduced to 32 characters. 2016-04-25 17:22:12 +01:00
Steve d7a96dbfbd Show trophy alert at end of mission (not during, as the banner can obstruct the play area). 2016-04-25 17:21:42 +01:00
Steve b7746b9622 Count battle stats as well as game stats when awarding stats trophies. 2016-04-25 17:20:35 +01:00
Steve c02c374910 Award stats trophies at the end of a mission / challenge. 2016-04-25 17:20:08 +01:00
Steve b44794f19b Show trophies menu option on Challenges and Galactic Map screen. 2016-04-25 17:18:46 +01:00
Steve 29620620c8 Don't show health bars. 2016-04-25 16:25:10 +01:00
Steve 2cb6206ea9 Capital ship component name bug fix. 2016-04-25 16:24:58 +01:00
Steve 9dd027b825 Tell missiles to turn more sharply when close to their target. 2016-04-25 11:20:54 +01:00
Steve f55d01d6dc Epic battle fixes. Don't show health bar if EF_NO_HEALTH_BAR flag is set. 2016-04-25 09:50:57 +01:00
Steve bea1b531e1 Added EF_NO_HEALTH_BAR to avoid showing health for certain entities. 2016-04-25 09:50:25 +01:00
Steve b732d6c08b Trophy updates. 2016-04-25 07:35:15 +01:00
Steve 5d6ddb25b9 Fixed -O2 compile options (ignoring unused result) 2016-04-24 19:02:36 +01:00
Steve 90e4cebc1a Moved to game directory. 2016-04-24 18:11:18 +01:00
Steve 134acf7a3d Trophy integration updates. 2016-04-24 18:11:02 +01:00
Steve 3ce51feb9c Various trophy tweaks. 2016-04-24 13:00:27 +01:00
Steve 5d59f1f353 Allow screenshot key to be configured. 2016-04-23 17:46:47 +01:00
Steve d0aa4879eb Allow saving of screenshots by pressing F12. 2016-04-23 08:09:15 +01:00
Steve a5ed044fff Remove addedTo if no ents added and children have none. 2016-04-20 15:44:57 +01:00
Steve 7e752ccae4 Don't recurse into quads that haven't had anything added to them. 2016-04-20 13:53:25 +01:00
Steve 6d8856deae Don't exceed your own speed when following a leader. 2016-04-20 13:53:06 +01:00
Steve d4b791ed17 Tell fighters not to separate from EF_NON_SOLID objects. 2016-04-20 09:38:54 +01:00
Steve a3be44a000 Mine deployment fix. 2016-04-20 09:38:29 +01:00
Steve d871e48144 AIF_ASSASSIN check fix. 2016-04-19 12:50:27 +01:00
Steve c395ee25e5 Allow AIF_ASSASSIN flag to be set, to always attack a target. 2016-04-19 11:13:43 +01:00
Steve add135d62e Jumpgate state fix. 2016-04-19 11:13:20 +01:00
Steve 9f4be9a780 If a mission has hidden objectives, don't complete when all current ones are finished. 2016-04-18 10:54:59 +01:00
Steve 2723e084da Run script function when an enemy is disabled. 2016-04-18 10:54:28 +01:00
Steve c215dc75d3 Jumpgate state fix. 2016-04-17 11:52:48 +01:00
Steve 7c100f0c37 Added button to restore default controls. 2016-04-17 11:26:04 +01:00
Steve 474ede91af Drawing health bars over fighters. 2016-04-17 11:00:08 +01:00
Steve dde34beedb Tell retreating enemies to head for the jumpgate. 2016-04-17 09:11:49 +01:00
Steve c729d59c3a Script call to complete the mission now also completes all objectives. 2016-04-17 09:11:36 +01:00
Steve 9e6d34b914 Made size of mine explosion a little larger. 2016-04-16 16:48:48 +01:00
Steve ccd4160f0e Don't allow boost if you have 0 speed (when playing as a cannon, for example). 2016-04-16 16:48:30 +01:00
Steve 97a067cb34 Load default config first, and then overwrite with user config. 2016-04-16 15:50:23 +01:00
Steve 22ff6aeeb7 Only attach tow ropes to ET_FIGHTER types. 2016-04-16 14:04:32 +01:00
Steve 82acb9f96a Highlight OK button by default when pausing. 2016-04-16 11:07:26 +01:00
Steve 38eca9480d Allow for important messages to be created (such as maydays from capital ships). 2016-04-16 11:00:19 +01:00
Steve 344b2d27b8 Give AIF_TARGET_FOCUS fighters a low chance of targetting something else. 2016-04-16 10:59:42 +01:00
Steve f7c1aa6f1b Update conditions when capital ships are destroyed. 2016-04-16 08:59:14 +01:00
Steve b40936fd79 Always add ents to quadtree, to allow AI to see components. Shuffle around later. 2016-04-15 13:08:30 +01:00
Steve 5e58f09fcf Don't trash original string when working with flags. #funwithflags 2016-04-15 13:07:58 +01:00
Steve 87048e4c85 Apply all flags to capitals ship, except for EF_AI_LEADER. 2016-04-15 13:07:28 +01:00
Steve c3136ea3af Allow flags of spawned entities to be set. 2016-04-15 11:31:39 +01:00
Steve a49817ba2e Leader following AI bug fix. 2016-04-15 11:31:11 +01:00
Steve 915eec5cf0 Allow shadow mines to hunt player, or wander around if not near them. 2016-04-14 16:10:21 +01:00
Steve 7dea0c440e Aster doesn't have a planet, as it's a star system. 2016-04-14 16:09:41 +01:00
Steve 7eee4d3d8e Spawner updates. 2016-04-14 11:56:58 +01:00
Steve 9c8b7af0d6 Added Shadow Mine. 2016-04-14 11:56:42 +01:00
Steve d976c7d3c8 Don't fire missiles at things flagged with EF_NO_KILL. 2016-04-13 11:46:42 +01:00
Steve d2412c2dcb Restore speed of disabled entity when being towed. 2016-04-13 11:46:23 +01:00
Steve 561f427c13 Engine effect bug fix. 2016-04-13 11:04:47 +01:00
Steve 2af802231a Load challenges in Challenge.c 2016-04-13 11:04:28 +01:00
Steve 5fa24f55f2 Added Survive challenge type. 2016-04-13 11:02:08 +01:00
Steve 9ad7f87ca9 Misc. tidy up. 2016-04-12 08:41:13 +01:00
Steve 8e6fcf81fa Using constants for save and config filenames. 2016-04-11 08:44:36 +01:00
Steve 78f125a4ec Added challenge icons. 2016-04-10 12:00:29 +01:00
Steve bcb634befb Player kill count bug fix. 2016-04-10 09:35:30 +01:00
Steve 61b3ede526 Wander takes priority over moving to leaders. Don't suddenly stop when close to leader during flocking. 2016-04-10 08:36:27 +01:00
Steve 4652d6c7e4 Lowered component health. 2016-04-10 08:23:59 +01:00
Steve 6c8349781c Use quadtree for drawing, now that quadtree bug is squashed (hopefully). 2016-04-09 18:13:59 +01:00
Steve bea850f755 Wander fixes. 2016-04-09 17:40:34 +01:00
Steve 90d157411a Quadtree fetch fix. 2016-04-09 17:39:24 +01:00
Steve cb6ad171a7 Jumpgates are neutral by default. 2016-04-09 15:48:00 +01:00
Steve c716f84884 Allow bullets to still hit immortal entities, but not inflict any real damage. 2016-04-09 13:23:54 +01:00
Steve a5676b9b49 Added EF_AI_IGNORE, to tell AI to ignore entities. 2016-04-09 13:23:10 +01:00