Regalis
03e55a2040
whoops
2016-11-21 18:00:47 +02:00
Regalis
c3b84ca835
Re-enabled client permission settings in NetLobbyScreen, fixed clients not setting their permissions when receiving PacketTypes.Permissions
2016-11-21 17:46:03 +02:00
Regalis
4cef011131
Hull volume helper is hidden when no hulls are selected, using the HasPermission method for consistency
2016-11-21 16:55:56 +02:00
juanjp600
7a3bce3973
Hull volume helper in editor + Character name matches client name + Better-looking Watcher light source
...
Also '' is a thing of the past, use \" instead
2016-11-20 18:47:22 -03:00
Regalis
16cf9f6c81
Handling exceptions in particle update, gamesession UI order fix, traitor setting loading fix
2016-11-16 20:14:14 +02:00
Regalis
3bd635e3d4
derp
2016-11-16 17:40:12 +02:00
Regalis
f8d2bb4e2a
Merge branch 'master' of https://gitlab.com/poe.regalis/barotrauma
2016-11-16 17:37:43 +02:00
Regalis
5b99f9e35e
Saving server info box & traitor settings
2016-11-16 17:36:38 +02:00
juanjp600
d2c17274fe
GUI elements now respect render order + some minor distance comparison optimization
2016-11-15 22:26:36 -03:00
Regalis
c2098f06f8
Removed a redundant DrawRectangle method & redundant sub visibility culling in GameScreen
2016-11-12 18:29:39 +02:00
Regalis
0353732e7e
Fixed highlighting items when highlighting a wire in a connection panel
2016-11-12 18:27:35 +02:00
Regalis
7fa660d38e
Wires can be cloned and moved if both items it's connected to are selected
2016-11-12 15:51:46 +02:00
Regalis
d403b38440
Hull, Gap & WayPoint cloning, equipped items are removed when switching from character mode to wiring or mode or vice versa
2016-11-12 15:44:02 +02:00
Regalis
e6b2919877
Items/structures can be copied by holding ctrl in the editor
2016-11-11 17:37:03 +02:00
Regalis
4bb8531775
Moving dummycharacter collider to cursor pos in the editor (-> dropped items are positioned correctly)
2016-11-10 17:21:30 +02:00
Regalis
f4a942414d
More efficient culling, workaround for null exception in CombatMission.GetTeamName
2016-11-06 19:41:32 +02:00
Regalis
bddc673fed
Mapentity visibility culling based on their parent sub (-> subs outside the camera view aren't rendered)
2016-11-06 18:59:05 +02:00
Regalis
1e61e815b8
Changes for linux version
2016-11-03 20:11:56 +02:00
Regalis
8011aecb31
Autorestart countdown is reset and the start button re-enabled if an exception is thrown when starting a new round, "restarting in X seconds" clamped over 0, added resolution & window mode to crash reports
2016-11-02 18:00:37 +02:00
Regalis
1b818b6422
Fixed timestep logic is disabled during loading (less choppy loading screens & no pause at the start of the game), damageable structures visible in LOS again, footstep sound tweaking
2016-11-01 19:05:09 +02:00
Regalis
eb2c51c2f1
Cleanup with resharper (mostly removing redundancies & using collection.Length/Count properties instead of the Count method)
2016-10-31 20:50:20 +02:00
Regalis
2f3d3ba9ea
LOS color is based on ambient light, added a parallax effect to background particles
2016-10-27 19:25:15 +03:00
Regalis
a8484e10ff
Unlit LOS effect, IJKL doesn't move the sub when the debug console is open
2016-10-23 19:01:46 +03:00
Regalis
641e579e92
Backported animcontroller-overhaul
2016-10-22 15:18:16 +03:00
Regalis
fbf4b4fcad
LOS can be disabled through the console, slightly brighter default LOS color
2016-10-13 16:02:54 +03:00
juanjp600
506ef2f2aa
Attempted fix for drawableComponents crash + LOS tweaks
2016-10-12 19:24:39 -03:00
juanjp600
7e6ef65eb3
Improved LOS effect
...
It's pretty inefficient (I need to figure out how to set up new shaders), and it might let the player see too much, but it looks way better than pure black.
2016-10-12 16:54:41 -03:00
Regalis
bbec3d64dc
Amount of ambient light decreases when going deeper, closest sub can be moved with IJKL
2016-10-11 18:23:25 +03:00
Regalis
d8476d9371
Hull-specific ambient lighting: light sources increase the amount of ambient light in rooms and the light can spread to adjacent rooms through gaps. Allows making the default ambient light much darker without making shadows look too dark in fully lit subs.
2016-10-10 21:13:22 +03:00
Regalis
e7e51fbe0c
Saving times and map seeds are displayed correctly in the "load game" menu
2016-10-09 17:38:01 +03:00
Regalis
f7e98ee6a8
Cargo spawning fix again: items are spawned slightly above the bottom of the cargo room (because the item is only inside the hull if pos.Y > hull.rect.bottom)
2016-10-09 17:33:51 +03:00
Regalis
e720fa366c
Timing.Alpha isn't updated when the game is paused (-> no "twitching" when the pause menu is open), moved water scrolling and surface lerping from draw method to update
2016-10-09 15:12:57 +03:00
Regalis
3de4645357
Separated waypoint edit/update methods, fixed items/structures being immediately placed when selecting them in the editor, fixed GUIListBox children ovrlapping with the scrollbar
2016-10-08 19:46:56 +03:00
Regalis
1ba87165b0
Fixed camera being placed at {-2147483647, -2147483647} when starting a round, fixed debugdraw crashing the game, moving spectator camera along with the closest sub in Submarine.ForceTranslate
2016-10-08 17:19:54 +03:00
Regalis
e50b801a47
Separate draw/update methods for editingHUD & resizing
2016-10-07 17:06:26 +03:00
juanjp600
94895edbdb
Fixes and minor enhancements for sub editor
...
- Zoom now works relative to the mouse's position rather than the center of the screen, much like Valve's Hammer Editor (or pulsegun's map editor shameless plug ;) )
- Rectangles now have line widths dependent on the camera zoom, not perfect but it's better than having lines disappear
- Fixed background resizing
- Fixed editor being completely broken because of no vsync, might still have a few bugs here and there
- Fixed selection rectangle not rendering at all when dragging from bottom right to top left
- Newline change in Item.cs
2016-10-06 21:15:01 -03:00
Regalis
bddcc36673
Separated inventory update & rendering logic
2016-10-04 23:52:32 +03:00
Regalis
9ca3b24585
Moved some more UI update logic from draw to update
...
todo: inventories (oh the horror)
2016-10-04 20:41:00 +03:00
Regalis
ffc6782025
Removed fixed timestep logic from GameScreen (redundant now because the logic is handled in GameMain)
2016-10-04 19:54:17 +03:00
juanjp600
e1296e4a8e
Backported vsync changes from new-netcode, WIP hull visibility culling
...
The hull culling functions are there, they just aren't being used right now because there are some annoying bugs.
2016-10-02 22:24:31 -03:00
juanjp600
75e7b3a94e
Merged branch master into combat-mission
2016-10-01 20:10:38 -03:00
juanjp600
4c7e8fe57d
Character name scale based on zoom
2016-09-30 15:45:09 -03:00
Regalis
25274dd03f
Linux damageshader, fixed keyhits being registered multiple times, added LevelGenerationParams.xml to the vanilla content package
2016-09-29 19:04:45 +03:00
Regalis
cbce785078
- combined the "crew" and "hire" tabs in the SP lobby
...
- tooltips that show item descriptions in the store menu
- preventing tooltips from going outside the screen
- medical items can be bought, more expensive railgun/depthcharge shells
2016-09-29 18:59:58 +03:00
Regalis
790212a20b
Merge branch 'walldamage'
2016-09-26 16:28:52 +03:00
juanjp600
d537e8795a
Replace '' (two single quotes) with \" (double quote)
...
We must correct post-traumatic Blitz disorder
2016-09-24 21:26:08 -03:00
Regalis
0ba69a3472
Using nonpremultiplied alpha when drawing damaged wall sections (-> no artifacts around windows anymore), particle collision optimization
2016-09-22 18:14:16 +03:00
Regalis
721f4ff5a6
Particle system improvements:
...
- particles can collide with the outer walls of the sub
- drag + waterdrag parameters
- fixed particles "twitching" when the submarine is moving fast
- submarine velocity only affects the initial velocity of the particles (i.e. accelerating the sub doesn't automatically accelerate them)
2016-09-21 19:45:20 +03:00
Regalis
f8368f464a
Walls have an additional background sprite below the destructible sprite, separate parameters for rgb and alpha lerping in the damage shader
2016-09-19 21:51:37 +03:00
Regalis
b24359464b
Wall damage shader testing (WIP)
2016-09-16 14:47:08 +03:00