Commit Graph

2132 Commits

Author SHA1 Message Date
Joonas Rikkonen 177f31d538 Some more logging to help diagnose #278, a potential workaround to remove items/characters that Entity.RemoveAll failed to remove for some reason. 2018-04-20 16:50:10 +03:00
Joonas Rikkonen 395ca3c5c2 Removed debug code from PhysicsBody.ApplyLinearImpulse 2018-04-18 17:27:06 +03:00
Joonas Rikkonen c6f3d0c1b8 Attempt to fix characters occasionally getting launched out of the sub at lightspeed when the sub crashes into something (even if the impact doesn't appear to be that hard): impacts don't increase the velocity of the characters above 20 units/s. 2018-04-18 17:24:10 +03:00
Joonas Rikkonen eed7b72b4e Fixed player-controlled creatures being able to do damage to themselves and RepairTools causing damage to the user regardless of the user's skills. 2018-04-18 15:04:18 +03:00
Joonas Rikkonen edf5bacc89 Fixed EndRound music looping forever. Closes #334 2018-04-18 11:02:58 +03:00
Joonas Rikkonen 9a8f13140e Cherry-picked [ab78991]: Rendering tiled sprites with scaling works correctly now (I think?), added option to edit the offset of structure textures 2018-04-17 14:06:40 +03:00
Joonas Rikkonen 607acb6e8a Fixed wall sections being rendered incorrectly if texture scale is changed, fixed gaps between tiles due to the width/height of the tile being rounded down as a result of texture scaling 2018-04-10 22:28:14 +03:00
itchyOwl 22e2c8d8c2 Fix the gap and submarine position indicator icon position. 2018-04-09 18:11:27 +03:00
Joonas Rikkonen 8c4531188b Fixed scrollable area of GUIListBoxes not changing when children are hidden (e.g. when filtering messages in the server log), fixed new log messages appearing in the server log even if the type of message has been filtered out. 2018-04-09 17:31:03 +03:00
itchyOwl cc92341fae Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-04-09 16:16:23 +03:00
itchyOwl 7d31f0cdb6 Add a backing field with the default value Vector2.One for TextureScale. Clamp the values between 0.01 and 10 to keep them sensible. 2018-04-09 16:16:17 +03:00
Joonas Rikkonen 324b7f8edd Fixed background fish not being rendered, added scale parameter to bg fish and made them a little smaller and faster. Closes #362 2018-04-09 16:01:38 +03:00
Joonas Rikkonen 3abbfcbc23 Railguns cannot be fired without aiming. Closes #364 2018-04-09 15:22:42 +03:00
Joonas Rikkonen fe064b2170 Added a debug command for mirroring the main sub horizontally 2018-04-09 10:59:56 +03:00
itchyOwl c0dccc550e Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-04-09 09:55:07 +03:00
itchyOwl a34a024f58 Revert to the old tiling logic. Insert texture scale logic in between. Turn the silhouette code block into a separate method. 2018-04-09 09:54:26 +03:00
Joonas Rikkonen 2d39a68ecb Merge pull request #359 from Kampfkarren/patch-1
Make Captain's Jacket able to hold 5 things
2018-04-08 16:44:19 +03:00
boyned//Kampfkarren 9c610a1a82 Make Captain's Jacket able to hold 5 things
It's stupid that all jobs can hold stuff in their jumpsuits except Captain.
2018-04-07 22:09:02 -07:00
Joonas Rikkonen 465b848cb4 Fixed relay components ignoring signals to the toggle and set_state connections if the signal has been passed through other PowerTransfer components. Closes #355 2018-04-06 19:51:16 +03:00
itchyOwl 22c3af6af6 Enable editing of the texture scale of the structures. 2018-04-06 16:07:17 +03:00
itchyOwl 9fc65298e8 Reduce duplicate code in Sprite constructors. 2018-04-06 15:56:32 +03:00
itchyOwl 1d30cbfac7 Add a null check. Simplify. 2018-04-06 15:11:04 +03:00
itchyOwl 061c7d17f1 Clean up a bit. 2018-04-06 14:21:29 +03:00
itchyOwl b86b8cd377 Use a single method with optional parameters for drawing tiled textures. 2018-04-06 11:54:41 +03:00
itchyOwl e89fa0dc5c Add a todo note. 2018-04-06 11:51:52 +03:00
itchyOwl d7d69616e3 Simplify checks and casts, use pattern matching. Add a todo note. 2018-04-06 11:50:54 +03:00
Joonas Rikkonen 807ec87694 Fixed items in cloned/copypasted inventories not being saved. Closes #342 and #38 2018-04-05 13:45:21 +03:00
Joonas Rikkonen 3aeaae0595 Fixed RespawnManager not removing respawn items. Closes #234 2018-04-04 18:53:23 +03:00
Joonas Rikkonen 5731f8a522 Merge pull request #350 from extraneus/master
The preliminary assignments
2018-04-04 18:48:29 +03:00
Joonas Rikkonen 9dd9425caa Explosives, chemicals and medical items disappear when their condition falls to 0 (i.e. when they're fully used).
Railgun shells, detonators and depth charges also now "use" their contents instead of destroying them. (See #322)
2018-04-03 22:43:41 +03:00
itchyOwl b599206294 Add a GUI slider for setting the auto ban duration. Define the max auto ban length in the server settings. (Issue #128) 2018-03-27 11:29:36 +03:00
itchyOwl a48a4975ca Auto ban users that have been vote kicked. Define the auto ban time in the server settings. (Issue #128) NOTE: Not tested! 2018-03-27 11:27:57 +03:00
itchyOwl 3106efa023 Add "respawn" tag to the items that should persist in the Respawn Shuttle. Ignore the items with this tag when resetting the shuttle. (Issue #234) 2018-03-27 11:24:11 +03:00
Joonas Rikkonen faaaa69fa7 RegExFindComponent doesn't attempt to evaluate the (null) signal when no signal has been received yet. 2018-03-21 15:31:53 +02:00
Joonas Rikkonen 276798d88b Fixed null exception in IndoordsSteeringManager. Closes #326 2018-03-10 18:47:59 +02:00
Joonas Rikkonen 3f8ead6ad2 Name tag and healthpor positions are clamped inside the hull a character is inside. Closes #158 2018-03-09 19:16:38 +02:00
Joonas Rikkonen c02b8a17fe Reminder to self: press ctrl+s before committing 2018-03-09 18:04:14 +02:00
Joonas Rikkonen a8dda856cc Fixed statuseffect changes in a57bec2 not being added to one of the overloads of the Apply method 2018-03-09 17:55:06 +02:00
Joonas Rikkonen 738910e123 Fixed being able to gain karma by welding fixed walls 2018-03-09 12:47:14 +02:00
Joonas Rikkonen 03fa2a2e1b Fixed item removal by SecondaryUse not being synced 2018-03-08 23:54:28 +02:00
Joonas Rikkonen e1f96480e1 Added console commands for giving the clients ranks, showing their current permissions and giving/revoking the permission to use specific console commands. Closes #327 2018-03-08 20:52:42 +02:00
Joonas Rikkonen 1b1bd6f51b Fixed switch sprite offset. Closes #324 2018-03-08 17:57:12 +02:00
juanjp600 254be499d1 Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-03-08 11:48:17 -03:00
Joonas Rikkonen df746db421 Ladders can be climbed by holding up/down while standing next to them without having to select them first. 2018-03-08 11:01:17 +02:00
Joonas Rikkonen 4421c8a5de Fixed camera shake continuing indefinitely if a character falls unconscious due to impact damage 2018-03-08 10:43:54 +02:00
juanjp600 3a2224392a Added EpicBobRoss' searchlight 2018-03-07 23:30:38 -03:00
juanjp600 82dcbc3ae8 Light sources now follow the direction of parent Turrets + changed Controller's output signal and Turret's input signal to an angle 2018-03-07 22:53:28 -03:00
Joonas Rikkonen 3bfca8c67d v0.8.0.5 2018-03-07 20:40:09 +02:00
Joonas Rikkonen 3bcf7a849b Fix LOS effect on linux. Not sure why the parameter names are different in the OpenGL shader but this seems to work ¯\_(ツ)_/¯ 2018-03-07 20:40:00 +02:00
Joonas Rikkonen a43b8dc278 Added a console command for changing the server password. Closes #325 2018-03-07 17:26:42 +02:00