Regalis
1c206e1730
Adding CrewManager to GUIUpdateList in single player mode
2016-11-16 21:40:13 +02: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
d37bad2d44
Wire sections are updated after flipping, made the wire node list private and added public methods which ensure that sections are updated when modifying nodes
2016-11-16 18:41:32 +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
5922fc972d
Merge branch 'master' of https://gitlab.com/poe.regalis/barotrauma
2016-11-15 22:26:46 -03:00
juanjp600
d2c17274fe
GUI elements now respect render order + some minor distance comparison optimization
2016-11-15 22:26:36 -03:00
Regalis
184c6858cd
Removing orphans in PathFinder.GenerateNodes, fixed autopilot steering the wrong way if clicking an already selected destination tickbox
2016-11-15 20:48:52 +02:00
Regalis
642a1bdd54
Disabled the "infinite walls" at the edges of the level (don't work correctly with multiple subs), the barrier at the top of the level can't be passed through when outside the borders of the level
2016-11-15 19:56:00 +02:00
Regalis
f7a9a77721
Some debug assertions to help figure out the cause for the body.FixtureList==null & GetHullsInRange crash reports
2016-11-15 19:53:25 +02:00
Regalis
dd5eb69875
Fixed respawned characters getting a different team ID than the rest of the characters (causing them to be displayed as a separate team in the crew menu)
2016-11-14 20:09:37 +02:00
Regalis
3c57b9d945
Fixed particle velocity being set to { NaN, NaN } if drag is applied when velocity is almost zero
2016-11-14 18:16:30 +02:00
Regalis
335bf00890
Entity removal fixes
2016-11-14 17:52:26 +02:00
Regalis
0c9a55e9e0
- server doesn't create a new EntityEvent if there's a duplicate event waiting to be sent
...
- hull, radar, steering & pump syncing
2016-11-14 16:58:21 +02:00
Regalis
b86231170f
Fixed selectionrect becoming active when moving entities in the editor, null check in ConnectionPanel.UpdateHUD
2016-11-14 16:29:15 +02:00
Regalis
44d87613b9
- setting SelectedConstruction back to null if a client is too far from it (-> selecting items doesn't become impossible after selecting a cabinet/reactor/whatever and moving away from it)
...
- closestItem or closestCharacter aren't checked unless the client pressed Select
2016-11-13 21:13:18 +02:00
Regalis
3d234aef73
Sending NetEntityEvents from client to server, ItemComponent class doesn't implement the INetSerializable interfaces (only the derived classes do), reactor syncing
2016-11-13 19:34:23 +02:00
Regalis
724172fe7c
Server doesn't attempt to resend unacked EntityEvents until Connection.AverageRoundTripTime has passed
2016-11-13 14:45:00 +02:00
Regalis
498c72c64a
Server sends ServerEntityEvents to clients, NetEntityEvents can contain an object array which will be passed to the serializable entity (now only used for ItemComponent indices)
2016-11-13 13:56:48 +02:00
Regalis
c314b37029
Some classes for syncing entity state changes. Similar to the NetworkEvents in the old netcode, but the logic is split into separate classes which prevent the server from reading updates for entities that aren't IClientSerializable.
...
todo: add NetEntityEventManagers to server & client, some logic to prevent sending events that don't need to be sent (e.g. duplicate event state updates)
2016-11-12 20:56:06 +02: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
0aa4b7a93d
Copy, paste & cut functionality in the editor
2016-11-11 17:58:14 +02:00
Regalis
e6b2919877
Items/structures can be copied by holding ctrl in the editor
2016-11-11 17:37:03 +02:00
Regalis
96cedd67f1
ItemComponents that don't implement the IDrawableComponent interface can't be added to the list of drawable components, pickTimer is ignored when deattaching items from the walls in the editor
2016-11-11 17:34:21 +02:00
juanjp600
392bc13258
Removed case check from CharacterInfo because it corrects itself
...
Just make sure to not get the directory casing wrong and we'll be good
2016-11-10 21:58:35 -03:00
juanjp600
62d79aff03
Removed testasd command
2016-11-10 21:48:50 -03:00
juanjp600
0e9c20c666
Case-sensitivity checks on Windows
...
Should prevent "TigerThresher" from happening again.
2016-11-10 21:45:59 -03:00
Regalis
b371e8d600
Made the tutorial a bit easier: the windows broken by the moloch leak much more slowly and pressure doesn't reach lethal levels in the command room
2016-11-10 19:54:13 +02:00
Regalis
e6356a7516
Updating wire sections when moving nodes in the editor
2016-11-10 19:44:48 +02:00
Regalis
8a8b9ca0fc
Re-registering to master server if the server has timed out
2016-11-10 19:44:19 +02:00
Regalis
a18630c0b3
Fixed tutorial sub spawning twice
2016-11-10 19:34:47 +02:00
Regalis
8d1db582ad
Fixed flickering lights
2016-11-10 17:46:46 +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
50a770a2a6
v0.5.3.3
...
+ removed unnecessary EventInput code from the linux build, null check before disposing sprite texture
2016-11-09 21:01:38 +02:00
Regalis
17a7cb70ed
Resetting character position to the server pos if the difference between the positions is large enough
2016-11-09 19:58:05 +02:00
Regalis
e1c2cd4d53
Networked characters can climb ladders without joining the Europan Space Program
2016-11-09 18:17:04 +02:00
Regalis
ac65a431a8
Merge branch 'master' into new-netcode
...
Conflicts:
Subsurface/Properties/AssemblyInfo.cs
Subsurface/Source/Items/Components/Signal/Wire.cs
Subsurface/Source/Items/Item.cs
Subsurface/Source/Items/ItemInventory.cs
Subsurface/Source/Networking/GameServer.cs
2016-11-09 17:58:56 +02:00
Regalis
9eaca68cea
Clients move their saved local positions if they don't match the servers position (instead of immediately snapping to the latest server position)
...
TODO: prevent ladders from sending the character flying, some safeguards in case positions are way off
2016-11-09 17:43:23 +02:00
Regalis
d017817878
Updating wire sections if the wires are moved during loading
2016-11-09 16:23:48 +02:00
Regalis
e3cd19b781
Wire rendering optimization (angles & distances between nodes are only calculated when adding/removing nodes)
2016-11-08 22:22:49 +02:00
Regalis
adf19869c2
- ItemContainers whose bodies are disabled don't set the positions of the contained items each frame (only once when the item is placed in the container)
...
- ItemContainers maintain a list of statuseffects that need to be applied on the contained items instead of constantly rechecking each item
- deactivating ItemContainers if they have no body and there are no statuseffects to apply
2016-11-08 21:22:09 +02:00
Regalis
1617cd8f7a
Item/statuseffect optimization:
...
- PowerTransfer components cache power connections instead of rechecking them every frame
- items store connections in a dictionary with the name of the connection as a key (-> finding the correct connection when sending a signal is more efficient)
- storing item tags & StatusEffect targetNames in HashSets
2016-11-08 21:14:29 +02:00
Regalis
1dc08b3019
Added collider to humanhusk.xml, disabled the "zoom effect" when under pressure as a huskified human
2016-11-08 20:15:59 +02:00
Regalis
cd5c72eff2
Number of children in the debugconsole listbox limited to 200 (prevents framerate drop if adding tons of messages)
2016-11-07 20:45:23 +02:00
Regalis
f259f3fba4
Limiting character movement when collider isn't upright (can't run at full speed if lodged in some tight space), hack-ish way of moving the collider of a character that's being dragged
2016-11-07 18:52:36 +02:00
juanjp600
cd8c927800
Sync InputType.Select
2016-11-06 18:15:13 -03:00