juanjp600
35dafc4792
Merge remote-tracking branch 'barotrauma/master' into new-netcode
...
# Conflicts:
# Subsurface/Source/Characters/Character.cs
# Subsurface/Source/Items/Components/Machines/Steering.cs
# Subsurface/Source/Map/Structure.cs
# Subsurface/Source/Networking/GameClient.cs
# Subsurface/Source/Networking/GameServer.cs
2016-11-05 18:09:44 -03:00
Regalis
72178d4b1f
Fabricator UI shows item descriptions and items that can't be fabricated are grayed out, added a couple of new fabricable items
2016-10-28 19:47:45 +03:00
Regalis
48c07cfce5
- doors aren't ignored when checking visibility during waypoint generation or when finding a starting node for a path
...
- AICharacter will mark their path unreachable if their path is blocked by a door they cant open (may happen if someone closes the door after calculating the path)
- fixed exception when creating a Steering component when there's no active GameSession (i.e. in the editor)
2016-10-27 21:18:45 +03:00
Regalis
282611d0cc
Limiting too long location names in navigation terminals & end shift button
2016-10-26 19:48:39 +03:00
Regalis
980f8e0d33
- option to select which location autopilot navigates towards
...
- generating "dummy locations" for the MP gamesessions (visible in sonar and mission descriptions)
- EndGame network message tells the clients if the mission was successful (because the message may arrive before the sub has reached the exit or before some character has died at the client's end)
2016-10-26 19:22:40 +03:00
Regalis
6f9160e4a7
Removing & spawning entities in the same order as the server, EntitySpawner does both removing and spawning
2016-10-26 16:44:59 +03:00
Regalis
62dd055e8d
Merge branch 'master' into animcontroller-overhaul
...
Conflicts:
Subsurface/Content/Characters/Crawler/crawler.xml
Subsurface/Source/Characters/AICharacter.cs
Subsurface/Source/Characters/Animation/FishAnimController.cs
Subsurface/Source/Characters/Animation/Ragdoll.cs
Subsurface/Source/Characters/Character.cs
Subsurface/Source/Map/Submarine.cs
Subsurface/Source/Map/SubmarineBody.cs
Subsurface/Source/Networking/GameClient.cs
Subsurface/Source/Networking/GameServer.cs
Subsurface/Source/Physics/PhysicsBody.cs
2016-10-25 20:09:25 +03:00
Regalis
07f8c966ab
Submarine position is synced using the same logic as the characters, AICharacter position syncing
2016-10-25 19:01:19 +03:00
Regalis
641e579e92
Backported animcontroller-overhaul
2016-10-22 15:18:16 +03:00
Regalis
c144a11119
Merge branch 'master' into animcontroller-overhaul
2016-10-22 13:38:25 +03:00
Regalis
bb9b2c6eb7
Fixed inventory getting "stuck" if slots are merged while one of them is selected
2016-10-21 18:30:03 +03:00
Regalis
92b61ee816
Merge branch 'master' into animcontroller-overhaul
2016-10-19 21:15:44 +03:00
Regalis
de203cc424
- a WIP attempt to correct the position of the controlled character based on updates from the server
...
- fixed server not being able to move character controllers
- renamed IsNetworkPlayer -> IsRemotePlayer
2016-10-19 00:15:29 +03:00
Regalis
9fed308705
InGame update messages include a timestamp which is passed to the ClientRead methods
...
Now only used in character position syncing, but some other entities may also have an use for it (e.g. discarding outdated data)
2016-10-18 19:04:32 +03:00
Regalis
0cafc674dd
- projectiles don't stick to colliders
...
- fixed impacts weaker than the damage threshold giving characters health
- possible to slide down ladders
- improved IndoorsSteeringManager ladder climbing logic
2016-10-17 17:41:41 +03:00
Regalis
f3e74a6a41
Collider-controlled swimming, fixes
2016-10-16 20:07:34 +03:00
Regalis
db8c2b9f8e
Changed colliders from limbs to normal physics bodies, removed RefLimb
2016-10-15 20:08:51 +03:00
juanjp600
506ef2f2aa
Attempted fix for drawableComponents crash + LOS tweaks
2016-10-12 19:24:39 -03:00
Regalis
e12fe29f80
Merge branch 'master' into new-netcode
...
Conflicts:
Subsurface/Source/Items/CharacterInventory.cs
Subsurface/Source/Items/Inventory.cs
Subsurface/Source/Items/Item.cs
2016-10-12 21:12:21 +03:00
Regalis
1cdb218fe0
Items are removed from their parent inventory and their bodies are removed when Item.Remove is called
2016-10-12 21:07:19 +03:00
Regalis
060a1db431
Fixed null exception in CharacterInventory
2016-10-12 20:57:06 +03:00
Regalis
170e1a0da8
ItemRemover -> EntityRemover, clients reset spawner & remover when starting a new round
2016-10-12 20:46:47 +03:00
Regalis
60b36e020c
Changed ItemSpawner to EntitySpawner, used for syncing both item and character spawning
2016-10-12 19:25:01 +03:00
Regalis
ac3539da63
Item spawn syncing
2016-10-12 18:29:44 +03:00
Regalis
71d4df6300
Highlighting inventory slots when moving items around, red highlight if an item can't be placed in a slot
2016-10-12 16:18:32 +03:00
juanjp600
f5268c7c6c
Fixes
...
It compiles now, but it's probably really broken.
2016-10-11 21:37:23 -03:00
juanjp600
72033a581e
Merge remote-tracking branch 'refs/remotes/barotrauma/master'
...
Conflicts:
Subsurface/Properties/AssemblyInfo.cs
Subsurface/Source/Characters/Character.cs
Subsurface/Source/GUI/GUI.cs
Subsurface/Source/GameMain.cs
Subsurface/Source/GameSettings.cs
Subsurface/Source/Items/CharacterInventory.cs
Subsurface/Source/Items/Components/ItemComponent.cs
Subsurface/Source/Items/Components/Machines/Pump.cs
Subsurface/Source/Items/Components/Machines/Radar.cs
Subsurface/Source/Items/Components/Machines/Steering.cs
Subsurface/Source/Items/Components/Power/PowerContainer.cs
Subsurface/Source/Items/Inventory.cs
Subsurface/Source/Items/Item.cs
Subsurface/Source/Items/ItemSpawner.cs
Subsurface/Source/Map/Levels/WaterRenderer.cs
Subsurface/Source/Map/LinkedSubmarine.cs
Subsurface/Source/Map/Map/Map.cs
Subsurface/Source/Map/Structure.cs
Subsurface/Source/Map/Submarine.cs
Subsurface/Source/Map/WayPoint.cs
Subsurface/Source/Networking/GameClient.cs
Subsurface/Source/Networking/GameServer.cs
Subsurface/Source/Physics/PhysicsBody.cs
Subsurface/Source/Screens/GameScreen.cs
2016-10-11 20:19:25 -03:00
Regalis
9dfba4921e
Merge branch 'combat-mission'
2016-10-11 16:35:43 +03:00
Regalis
636b25d725
Readded inventory tooltips
2016-10-10 21:24:46 +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
juanjp600
f0f385c2b2
Fixed clients not seeing additional cargo + spawn monster cursor
2016-10-10 11:05:33 -03:00
Regalis
74a9453676
Upper limit to water drag force, fixed highlighted items "flickering"
2016-10-09 20:45:28 +03:00
Regalis
f64743a57c
SubInventories return "back to normal" if removed from the parent inventory (e.g. crate inventories aren't drawn above the hand slots after dropping the crate)
2016-10-09 17:36:11 +03:00
Regalis
f4c5c5e542
Added a particle trail to railgun shells
2016-10-09 15:13:41 +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
juanjp600
91539c5b84
Host can spawn in team 2 + relay component state syncing
2016-10-05 22:03:06 -03:00
juanjp600
3d8f5070c5
Added all smallitems to extra cargo list + removed duplicate entries
2016-10-05 16:57:06 -03:00
Regalis
54f3d09af4
Update/rendering logic separation (cherrypicked from commits 9ca3b24, bddcc36 & 9511bae)
2016-10-05 20:35:18 +03:00
Regalis
41c38575b9
Using ItemSpawner to spawn extra cargo (-> clients will be notified of the spawned items)
2016-10-05 18:30:48 +03:00
Regalis
9154be4792
Flipping turrets & controllers, moved radar UI update to UpdateHUD
2016-10-05 16:54:05 +03:00
Regalis
9511baeeb8
Fixed NullReferenceExceptions when dragging an item that isn't in any slot (i.e. a wire)
2016-10-05 15:50:55 +03:00
Regalis
bddcc36673
Separated inventory update & rendering logic
2016-10-04 23:52:32 +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
Regalis
050f7ffc83
Removed fixed timestep logic from GameScreen (redundant now because the logic is handled in GameMain)
2016-10-04 19:21:05 +03:00
Regalis
3ec6f008d5
Item/structure sprites flip by default
2016-10-03 16:43:03 +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
bdcd894b83
Flipping sprites of staircases & engine
2016-10-01 16:41:16 -03:00
Regalis
8e8a0e57f0
Cleaned up the flipping logic a bit, overridable MapEntity.FlipX method
2016-09-30 19:48:56 +03:00
juanjp600
f6b82eb095
Some progress on flipping subs
...
Press crouch to flip every sub in the map, texture alignment breaks and physics items vanish, but other than that it's working.
2016-09-29 22:20:15 -03:00