Commit Graph
3693 Commits
Author SHA1 Message Date
Tyler YoungandGitHub d776476542 Virtualize all NetIDs to reduce network traffic (#1116) 2020-06-08 13:38:08 +02:00
865c04b264 Add collidable events back in (#1115)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-06-08 13:29:16 +02:00
Pieter-Jan BriersandGitHub ec0f4b35f7 Enable nullable reference types on Robust.Shared and fix all warnings. (#1109) 2020-06-08 01:13:01 +02:00
AcruidandGitHub 12ea903c98 Map Loading (#1110) 2020-06-08 00:56:55 +02:00
ComicIronicandGitHub d631048c1e Remove ScreenToWorld (#1114) 2020-06-08 00:41:59 +02:00
Pieter-Jan Briers dd0cb9f216 Prometheus metrics server.
Thanks to Redline for starting work on this and helping me out on Discord.
2020-06-08 00:12:23 +02:00
ComicIronicandGitHub 15432bf8a7 Fix client CurTime jumps (#1113)
This fixes the issue where CurTime on the client would sometimes jump by
massive values. It was caused by an underflow when the current tick
would be before the most recently cached tick, due to time going in
reverse.
2020-06-07 22:27:19 +02:00
SweptandGitHub a3814dd7c0 Changes PointLightComponent radius from an int to a float. (#1111) 2020-06-07 17:33:03 +02:00
Pieter-Jan BriersandGitHub 761207fcb4 Update build-test.yml 2020-06-07 17:25:33 +02:00
Pieter-Jan BriersandGitHub 096c47a1fe Create build-test.yml 2020-06-07 17:18:35 +02:00
ComicIronicandGitHub b2cb334f03 Add config var loading from environment variables (#1108) 2020-06-06 23:53:05 +02:00
ComicIronicandGitHub caa876dbb3 Fix TickRate causing CurTime jumps (#1106) 2020-06-06 23:50:02 +02:00
Pieter-Jan Briers c3ee136622 Look at me commiting debug parameters into the code. 2020-06-06 21:59:36 +02:00
ClyybberandGitHub 6060a2ff4f Improve occlusion performance and fix a crash (#1107) 2020-06-06 19:45:38 +02:00
ComicIronicandGitHub dec76c9ad9 Fix lasers changing DrawingHandleWorld transform (#1103) 2020-06-06 14:26:33 +02:00
Pieter-Jan Briers 89ef65b335 Add UI scaling helper APIs and fixes tooltip positions with UI scaling. 2020-06-06 14:13:49 +02:00
Pieter-Jan Briers 12c866b8d6 Fix LayoutContainer margins to be virtual pixels. 2020-06-06 14:13:21 +02:00
Pieter-Jan Briers 537b444eae DebugConsole doesn't spam position changes if hidden. 2020-06-06 14:13:00 +02:00
Pieter-Jan Briers 49b452eca4 Fix layout of buttons at higher UI scaling factors. 2020-06-06 13:02:49 +02:00
Pieter-Jan Briers 2a614e9c3d Squashed commit of the following (PR #1081 + fixes):
commit 46881727ce4107bf61e12cbbdbfa702381debb93
Author: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
Date:   Fri Jun 5 23:27:02 2020 +0200

    Fix playing stream storage.

commit 4beef7d66e48c7517ec14f21e0a3ce8db1de57c8
Merge: 6138c00e3 c32f21bea
Author: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
Date:   Fri Jun 5 22:45:11 2020 +0200

    Merge branch 'master' into audio

commit 6138c00e3c
Author: FL-OZ <anotherscuffed@gmail.com>
Date:   Fri Jun 5 14:23:52 2020 -0500

    refine audiosystem changes

commit 21f9c389e8
Author: FL-OZ <anotherscuffed@gmail.com>
Date:   Mon Jun 1 00:50:49 2020 -0500

    remove unused variable

commit ee0cf99edf
Author: FL-OZ <anotherscuffed@gmail.com>
Date:   Fri May 29 00:26:41 2020 -0500

    I THINK that fixed the crash. Not sure exactly what though.

commit 4a2e0b3b18
Author: FL-OZ <anotherscuffed@gmail.com>
Date:   Fri May 29 00:22:30 2020 -0500

    Remove bloat.

commit 1cddcac705
Author: FL-OZ <anotherscuffed@gmail.com>
Date:   Thu May 28 15:35:32 2020 -0500

    fix everything

commit c45dc8fb9d
Author: FL-OZ <anotherscuffed@gmail.com>
Date:   Thu May 28 01:36:45 2020 -0500

    Add server side sound event stopping.
2020-06-05 23:28:14 +02:00
ClyybberandGitHub c32f21bea3 Better sound occlusion (#1102)
* Better occlusion; introduce IntersectRayPenetration

* Use ToArray instead of casting

* Better doc

* Use Debug.Assert
2020-06-05 12:53:43 +02:00
Pieter-Jan Briers dc82748daf Fix some prediction timing anomalies. 2020-06-05 00:14:53 +02:00
Víctor Aguilera Puerto 5c82a4ccb3 Join with MIDI player while stopping it. 2020-06-04 21:03:35 +02:00
Víctor Aguilera Puerto 5473fd183b Ignore invalid MIDI event of type 5 to prevent console spam. 2020-06-04 19:30:46 +02:00
Pieter-Jan Briers ace88ab20b Revert "Make MsgEntity Reliable like the rest."
This reverts commit d81834c913.

I realized while writing the netcode document that `EntityEvent` is a different message group and am now quite ashamed of myself. This should stay as unreliable, probably.
2020-06-04 19:19:03 +02:00
ClyybberandGitHub 39c508feaa Fix c#1046 (#1101) 2020-06-03 22:40:04 +02:00
ClyybberandGitHub 9d6a9d5aa9 Fix #889 (#1100) 2020-06-03 11:52:07 +02:00
ClyybberandGitHub 3f7296eef4 Fix #1023 (#1099) 2020-06-03 11:49:52 +02:00
ShadowCommanderandGitHub 35c23bd905 Fix UI Control focusing (#1097) 2020-06-02 14:40:16 +02:00
ClyybberandGitHub fcdabe98f4 Tiny cleanup (#1098) 2020-06-02 14:40:08 +02:00
Tyler YoungandGitHub 885bcb4f57 Fix up midi stuff, support mild black midis (#1092) 2020-06-02 01:08:56 +02:00
ShadowCommanderandGitHub 1b52093c5d Change buttons to use MouseFilterMode.Stop (#1095) 2020-06-01 15:35:06 +02:00
Pieter-Jan Briers 31c5c9373f GUI tab navigation hotkeys.
Not currently used but I needed these for a quick content hack.
2020-05-31 20:57:47 +02:00
chairbenderandGitHub d148bde02b Command Binding System supporting multiple bindings (#1089) 2020-05-31 20:44:16 +02:00
Pieter-Jan Briers 29083fdb6f Pass WithFormat<T> through IsValueDefault to fix map saving. 2020-05-31 10:53:30 +02:00
Pieter-Jan Briers 34b39b7db5 Fix performance of YamlConstantSerializer.
It was relying on exceptions for normal control flow, absolutely destroying performance when a debugger is attached.

@ComicIronic please review.
2020-05-31 03:26:31 +02:00
Pieter-Jan Briers f9df2b141c Disable load context on server ContentStart. 2020-05-31 01:19:00 +02:00
ComicIronicandGitHub 486fd670e2 Change DrawDepth to int, add content constant hook (#1090)
This allows DrawDepth to be defined in the content layer.
2020-05-31 00:40:48 +02:00
Pieter-Jan Briers 75707c1db0 Use AttachedProperty for TabContainer, TabVisibleProperty. 2020-05-31 00:35:19 +02:00
Pieter-Jan Briers cb3fe9c138 Adds AttachedProperty<T>.
Generics are useful.
2020-05-31 00:34:56 +02:00
ComicIronicandGitHub c9157c8b57 Adds custom YAML serializer for ints in terms of named constants (#1088)
Works similar to the flag serializer, except it allows for magic numbers
to be given names in the YAML.
2020-05-30 12:07:19 +02:00
Víctor Aguilera Puerto 94c868a395 Add missing properties to IMidiRenderer. 2020-05-29 17:19:14 +02:00
Víctor Aguilera Puerto 070ad6989c MIDI improvements
* Handle a few more MIDI events.
* Remove useless MIDI error logging.
* MidiEvent ToString() has useful info.
* Autoload soundfonts from Content.
2020-05-29 17:14:55 +02:00
Pieter-Jan Briers 22615dbf01 Add more useful script globals. 2020-05-28 23:43:34 +02:00
Pieter-Jan Briers daa817a14a Change log file format to be less awful. 2020-05-28 20:18:49 +02:00
Pieter-Jan Briers 9262cdc555 Stop spamming about late msgentity ok? 2020-05-28 19:56:22 +02:00
LeoandGitHub 44fcb0232c Adds theyre text macro (#1080) 2020-05-28 17:47:55 +02:00
Pieter-Jan Briers 9eeb1d1afa Fix compiler warnings 2020-05-28 17:44:31 +02:00
Pieter-Jan Briers 6a1249a922 Fix ordering of early entity messages. 2020-05-28 14:32:46 +02:00
20kdcandGitHub 171a19487b Allow drawing unfilled circles, remove extra (0, 0) point (#1084) 2020-05-28 14:13:45 +02:00