Commit Graph

902 Commits

Author SHA1 Message Date
Joonas Rikkonen 81dd2f3202 (0c86b4b28) Revert "Don't reset the los if there is no client (single player). Fixes los resetting between game sessions (less tedious debugging)." 2019-06-04 16:02:25 +03:00
Joonas Rikkonen edccfe223d (9a7d83a40) Fullscreen bug workarounds 2019-06-04 16:00:38 +03:00
Joonas Rikkonen f797235bfd (38d8117f7) Added: More routing of TextManager.Get().Replace -> TextManager.GetWithVariable(s), missing workshop-related localization tags to englishvanilla 2019-06-04 15:38:12 +03:00
Joonas Rikkonen 04f69dbe63 (b3c71807f) Updated to the latest version of GameAnalytics 2019-06-04 15:33:38 +03:00
Joonas Rikkonen a3e67dd40a (7163b300e) Added: Way for capitalizing / lowercasing replaced variables depending on the position in the sentence & some implementations 2019-06-04 15:32:59 +03:00
Joonas Rikkonen bc566ac0e7 (bc44f3622) Fixed credits not resizing when resolution is changed 2019-06-04 15:32:04 +03:00
Joonas Rikkonen 93e4767fb8 (657674526) Reallow changing resolution in fullscreen/borderless. TODO: test, disable in borderless because it seems to do nothing? 2019-06-04 15:30:32 +03:00
Joonas Rikkonen bce99f2e6f (7e0adb991) Fixed legacy items failing to load if a sub is saved with a language other than English and the language then changed to something else. 2019-06-04 15:29:55 +03:00
Joonas Rikkonen ebd916e95c (9a7d83a40) Fullscreen bug workarounds 2019-06-04 15:29:36 +03:00
Joonas Rikkonen e9d31ed0be (1241a5bd4) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-23 16:28:04 +03:00
Joonas Rikkonen 44a5c9e588 (81babbeac) Added Linux System.Windows.Forms 2019-05-23 16:27:46 +03:00
Joonas Rikkonen 2c22d6b6d7 (26f71bab4) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-23 16:27:27 +03:00
Joonas Rikkonen 90149b9435 (912383b95) Unequip the diving gear when the follow target unequips it. 2019-05-23 16:27:10 +03:00
Joonas Rikkonen b8ebf34c38 (4c111302a) Fixed Shuttle Shell A01/A02 colliders not being resized according to the size of the wall 2019-05-23 16:26:51 +03:00
Joonas Rikkonen 48e8c62cae (97bf93407) Fix a typo in a function name. 2019-05-23 16:26:13 +03:00
Joonas Rikkonen 79bb912a53 (1da783d84) RepairTool fixes. Closes #1486 - Fixed Submarine.PickBodies only returning the closest body it hits (and the body the ray is inside, if any). - Welding tool raycasts can go through walls, but not fix other types of entities behind the walls. Now it's possible to weld multiple overlapping walls at the same time, but not doors/characters behind the wall. - Made the welding & plasma particles bigger to match the increased range of the tools better. 2019-05-23 16:07:47 +03:00
Joonas Rikkonen 5f4e6dc1a3 (8adbf4e54) Fixed hitscan projectiles going through walls if the weapon is fired while it's barrel is inside a collider 2019-05-23 15:16:59 +03:00
Joonas Rikkonen 65eb8f35c9 (7e8f246d2) Fixed clients not seeing turrets rotating at their end when another client is operating the turret. Happened because the cursor position was only synced when the aim key was pressed, and aiming is not required anymore when using turrets. 2019-05-23 15:16:42 +03:00
Joonas Rikkonen 7c67b1f164 (57c46943d) Quick fix watchman graphics (not quite right yet, but better). Re-enable the variant 2. 2019-05-20 21:00:11 +03:00
Joonas Rikkonen b71adc7589 (2e0e45e1f) Updated: Localization 2019-05-20 20:46:21 +03:00
Joonas Rikkonen 3a0d8bbb8a (7125fc611) DIY translations for the last few missing connection texts. Pretty confident these are correct, hacked the lines together from existing texts and "verified" with Google Translate. 2019-05-18 17:52:10 +03:00
Joonas Rikkonen 31f74aca8d (e3fee50d9) Use roughly matching "fallback translations" for ConnectionPanel texts that haven't been translated yet (e.g. "signal_1" -> "signal_in_1", "trigger_out" -> "shoot"). Still missing the charge-related connection names in batteries, couldn't find any suitable replacements for them 2019-05-18 17:51:52 +03:00
Joonas Rikkonen f36e590854 (d071c9d60) Fixed Connections not reporting missing localizable display names during initialization, added missing displayname attributes to all connections 2019-05-18 17:45:59 +03:00
Joonas Rikkonen 78b67de866 (e9f10995d) Merge branch 'bugreporterUI' into dev 2019-05-18 17:43:00 +03:00
Joonas Rikkonen 3a2310e547 (3ac5065f5) Fixed: Rendering order for Bugreporter window, OK button position 2019-05-18 17:42:41 +03:00
Joonas Rikkonen f1d794cb39 (86c9256b3) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-18 17:35:10 +03:00
Joonas Rikkonen 65a914e5ed (0b29f1236) Added: Scaling to mouse cursor size 2019-05-18 17:34:53 +03:00
Joonas Rikkonen c07d124315 (337c61e36) Fixed ruin walls being almost impossible to cut from inside the ruins due to the raycasts hitting colliders that prevent the subs from entering the ruins 2019-05-18 17:26:52 +03:00
Joonas Rikkonen f605651966 (683b11c00) High-res shuttle preview images + merge fix 2019-05-16 08:49:01 +03:00
Joonas Rikkonen 5438a65852 (f2c7469a6) Workarounds to missing label translations: use "High pressure" for the "WARNING: High pressure" label in the tutorial outpost, use "Warning" and "Reactor temp." for "Reactor temp caution". Also made the labels a little larger to accommodate longer words in some of the translations. 2019-05-16 07:04:47 +03:00
Joonas Rikkonen ce05d50a2b (9c4e324eb) Fixed chat messages going slightly off-frame on top of the in-game chat box. 2019-05-16 07:04:27 +03:00
Joonas Rikkonen 851e6f76cd (38baa1f78) Changed tag layout in Workshop screen to prevent overflows 2019-05-16 07:04:08 +03:00
Joonas Rikkonen 48a232533b (217571764) Fixed "No living players on the server and Jouer vous-même" again (TODO: note about this to the translator so it gets fixed at their end as well) 2019-05-16 07:03:50 +03:00
Joonas Rikkonen 5ff09db449 (eff616485) Don't show mission info in the round summary if there's no localized "mission failed" text available and there's nothing else to show. TODO: add the text to localization so this isn't needed 2019-05-16 07:03:32 +03:00
Joonas Rikkonen d03e1995bc (375481a35) Write save times as unix time values and display them using the system's current date format 2019-05-16 07:03:15 +03:00
Joonas Rikkonen e42a0a33a4 (2d9e06198) Attempt to fix incorrectly displayed Chinese capture device names (haven't been able to reproduce) 2019-05-16 07:02:57 +03:00
Joonas Rikkonen e7d1ae2cda (b45ff81a1) Log an error if a client can't find the prefab for an item spawned by the server 2019-05-16 07:02:40 +03:00
Joonas Rikkonen 1be3897197 (68f3eb5ff) Fixed clients reading character events incorrectly if a character has selected another character, but a client doesn't know about the selected character being spawned yet. 2019-05-16 07:02:22 +03:00
Joonas Rikkonen 761726c9b1 (24d02be32) Revert 8e2e2526 ("Spawn multiple monsters using the same spatial and temporal spreading logic as in events". Caused entity IDs to often differ between the server and clients in monster missions, leading to all sorts of syncing issues (the most frequent being IndexOutOfRange exceptions when attempting to read data for an incorrect entity). 2019-05-16 07:02:02 +03:00
Joonas Rikkonen d72187bbd0 (2a25dbfad) Wrap minimap room info texts 2019-05-16 07:01:44 +03:00
Joonas Rikkonen 19b4caa576 (a7fed8657) More punctuation fixes 2019-05-16 07:01:26 +03:00
Joonas Rikkonen c18f72e12e (13b4e32e2) Added a method that can be used to add punctuation between strings, while taking into account special rules in some languages (e.g. a breaking space before a colon in French). Removed colons from a bunch of menu labels where they're not necessary. 2019-05-16 07:01:08 +03:00
Joonas Rikkonen 63af8ddac8 (b207c589d) Translate the "privacy policy" text in the main menu (got the texts from Daedalic's privacy policy page, should be correct even though the didn't come from the translators) 2019-05-16 07:00:50 +03:00
Joonas Rikkonen 674b845e9b (8c44620c0) Optimized dynamic font loading (don't get existing texture date with GetData every time a new symbol needs to be rendered, but save the pixel buffer and add to it as needed) 2019-05-16 07:00:33 +03:00
Joonas Rikkonen 531c572216 (f6f86c3b6) Use relative scales in store UI, gave more space to the amount input box 2019-05-16 07:00:14 +03:00
Joonas Rikkonen 9ba7dee1d7 (e858408c2) Use localizable "signal_out_x" text in CustomInterface elements with an empty label (TODO: disable empty elements) 2019-05-16 06:59:56 +03:00
Joonas Rikkonen 8619135761 (1a67da748) Made more space for the cause of death descriptions in the RoundSummary panel 2019-05-16 06:59:39 +03:00
Joonas Rikkonen 7c61c5e179 (ad50d7e7a) Removed a dot from the end of afflictioncauseofdeath.oxygenlow in PT-BR 2019-05-16 06:59:21 +03:00
Joonas Rikkonen 61c5f52441 (bf7a77e38) Fixed monster names not being translated when hovered over 2019-05-16 06:59:03 +03:00
Joonas Rikkonen 86ddfb73d5 (874293f6d) Fixed incorrect reward amount in the "Chemical shipment" description 2019-05-16 06:58:45 +03:00