Commit Graph

495 Commits

Author SHA1 Message Date
Joonas Rikkonen ada4e17dfe (e5eeacbd0) Cleanup. 2019-05-18 17:43:56 +03:00
Joonas Rikkonen 71d1738498 (76e16f98e) Use outdoorsteering when far enough from the sub. Increase the wait until reachable time a bit. 2019-05-18 17:43:38 +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 da693c20fa (7bfeac605) More space for the labels in the Pump interface 2019-05-18 17:42:20 +03:00
Joonas Rikkonen 11d08f4f70 (2df363efc) Refactor avoiding, because the previous method wasn't working well. It now should work better, but requires a heading vector. Add some notes on how to improve the method. TODO: revisit fishes. 2019-05-18 17:41:58 +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 26c5f7a87e (8a9446ac2) Added larger GUIFrames w/ relative scale to alien containers 2019-05-18 17:33:30 +03:00
Joonas Rikkonen ea6df7ce0d (ca59bc50f) Need to offset the sim position when not using the insidesteering. 2019-05-18 17:33:15 +03:00
Joonas Rikkonen 65019e8d19 (4ddd494a4) Add a todo note. 2019-05-18 17:32:43 +03:00
Joonas Rikkonen 5774f8b1f9 (af0e86583) Reset steering while waiting. 2019-05-18 17:32:09 +03:00
Joonas Rikkonen 1e85abf09d (8cbc4391a) Disable find safety while going somewhere in the sea with an order. 2019-05-18 17:30:46 +03:00
Joonas Rikkonen 7155525d5b (4d2ab0cd2) Reset the find safety priority when a safe hull has been reached or when there is no danger to flee from. Use wandering instead of resetting the steering (unfortunately doesn't work in very small hulls like airlocks). 2019-05-18 17:30:30 +03:00
Joonas Rikkonen 2945d103f9 (f825eae18) Fix follow objective not keeping the distance. 2019-05-18 17:30:12 +03:00
Joonas Rikkonen 3660df1906 (bdf4ed547) Store the last safe hull and use it if cannot find a new. 2019-05-18 17:29:56 +03:00
Joonas Rikkonen 9521f0ae2f (17fdbc9de) New path is also needed if the old becomes unreachable. Ignore the new path if it's unreachable. 2019-05-18 17:29:40 +03:00
Joonas Rikkonen 75640a321f (f4acd46ef) Don't enable the "report leaks" button inside ruins 2019-05-18 17:29:24 +03:00
Joonas Rikkonen d84832296c (cd17ab725) Cleanup. 2019-05-18 17:28:18 +03:00
Joonas Rikkonen c7ceed07c7 (7a7e715ad) Fixed report messages not going through to some clients when there are multiple clients on the server. Happened because the server would reuse the same OrderChatMessage instance for all clients, and it would get assigned the chat message ID according to the last recipient, which may not be the correct ID for other clients. 2019-05-18 17:28:01 +03:00
Joonas Rikkonen 382e05facd (75f4c1e5a) Apparently this case is already handled in the indoorssteering. 2019-05-18 17:27:44 +03:00
Joonas Rikkonen e63ffe652e (5e16139ed) Added "OrderGiver" field to AI orders, always show reports from the currently controlled character (even if the report is not targeted for the character's class) 2019-05-18 17:26:34 +03:00
Joonas Rikkonen cb519b455d (e7e775e7b) Fixed non-translated "Toggle Battery Output" display text in Orca, increased the size of the docking labels in Bunyip to create more space for translated texts 2019-05-18 17:25:11 +03:00
Joonas Rikkonen 75b88e0c18 (33abbb810) Fixed: Interfaces that were too small on 4k by removing the use of maxsize & adding scale related multipliers to absolute values 2019-05-18 17:24:54 +03:00
Joonas Rikkonen 1e0d7daa56 (bfc857b70) Ignore the requirement for being able to interact with a character while following the player. 2019-05-18 17:22:41 +03:00
Joonas Rikkonen f077a92f5e (965abc29d) If the target sub is not the same as the current sub, need to take the difference into account in sim positions. 2019-05-18 17:17:36 +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
Joonas Rikkonen 501c3f9ae5 (e8cd7329b) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-16 06:58:26 +03:00
Joonas Rikkonen 42d4b5bfcd (5269b5857) tweaks 2019-05-16 06:58:09 +03:00