Commit Graph

743 Commits

Author SHA1 Message Date
Steve 6e0cbba3d8 Determine width of trophy alert based on title and description length. 2016-05-14 17:35:57 +01:00
Steve 95876d3437 Don't face left when player isn't moving. 2016-05-14 17:02:51 +01:00
Steve 4cf6530686 Evading a missile is not the same as destroying it with the ECM. 2016-05-14 14:16:05 +01:00
Steve 78a0be8b1b Pass capital ship group name to condition and objective check. 2016-05-14 12:42:47 +01:00
Steve 1306268847 Retreat allies and enemies at end of challenge, so they don't keep fighting. 2016-05-13 09:05:42 +01:00
Steve 2920b00e96 Don't head for the jumpgate if retreating during a challenge. 2016-05-13 09:05:27 +01:00
Steve b9b8f524b3 Also save game when unlocking a stats trophy. 2016-05-13 08:37:06 +01:00
Steve ecd5c8df4a Removed teamDeathMatch, won't work. 2016-05-13 08:36:43 +01:00
Steve 3496ff251a Don't create a bullet that is BT_NONE when using combined guns. 2016-05-13 08:36:26 +01:00
Steve f3956d370d Tidy headers update. 2016-05-12 12:20:16 +01:00
Steve c0ef632ed8 Tidied headers. 2016-05-12 11:41:12 +01:00
Steve 64d88faec8 Use app.saveGame rather than forcing a save (trophy unlocks can cause saving to happen twice in a row). 2016-05-12 11:41:03 +01:00
Steve a04c3321e7 Always set next to null after memcpy. 2016-05-12 09:34:48 +01:00
Steve bd1dac445a Fighter damage indication fix. 2016-05-12 09:34:33 +01:00
Steve 2e17d68b47 Added death match challenges. 2016-05-12 09:34:09 +01:00
Steve a3590f3580 Use player->side instead of SIDE_ALLIES. 2016-05-10 14:56:33 +01:00
Steve 025e72822b Use battle.hasThreats to determine if all enemies have been defeated. 2016-05-10 14:56:10 +01:00
Steve 6dcbd265d9 Restrict controls when player is dead or disabled. 2016-05-10 10:03:17 +01:00
Steve 09ecd97f29 Set logging type after memset of app and dev, to allow -debug to work correctly. 2016-05-10 10:00:42 +01:00
Steve f9922e3bf1 Allow mines to be destroyed by any shot. 2016-05-10 09:59:53 +01:00
Steve 2198db980b Health bars should be green for player-align craft. 2016-05-10 09:59:39 +01:00
Steve e631133983 Show disable and kill limit on hud. 2016-05-10 09:59:21 +01:00
Steve 3537265e6a Added disable limit to challenges. 2016-05-10 09:59:06 +01:00
Steve 7d9e852659 Tidied headers. 2016-05-09 09:45:02 +01:00
Steve 136bfbda8b Don't save game here, it can result in wiped saves due to start up errors. 2016-05-09 09:43:19 +01:00
Steve a38f21bd95 Set logging level before anything else. 2016-05-09 09:34:22 +01:00
Steve 410400633b Hashcode should use unsigned long. 2016-05-09 09:34:04 +01:00
Steve 6287e10746 Allow challenges to specify that all enemies must be defeated before activating waypoint. 2016-05-09 09:33:35 +01:00
Steve 09086c72cb Parentheses 2016-05-08 19:02:05 +01:00
Steve ad7a7788a0 Default to INFO level. 2016-05-08 19:01:09 +01:00
Steve 3f24761afc Don't retreat units. 2016-05-08 19:00:54 +01:00
Steve f51557f801 Prevent player from moving if system power <= 0. 2016-05-08 19:00:14 +01:00
Steve d202610ca0 Don't update challenge times if player is dead and deaths aren't allowed. 2016-05-08 08:56:00 +01:00
Steve a16dfeb997 Only NULL player during player select. 2016-05-08 08:55:40 +01:00
Steve 98f9663edb Complete mission on escape only in campaign mode. 2016-05-08 08:44:14 +01:00
Steve 7853244087 End challenge if player has escaped. 2016-05-08 08:43:37 +01:00
Steve 23e38a6313 Allow player to be disabled in Challenge mode. 2016-05-08 08:43:16 +01:00
Steve 3694c1249d Don't hardcode radar blips to be green for allies, etc. 2016-05-07 16:35:51 +01:00
Steve 5a451bb2e9 Allow for scripted challenge fails. 2016-05-07 10:44:56 +01:00
Steve ce3eeadeee CAP_HELPLESS -> CAP_DISABLED 2016-05-07 10:40:30 +01:00
Steve 9063ec84a7 Removed duplicate externs from headers. 2016-05-06 16:14:41 +01:00
Steve e27c60156e Misc. code clean up. 2016-05-06 12:44:36 +01:00
Steve 0f8b02285e Paginate challenges selection screen. 2016-05-06 12:44:17 +01:00
Steve c3365d2766 Truly random items. 2016-05-06 11:37:47 +01:00
Steve 4293f09b10 Damage effect fix. 2016-05-06 11:34:25 +01:00
Steve b64e9e70fc Added EF_DROPS_ITEM, to allow ships to drop items when destroyed in challenge mode. 2016-05-06 10:56:58 +01:00
Steve f0671b8ad8 Activate Christabel location be default. 2016-05-05 14:07:17 +01:00
Steve ef9ce45aed Don't fire objectives or conditions if no names. 2016-05-05 14:06:51 +01:00
Steve 9c18974a63 When killing an entity, strip the name to prevent objectives firing. 2016-05-05 14:06:19 +01:00
Steve 1acd6f7cf4 Include capital ships in initial enemy count. 2016-05-05 14:05:27 +01:00