Commit Graph

869 Commits

Author SHA1 Message Date
Steve ba1efa90fe Translate widget options. 2018-07-07 14:47:04 +01:00
Steve 23a588f2ef Limit frame rate to 60fps. 2018-07-07 14:46:51 +01:00
Steve 35885f78f4 Various i18n updates. 2018-05-06 18:50:11 +01:00
Steve a5bb27948a Translate text in Select widgets. 2018-05-06 12:38:48 +01:00
Steve 11a37ae768 Use UTF-8 text rendering. 2018-05-06 12:38:33 +01:00
Steve 4f498fba98 Bug fix for allowing language to be specified. 2018-05-06 12:27:37 +01:00
Steve 856311dd53 Add missing translation strings. 2018-05-06 11:57:52 +01:00
Steve 9dea8e8822 Mac makefile and compile fixes. 2018-04-30 18:16:52 +01:00
Steve 9ae3e4bfc0 Removed time delta, as it's leading to poor frame pacing. 2018-04-30 08:12:48 +01:00
Steve 2db4b4171d Clip vertical line to inside of info box. 2018-04-29 16:44:36 +01:00
Steve aad8551c84 Updated copyright dates. 2018-04-29 10:01:09 +01:00
Steve abc4e576fb Use a path length of 4096 for loading save data. 2018-04-29 09:58:37 +01:00
Steve 052f39fbad Reduce mission list font size a little, to fit all missions in. Highlight mission on hover. 2018-04-29 09:58:16 +01:00
Steve 2ad4de22bf i18n array smashing fix. 2018-04-29 09:57:33 +01:00
Steve a138e71455 Missile warning takes priority over suspicion level. 2018-04-29 09:57:15 +01:00
Steve ab55f19e75 Removed unused functions. 2018-02-01 08:14:43 +00:00
Steve 7d601f6e8e Delete fighter stats. Close SDL window last. 2017-11-24 08:25:48 +00:00
Steve ae5c56d791 Show common fighter information in database. 2017-08-12 11:56:36 +01:00
Steve bb095034fc i18n updates. 2017-08-12 08:33:41 +01:00
Steve a4f9fa8be4 Integrate fighter DB into challenges and galactic map. 2017-08-12 08:33:06 +01:00
Steve f49c77f193 Show number of fighters destroyed. 2017-08-12 07:42:58 +01:00
Steve ba11fe1e81 Added speed, affiliation, and descriptions to all fighters in db. 2017-08-11 08:28:06 +01:00
Steve 3a1179032f Start of fighter descriptions. 2017-08-10 08:44:19 +01:00
Steve e28fa118fb Show fighter data, including guns. 2017-08-09 18:21:26 +01:00
Steve 9e45c3fcd6 Updated copyright. 2017-08-07 19:15:30 +01:00
Steve 41ce0e2281 Start of fighter database. 2017-08-07 19:14:43 +01:00
Steve 967aff3092 Suspicion check updates. Allow player to bank 25% suspicion for working fast. 2017-06-22 07:56:40 +01:00
Steve 61bf77b288 Prevent race condition when enabling objectives. 2017-06-21 08:41:27 +01:00
Steve 0449dba7a1 Tweaks to suspicion logic - reduce significantly if the player shoot or kills a civilian craft. Limit reduction to -10%. 2017-06-16 18:34:44 +01:00
Steve b47648dde3 Don't allow fighters to fire missiles at enemies masking their ids. 2017-06-04 09:32:48 +01:00
Steve 633cd7a9ff Null player target when switching fighters. 2017-06-04 09:31:36 +01:00
Steve ab2e3a09db Prevent ALL_OBJECTIVES_COMPLETE from firing twice. 2017-05-29 08:39:37 +01:00
Steve 866ad5ef37 In an epic battle, all enemies must be eliminated. 2017-05-29 08:39:11 +01:00
Steve e5565c0370 Positional battle sounds. Record player's last position when escaped, to allow for sounds to play correctly (edge case). 2017-05-26 07:48:54 +01:00
Steve d703da7d23 Support optional vSync toggle. 2017-05-26 07:48:10 +01:00
Steve fb3b866808 Close button on mission dialog. 2017-05-26 07:47:51 +01:00
Steve e84e5f171a Boost and ECM recharge times are 7 seconds. 2017-05-26 07:47:28 +01:00
Steve fe42e496a7 Cap the speed of a surrendering vessel, so that they don't become a chore to chase down. 2017-05-26 07:47:13 +01:00
Cong 80ec8ff039 Pause music when lost window focus 2017-05-14 14:47:54 +10:00
Steve be8447519f Reduced damage by missiles by 25pts, and decreased recharge times of ECM and Boost by 2.5 seconds. 2017-05-12 18:07:52 +01:00
Steve 8a0808ce5a Uncoupled event handling from frame rate(!). 2017-05-10 08:33:44 +01:00
Steve 5337eb5281 Merge branch 'develop' of ssh://github.com/stephenjsweeney/tbftss into develop 2017-05-10 08:22:56 +01:00
Cong 4431b67d6f Show dragging cursor in galaxy map 2017-05-09 21:10:08 +10:00
Steve d39ad48130 Grab mouse pointer by default when starting a mission. 2017-02-25 16:30:17 +00:00
Steve 4c97136aa9 Don't allow Escape to be pressed on mission complete / failed screens. 2016-08-29 12:50:57 +01:00
Steve eac108b7ac Pilots remaining should be inclusive on the one currently active. 2016-08-29 10:35:28 +01:00
Steve e59af4bfbc Allow for a kill threshold to be specified in epic missions (for use with unwinnable missions). 2016-08-28 18:48:55 +01:00
Steve 27427a8637 Start of lives restriction for epic battles. 2016-08-20 11:42:10 +01:00
Steve a1f65ded29 Count completed missions before checking if mission completion threshold reached. 2016-08-12 12:23:11 +01:00
Steve 620edc4127 Only allow missions to be replayed that were made available in the main game (i.e., don't unlock optional ones if they were skipped). 2016-08-12 12:22:39 +01:00
Steve 26584f4995 Show trophies in order they are earned, not default order. 2016-08-12 08:57:19 +01:00
Steve 8e6727e2b5 Only show Campaign Complete message once. 2016-08-12 08:56:59 +01:00
Steve 234a5d08d2 Release mouse. 2016-08-12 08:56:40 +01:00
Steve 20f2295618 Don't mark a previously completed mission as incomplete, upon replay failure. 2016-08-12 08:56:18 +01:00
Steve 5a3790a427 Removed debug output. 2016-08-12 08:17:46 +01:00
Steve 7dc18e4a59 Allow all missions to be replayed once campaign is finished. 2016-08-11 22:48:08 +01:00
Steve 2471cd0814 Grab mouse when in battle. 2016-08-11 22:47:51 +01:00
Steve 3aad3142ac Reworked mission progress counting. 2016-08-11 18:06:42 +01:00
Steve f93b8beef4 Corrected a bug where optional missions are not counted correctly, once completed. 2016-08-11 09:44:12 +01:00
Steve 57bc5c4437 Version info update. 2016-08-10 13:04:45 +01:00
Steve f9588c4b08 Don't set a completed mission as the active one. 2016-08-10 13:04:35 +01:00
Steve e28bb6ff31 Don't leave a gap when there's no mission. 2016-08-10 13:04:22 +01:00
Steve 8c128d7f1d Don't switch guns if the player doesn't have any. 2016-08-09 23:13:25 +01:00
Steve 6ff3fd47a4 Updated Team Player, and Bodyguard trophies. 2016-08-09 23:13:13 +01:00
Steve db3dcf977b Added EF_NO_PLAYER_TARGET. 2016-08-06 08:54:11 +01:00
Steve 7a19b60697 Restored errornous removal. 2016-08-02 08:14:59 +01:00
Steve 5a09e2a63e Tidied headers. 2016-08-01 11:01:33 +01:00
Steve 8d8ad35e17 Don't constantly fire lasers or mags at a disabled craft. 2016-07-31 09:58:06 +01:00
Steve 6dbbb7f403 Remove owner when detaching rope. 2016-07-31 09:57:41 +01:00
Steve 2db99a7315 Override gun AI when capital ship is disabled. 2016-07-30 10:29:57 +01:00
Steve e14cba3761 Challenge 10 fixes. 2016-07-29 09:56:27 +01:00
Steve 0cc1c65628 Mark mission as complete when failing an unwinnable one. 2016-07-29 09:17:29 +01:00
Steve 7799c60652 Allow suspicion level to drop if player is close to wing leader. 2016-07-28 14:57:23 +01:00
Steve f0fd63214d Suspicion reduction tweaks. 2016-07-28 14:57:06 +01:00
Steve 436a3959a6 Greated reduction in suspicion level. 2016-07-28 11:54:08 +01:00
Steve a2665e527c When appearing offscreen, spawn outside of max radar range. 2016-07-28 11:53:14 +01:00
Steve dcf7277ee9 Only increment player death stat once. 2016-07-27 16:17:56 +01:00
Steve c62810bf4b Made ATAFs immortal by default. 2016-07-27 08:44:02 +01:00
Steve a0c2b1e9f6 Auto select next available mission when clicking on a star system. 2016-07-24 08:24:04 +01:00
Steve b6ec680127 Don't select star systems when scrolling (release and click button). 2016-07-23 15:53:31 +01:00
Steve 726a9f99db Pacifist trophy should be awarded only if enemies were present. 2016-07-23 12:51:35 +01:00
Steve 7547e14c9f Scale shield effect size, to better match ship (mostly for supply ships). 2016-07-22 11:07:35 +01:00
Steve e15ebcba9b Tell player to initially face mission target / enemies, so we're not always facing up the screen. 2016-07-20 07:13:40 +01:00
Steve d54273821d Start of i18n look up optimisations. 2016-07-19 09:26:19 +01:00
Steve 157f1bc28a Show small bullet hit effects when a target is struck. 2016-07-19 08:16:11 +01:00
Steve 5c211a3017 Allow closing of mission detail screen by right clicking. 2016-07-19 08:15:18 +01:00
Steve 9daf523d73 Misc. tidy up. 2016-06-26 15:40:49 +01:00
Steve 8569151b16 Moved if statements to separate lines, to help with GCC 6 compiling. 2016-06-26 15:39:58 +01:00
Steve 9b15e83df6 Allow viewing of credits from title screen. 2016-06-07 09:34:22 +01:00
Steve a500f137b6 Galactic map display updates. 2016-06-07 09:24:09 +01:00
Steve 142c02c1ed Don't require optional missions to need the previous mission to be completed. 2016-06-07 08:31:02 +01:00
Steve 345a45f9c4 Show the most recent 9 missions at most (really only applies to Alba). 2016-06-07 08:30:33 +01:00
Steve 5fa9ea1922 Added new sound effects. 2016-06-07 08:29:52 +01:00
Steve e5ece42bc3 Spelling and grammar updates. 2016-06-05 23:04:57 +01:00
Steve 0306e2bbea Added new sound effects. 2016-06-05 11:22:19 +01:00
Steve 95e9d4d9a0 Allow item images to be random. 2016-06-05 08:35:59 +01:00
Steve ccff127394 Allow optional missions to expire. 2016-06-03 14:10:22 +01:00
Steve 6af1df919d Show OK / Cancel dialog for restarting and quitting missions. 2016-06-03 13:57:24 +01:00
Steve 6d64cefce8 Shorten enable timer for OK / Cancel dialog. 2016-06-03 13:57:07 +01:00
Steve 93e65d1431 Trophy updates. 2016-06-03 07:41:44 +01:00