Commit Graph

3157 Commits

Author SHA1 Message Date
Joonas Rikkonen
a1eaafeb44 (b807790e4) Created a Bug Report button in settings screen, which links the player either to the Barotrauma feedback or Github issue form 2019-04-23 11:18:13 +03:00
Joonas Rikkonen
b6d854fc94 (8b6b6ed4c) Added indication to server preview window if server has VOIP enabled 2019-04-23 11:17:55 +03:00
Joonas Rikkonen
b48a854828 (a88311cf8) Fixed editor disclamer message box links overlapping with OK button 2019-04-23 11:17:37 +03:00
Joonas Rikkonen
f774694154 (4246de267) Fixed saving a submarine with a new name causing the previous sub file to disappear from sub lists until saved subs are refreshed, fixed new subs appearing at the end of the list (instead of being sorted alphabetically) 2019-04-23 11:17:20 +03:00
Joonas Rikkonen
a044313347 (a7b61face) Added automatic bilge pump assembly, updated old airlock doors assembly 2019-04-23 11:17:02 +03:00
Joonas Rikkonen
3ce6551cb2 (4965a76d6) Methods for showing the campaign/editor disclaimers 2019-04-23 11:16:43 +03:00
Joonas Rikkonen
2df003f388 (25b35a395) updated subs with numerous small fixes 2019-04-23 11:16:07 +03:00
Joonas Rikkonen
9c5d25a2da (480a052a8) Minor physics optimization: use SetTransformIgnoreContacts when correcting physicsbody positions 2019-04-23 11:15:32 +03:00
Joonas Rikkonen
da3e325ffc (58b5b8b6a) Fixed nullref exception when trying to spawn items with the "spawnitem" command when a round is not running 2019-04-18 12:33:25 +03:00
Joonas Rikkonen
639eb6c1f3 (094a20e08) Fixed incorrect emergency light scale, translated comments in the xml (english pls) 2019-04-18 12:31:08 +03:00
Joonas Rikkonen
ea54fa24fe (0d11c0779) Select the vanilla content package if no core content packages are enabled on startup, or when disabling a core content package from the workshop menu. Closes #1424 2019-04-18 12:05:59 +03:00
Joonas Rikkonen
6aef4073b7 (73782c3bc) Don't prevent selecting items in the sub editor when the cursor is on a wire node, because it makes it very difficult (or impossible) to select items in the wiring mode. + Don't start moving wire nodes unless the cursor is moved by at least 16px from the initial position of the node. 2019-04-18 12:05:43 +03:00
Joonas Rikkonen
c77c30fda7 (7cc515e57) SpriteDeformation optimization: don't update deformations on disabled or SimplePhysics characters, don't check if resolution has changed in the SpriteDeformation.Resolution getter because it's called very frequently 2019-04-18 12:05:27 +03:00
Joonas Rikkonen
b0580a9050 (7e43eae73) Optimized Item.ApplyStatusEffects & ItemComponent.PlaySound: check if the item has effects/sounds of the correct type from a bool array instead of doing a dictionary lookup. A small thing, but the methods are called so frequently that it adds up to a lot. 2019-04-18 12:05:11 +03:00
Joonas Rikkonen
1a3184dbad (4c452f172) Force reactor IsActive=true when an AI character or a remote player operates it. Previously this was only done in UpdateHUD, so inactive reactors would not become enabled. 2019-04-18 12:04:56 +03:00
Joonas Rikkonen
ade4ef48b6 (241123ab2) Some checks to prevent crashing if a limb has an invalid health index 2019-04-18 12:04:24 +03:00
Joonas Rikkonen
04791aa8e6 (7e211a3c4) Fixed crashing if an attack xml includes afflictions that cannot be found 2019-04-18 12:04:08 +03:00
Joonas Rikkonen
da87fdb1da (65ebd97e5) Disable multiplayer buttons ("server log", "end round", etc) when using a controller (e.g. when operating a railgun) 2019-04-18 12:03:53 +03:00
Joonas Rikkonen
8b4c5b8cd7 (a5643136e) Removed the separate "my character panel" from the top right corner of the screen in MP (not needed anymore because the job preferences etc can be edited in the info menu), removed the radio button below the chatbox (looks bad and not necessary now that we have a dedicated chat hotkey) 2019-04-18 12:03:37 +03:00
Joonas Rikkonen
c85cf63494 (99fb00391) Don't allow deconstructing items that don't give anything when deconstructed. Closes #690 2019-04-18 12:03:22 +03:00
Joonas Rikkonen
fdacc4534b (c14dcd3d6) Support for multi-target monster missions 2019-04-18 12:03:07 +03:00
Joonas Rikkonen
786c37811f (ed3701e5d) Fixed submarine editor previously used list overlapping with entity list when scrollbar is visible 2019-04-18 12:02:50 +03:00
Joonas Rikkonen
aed2c71806 (24c49c72a) Added swarm behavior to crawlers. Any group of monsters spawned by a single MonsterEvent will now act as a swarm if they have SwarmBehavior defined in their xml 2019-04-18 12:02:35 +03:00
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