Commit Graph

3134 Commits

Author SHA1 Message Date
Joonas Rikkonen fe163b34b2 (779eec74b) Removed unused wall textures from the project 2019-04-18 12:02:19 +03:00
Joonas Rikkonen a84407928f (5288a26dd) Fixed SteamManager.OverlayCustomURL crashing the game if SteamManager has not been initialized 2019-04-17 12:45:30 +03:00
Joonas Rikkonen d019fee0e6 (d00433116) Show structure background sprites in the sprite editor 2019-04-17 12:45:12 +03:00
Joonas Rikkonen 9dea124ec2 (12dd79a54) Fixed GUIListBoxes still sometimes leaving the last row out when using a grid layout 2019-04-17 12:44:55 +03:00
Joonas Rikkonen b8354d37a5 (d8e711f70) Atlased some background wall sprites, resized SubRearBow.png to power of two, removed some unused textures 2019-04-17 12:44:38 +03:00
Joonas Rikkonen 91d3ea6a0f (10dd92c0a) Added Steam overlay support to workshop 2019-04-17 12:44:21 +03:00
Joonas Rikkonen 56a24772ec (d0a23dc66) Convert workshop item texts (title, description & owner name) to UTF8. Fixes #1423 2019-04-17 12:44:03 +03:00
Joonas Rikkonen cfd4df925a (41c5679ec) Resize fonts according to resolution (TODO: test on resolutions larger than 1080p) 2019-04-17 12:43:29 +03:00
Joonas Rikkonen 8c8f03ae25 (a6f17618b) Allow canceling repairs in the campaign menu, fixed credits not being displayed in the repair tab 2019-04-17 12:43:11 +03:00
Joonas Rikkonen ee2326db63 (f27ee6807) Changed to only show damage indication when the section is damaged 2019-04-17 12:42:53 +03:00
Joonas Rikkonen 1615e2f6aa (3c4a367f1) Added structural section damage indication to DebugDraw 2019-04-17 12:42:35 +03:00
Joonas Rikkonen e0fe737c3b (60001519f) Fixed clients not being able to see other characters in spectator if they've died far away from the sub. + Increased position update interval for spectators. Closes #1421
+ Merge fix
2019-04-16 17:16:14 +03:00
Joonas Rikkonen 2b11c79a4c (ac9d10462) Take entity scale and flipping into account when dragging 2019-04-16 17:13:34 +03:00
Joonas Rikkonen 9dc29965f6 (602bf4ba6) Implemented structure scaling. TODO: draw with correct scale when dragging 2019-04-16 17:13:18 +03:00
Joonas Rikkonen 3c147c1653 (cb10c219e) Allow to set the vitality for a character without afflicting damage. Make a bunch of properties of Attack class publicly accessible. 2019-04-16 17:13:01 +03:00
Joonas Rikkonen 0c42ad1572 (22ec3a281) Add a boolean that controls whether or not the enemy attacks outposts and the characters inside it. 2019-04-16 17:12:43 +03:00
Joonas Rikkonen 707d9ed398 (9d7465a38) New alien item sounds 2019-04-16 17:12:27 +03:00
Joonas Rikkonen 6262b3ea54 (ce8e185aa) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-16 17:12:09 +03:00
Joonas Rikkonen bd07acf26d (052ab6307) Use MonoKickstart on Linux so installing Mono is not required, fixed division by zero if the width of the server console window is 0 2019-04-16 17:11:49 +03:00
Joonas Rikkonen edb8c39c58 (7dc4f5c23) Fix the doors: - Don't allow to pick, if the doors has no requirments. In this case the door should be opened by using the [select] key. - Display "UNAUTHORIZED ACCESS" when the door has integrated buttons but the requirements are not met. Display the cannot open the door text when the door doesn't have integrated buttons and the player is trying to open the door with the [select] key. 2019-04-16 17:11:23 +03:00
Joonas Rikkonen 431a897a71 (b668306bc) Force personal slots back open when putting or attempting to put something into them 2019-04-16 17:11:08 +03:00
Joonas Rikkonen 4c83e5a598 (98d8107fe) Fixed server failing to set items' treatment suitabilities because afflictions were loaded after the items 2019-04-16 17:10:54 +03:00
Joonas Rikkonen 81b359ea58 (029467913) More descriptive error messages when clients fail to read an item EntityEvent 2019-04-16 17:10:39 +03:00
Joonas Rikkonen dd371c29cc (6844335fb) Fixed incorrect text tag in submarine save dialog 2019-04-16 17:10:25 +03:00
Joonas Rikkonen 9e3d13b1c9 (3730c56ab) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-16 17:10:10 +03:00
Joonas Rikkonen 30a3203051 (19307be45) Implement random wearable variants. Should be synced with the server by using the same random seed. Add a console command "loadwearable" as a development feature (could also be used by modders) to enforce a certain variant. Refresh wearable sprite paths when the items are reloaded. 2019-04-16 17:09:56 +03:00
Joonas Rikkonen 9ec8659c89 (410101a21) Add an extension method for replacing strings if a condition is met. 2019-04-16 17:09:41 +03:00
Joonas Rikkonen f2d0d3a56a (94d321ddf) Automatically open the personal slots if an item in the slots is running out of battery/fuel/etc 2019-04-16 17:09:26 +03:00
Joonas Rikkonen 578a36b29d (4d9a797c5) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-16 17:09:12 +03:00
Joonas Rikkonen f667455659 (ba5343957) Button for hiding personal inventory slots 2019-04-16 17:08:58 +03:00
Joonas Rikkonen c361edfb8b (6d8c1f21d) Whoops. 2019-04-16 17:08:44 +03:00
Joonas Rikkonen b8b61ebb02 (a405d1aed) Check volume validity in SoundPlayer.UpdateWaterAmbience (there was a report on GameAnalytics about the method setting the gain to an invalid value) + Merge fix 2019-04-15 14:12:14 +03:00
Joonas Rikkonen 53f9202909 (8f7813f79) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-15 13:43:50 +03:00
Joonas Rikkonen e839260a9d (a3d3d1671) Health interface layout tweaking, change "drop" to "use as treatment" when dragging an item to the health interface 2019-04-15 13:43:35 +03:00
Joonas Rikkonen 4fae57916a (0ac981d7a) Fixed wrong sprites on weapons and ballast icon labels 2019-04-15 13:43:21 +03:00
Joonas Rikkonen 8f310256b5 (2bbea6767) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-15 13:43:07 +03:00
Joonas Rikkonen ffa6192377 (655499f68) Add new variants for some classes (wip). The female textures are placeholders. Rename a bunch of files to support the variants and to organize the files a bit better. Also moved the item definitions around and created dedicated xmls for all the classes. 2019-04-15 13:42:51 +03:00
Joonas Rikkonen fe235eb37a (2fc766fe5) Add support for wearable item variants. Not used yet. Not synced (not sure if it should). 2019-04-15 13:42:37 +03:00
Joonas Rikkonen 70a92425d0 (77c7a4df9) Small fix to mudraptor sprite sourcerect (adjacent limb was bleeding into the sprite) 2019-04-15 13:42:22 +03:00
Joonas Rikkonen 918fac9e5e (6c6831abf) Some new sounds, fixed damage sounds not being played if no damage modifiers are applied 2019-04-15 13:42:08 +03:00
Joonas Rikkonen 3e0d4f5122 (16b390a10) Remove an empty line. 2019-04-15 13:41:55 +03:00
Joonas Rikkonen bf78825f6d (ff913f363) Renamed labels for consistency 2019-04-15 12:10:46 +03:00
Joonas Rikkonen d3481c1dd6 (eaf02c38d) If the character has no mentionable afflictions, automatically select the limb with highest dmg on it (if none selected) to be displayed in the health interface. 2019-04-15 12:10:33 +03:00
Joonas Rikkonen 3b38c7e69e (5616e8c9d) Added image Icons for different sections of the submarine aswell as letters and numbers as decals. NOTE: some of the image icons still needs to be iterated to make them our own 2019-04-15 12:10:19 +03:00
Joonas Rikkonen 8290c577d8 (1dd58d3ff) CustomInterface editor shows each label/signal as a separate textbox (w/ text picker option) 2019-04-15 12:10:05 +03:00
Joonas Rikkonen f20e82832f (04b477ff8) Added: ContextualTutorial texts to EnglishVanilla until replaced with the new tutorial 2019-04-15 12:09:50 +03:00
Joonas Rikkonen 373554ddfb (461eade89) Merge branch 'dev' of github.com:Regalis11/Barotrauma-development into dev 2019-04-15 12:09:36 +03:00
Joonas Rikkonen 8a42bb3bbd (add7a8fe6) Fixed: Error in localization when importing npc conversations. Added: proofread englishvanilla 2019-04-15 12:09:22 +03:00
Joonas Rikkonen 6943ff8586 (05b7a65ce) Further nerfed bleeding damage for raptors, increased internal damage to compensate. 2019-04-15 12:09:08 +03:00
Joonas Rikkonen 470b46a603 (6807c0fa1) Reverted detector sprite sourcerect changes in 65f7be0. (Need a new texture first) 2019-04-15 12:08:53 +03:00