Commit Graph

1152 Commits

Author SHA1 Message Date
Regalis c3d29e41ad Additional null check in Wire Update, stopping paused sounds before deleting them (prevents an OpenAL error when switching to sub editor when the mainmenu drone sound is playing) 2016-12-21 20:35:38 +02:00
Regalis c01ac33e1d Option to configure damage sounds for structures with a specific tag, some new sounds 2016-12-21 00:07:25 +02:00
Regalis 32c7edba1c Explosion damage calculations take the size of the limbs into account (e.g. it's possible to damage endworms with explosives that have a damage radius less than 600) 2016-12-20 19:28:25 +02:00
Regalis dd46ce1d98 Adjusting submarine spawnposition if the sub (or any docked subs) intersect with walls 2016-12-20 16:11:47 +02:00
Regalis 5e8a01636e Fixed exception when trying to remove a limb with no sprite 2016-12-20 16:10:47 +02:00
Regalis 311f388358 Limbs with no sprite don't cause the game to crash anymore, lightsources attached to a limb are drawn at the interpolated position (= DrawPosition) of the limb, lightTexture origin is flipped on the X-axis when parent limb flips 2016-12-17 14:24:54 +02:00
Regalis b01b38da68 Bunch of new sounds by Omniary, some charactersound & soundplayer refactoring 2016-12-15 21:42:15 +02:00
Regalis 5db3315bf3 The "check updates" tickbox in the launcher can be clicked again, nicer changelog formatting in the launcher, setting kb focus to the item searchbox in sub editor automatically 2016-12-14 19:53:06 +02:00
Regalis d6ba825baf Wire nodes can't be moved when editing wire connections, all mapentities are deselected when toggling wiring/character mode 2016-12-14 18:09:29 +02:00
Regalis 0e1c94e928 Resyncing netlobby if starting a shift fails (-> autorestart timer resets also at the clients' end) 2016-12-14 17:48:17 +02:00
Regalis d7ed27381f List of linkable subs in the editor is refreshed after saving a new sub 2016-12-14 17:00:09 +02:00
Regalis a2f19a3b16 The size of the docked subs is taken into account when generating the level 2016-12-13 23:21:47 +02:00
Regalis 2ef7c2f996 Preventing ruins from spanning above the top of the level 2016-12-13 23:14:41 +02:00
Regalis 40c28a11de Docked subs are forced to correct positions during loading and the docking is "locked" (subs won't get stuck inside each other even if the linked sub is placed incorrectly in the editor) 2016-12-13 23:12:56 +02:00
Regalis 73eb6a2f1b Pausing all sounds when switching to editor screen, temp save folder is cleared before saving (fixes unnecessary files being included in saves) 2016-12-13 23:10:52 +02:00
Regalis 6a189c6ec4 Fix for "collection was modified" exceptions when removing entities using delete or Ctrl+X 2016-12-12 15:01:50 +02:00
Regalis f9ea876edf - sub list in the main menu is refreshed when MainMenuScreen is selected (-> downloaded and newly created subs appear in the list)
- fixed "editing menu" not disappearing after an entity is removed in the editor
- debugconsole textbox is automatically selected when opening the console
- clearing the current gamesession if returning to main menu using the console
2016-12-12 14:49:16 +02:00
Regalis 5241546069 Fixed error message spam if a docking port is linked to another port in the same sub 2016-12-12 13:31:26 +02:00
Regalis a1d050d307 Keyboard focus is automatically removed from a GUIComponent if it's not in the GUIUpdateList 2016-12-12 13:29:41 +02:00
Regalis 9819c52ced Fixed null exception if switching to wiring mode while some item is selected 2016-12-12 13:28:44 +02:00
Regalis 272ec4583f Fixed endless crash messagebox spam if the game fails to resolve a SharpDX exception on startup 2016-12-11 22:43:05 +02:00
Regalis 2871830670 Fixed wire connections & nodes resetting when copypasting them 2016-12-11 22:33:15 +02:00
Regalis fdf99cddcb Replaced the solid black color inside wall cells with an ice texture, background ice textures loop better 2016-12-11 21:41:24 +02:00
Regalis 3411448ae8 Submarine position syncing improvements 2016-12-10 19:53:35 +02:00
Regalis 1f454d593e Inventory syncing, objHeader is passed to the ClientRead/ServerRead methods so they can determine how to read the msg (is it an inventory update, position, input, etc) 2016-12-10 16:39:58 +02:00
Regalis 983c54f4b5 CharacterInventory is moved back to the bottom left corner if selecting a character whose inventory has been moved 2016-12-10 13:55:29 +02:00
Regalis 108dddf082 Wall damage syncing, inventory serialization methods 2016-12-10 13:06:17 +02:00
Regalis 9192dad6ea EntityEventManagers wait for 1.5*roundtriptime before resending messages (less unnecessary resends), skipping to the next event in a packet if an exception is thrown while reading an event 2016-12-09 20:00:41 +02:00
Regalis 63ca7254b2 Fixed steering syncing 2016-12-09 17:42:52 +02:00
Regalis fa712e0102 Checking if a client can access an item in the itemcomponent serialization methods 2016-12-09 16:56:17 +02:00
Regalis bea523187b The host can send chat messages, fixed client not being passed to ServerRead methods 2016-12-09 16:45:08 +02:00
Regalis 3eec463f5e Anim tweaking, simplified (+ non-broken) water drag logic 2016-12-09 15:02:48 +02:00
Regalis f04ebf1503 Wire IndexOutOfRange fix 2016-12-09 14:49:36 +02:00
Regalis d95acec6a2 v0.5.4.1 + regenerated waypoints in vanilla subs & FishAnim tweaking 2016-12-04 19:21:17 +02:00
Regalis 8cd04afb80 Tutorial tweaking 2016-12-01 17:40:33 +02:00
Regalis c6380c3774 Broken junction boxes can't pass power from a box to another (wtf how have I not noticed this) 2016-12-01 17:34:02 +02:00
Regalis fada49d277 Level generation fix: voronoiCell collision is disabled if any of it's edges intersects with any part of an alien ruin
+ SalvageMission attempts to place artifacts in artifact holders
2016-12-01 16:14:24 +02:00
Regalis bf88e2b8de ItemComponent HUD isn't drawn for ItemComponents that can't be selected 2016-12-01 16:11:29 +02:00
Regalis a2442bfcb8 Simple MapEntity visibility culling (structures outside the camera view or items with nothing to render aren't drawn)
Could be optimized further, but already gives a pretty nice performance boost
2016-11-30 21:09:11 +02:00
Regalis 42ff4a0d9a The equipped wire can be moved from connection to another after connecting it, without having to unequip it first 2016-11-30 16:47:36 +02:00
Regalis 568c909ff0 Improved wire editing logic:
- wires have to be selected by clicking before any nodes can be moved
- wires can be selected by clicking either the nodes or the sections
- new nodes can be added by clicking a section while holding ctrl
- the selected wire is drawn on top of all other entities
2016-11-30 16:45:21 +02:00
Regalis 2e2c206d5f ID-based hull & gap depth sorting 2016-11-29 19:21:46 +02:00
Regalis e10b3dfef5 Sub editor: zooming not allowed if the cursor is on a GUIComponent, disabled music, limiting item names in the "previously used" listbox 2016-11-29 18:32:51 +02:00
Regalis 0b03b78606 Entities that are behind other entities can be selected using a listbox that appears when hovering the cursor over them, itemcomponent GUIFrames aren't added to GUIUpdateList in sub editor (unless in character mode) 2016-11-29 17:30:13 +02:00
Regalis d035d3bfb2 Structure depth sorting based on ID (overlapping structures don't "flicker" on top of each other) 2016-11-28 17:50:38 +02:00
Regalis 5779de0e17 Fixed null exception when copypasting entities that can't be linked (e.g. walls), aligning pasted entities to the "world grid" 2016-11-28 16:14:50 +02:00
Regalis e4744e8385 Resetting EventManager IDs when ending the round, NaN/INF check when setting camera position 2016-11-24 20:48:20 +02:00
Regalis ffb6ec2000 Fixed server infobox saving 2016-11-24 20:40:28 +02:00
Regalis deb76d0767 Removed a duplicate line 2016-11-24 20:24:01 +02:00
Regalis adde3461ea Merge branch 'master' into new-netcode
Conflicts:
	Subsurface/Properties/AssemblyInfo.cs
	Subsurface/Source/Characters/Animation/HumanoidAnimController.cs
	Subsurface/Source/Characters/Character.cs
	Subsurface/Source/Items/Components/Door.cs
	Subsurface/Source/Items/Components/Power/PowerContainer.cs
	Subsurface/Source/Items/Components/Signal/Wire.cs
	Subsurface/Source/Items/Item.cs
	Subsurface/Source/Networking/ChatMessage.cs
	Subsurface/Source/Networking/GameClient.cs
	Subsurface/Source/Networking/GameServer.cs
	Subsurface/Source/Networking/GameServerLogin.cs
	Subsurface/Source/Networking/GameServerSettings.cs
	Subsurface/Source/Networking/NetworkMember.cs
2016-11-24 19:52:40 +02:00