Commit Graph

145 Commits

Author SHA1 Message Date
d5b8e44572 Cache networking code generation task results 2023-04-17 11:12:16 +02:00
Wojtek Figat
8a80a26523 Add networking replication codegen for C# array properties with object references or custom structures 2023-04-16 15:30:51 +02:00
Wojtek Figat
2e22abaff9 Refactor C# network replication codegen to be more extendable based on value context source 2023-04-16 14:56:54 +02:00
Wojtek Figat
d38badb54b Add array property replication code-gen for C# networking 2023-04-16 13:00:28 +02:00
Wojtek Figat
2d51332bf7 Rename networking codegen initializer to NetworkingPlugin for C# netcode 2023-04-15 12:05:33 +02:00
Wojtek Figat
e4804db160 Add NetworkRpcParams for sending RPC to specific set of clients or to read sender id 2023-04-15 12:04:40 +02:00
Wojtek Figat
7950c0d9d7 Fix codegen for C# networking when using custom structures for replication and RPCs 2023-03-14 00:02:24 +01:00
Wojtek Figat
7cdd35cc8d Fix network codegen for 6 or more param RPC in C# 2023-03-13 20:36:10 +01:00
Wojtek Figat
6f304040b0 Format code 2023-03-13 20:20:10 +01:00
Wojtek Figat
a41ad511f0 Fix Visual Studio project names collision when using both C++ and C# scripting 2023-03-13 16:10:21 +01:00
f77063f615 Include thirdparty files in the includes cache 2023-02-17 23:20:22 +02:00
df000bc99e Fix linking against C#-only modules
(cherry picked from commit 7ccc0b83ff)
2023-02-16 10:24:07 +01:00
Wojtek Figat
e9fa76c34a Fix RPC codegen 2023-02-10 13:37:02 +01:00
Wojtek Figat
9197d583ce Fix using Ray parameter in Network RPC 2023-02-10 11:07:13 +01:00
Wojtek Figat
07ca64c8a0 Fix using RPC attribute without ctor usage 2023-02-10 11:02:06 +01:00
Wojtek Figat
daff3abdc1 Add engine version defines to C++ game scripts 2023-02-06 11:09:52 +01:00
Wojtek Figat
a175e58107 Add FLAX_X_Y_OR_NEWER to game code defines 2023-02-06 11:09:47 +01:00
Wojciech Figat
df997c8e3c Fix invalid RPC properties gather when using attribute constructor arguments 2023-01-18 13:04:38 +01:00
Wojciech Figat
15fd2e884e Add printing exact source code location on networking bindings generation for C# types 2023-01-18 13:04:10 +01:00
Wojciech Figat
e2e7facad0 Fix using dependency module from nested referenced build in C# 2023-01-18 11:53:30 +01:00
Wojciech Figat
810f7fb803 Fix xcopy path on Windows in Flax.Build 2023-01-12 22:05:35 +01:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
17f9219cd0 Add TargetCompiler to Flax.Build toolchains 2023-01-10 11:45:23 +01:00
Wojtek Figat
58844622a0 Simplify managed method invoke generation for AOT vs JIT platforms 2023-01-08 13:50:45 +01:00
Wojtek Figat
16e7c429fc Minor code cleanup #873 2022-12-28 17:25:30 +01:00
Wojtek Figat
7fcd66588c Merge branch 'includes_cache_lastwrite' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-includes_cache_lastwrite 2022-12-28 17:18:23 +01:00
Wojtek Figat
3a393b6825 Fix crash on Clang-platforms when calling base method from overriden scripting method (C# or Visual Script) 2022-12-28 16:56:52 +01:00
Wojtek Figat
7859e64db1 Fix crash on Clang-platforms when calling base method from overriden scripting method (C# or Visual Script) 2022-12-28 16:28:50 +01:00
5c9a27a6d6 Serialize C++ includes cache results
Almost half the build tool runtime is spent scanning includes in C++-files, now the results are cached and invalidated when files last write timestamp changes.
2022-12-28 14:25:11 +02:00
Wojciech Figat
d544c43744 Style fix 2022-12-08 16:30:58 +01:00
Wojciech Figat
f426c75696 Fix recursive binary modules usage in scripting 2022-12-06 11:43:19 +01:00
Wojciech Figat
e5b4ce06b9 Add support for C# properties automatic replication codegen 2022-11-30 16:19:32 +01:00
Wojciech Figat
2644b4d75a Various improvements to the networking 2022-11-23 17:26:30 +01:00
Wojciech Figat
073bd74b3c Fix replicating client object references on a server 2022-11-23 17:26:29 +01:00
Wojtek Figat
93c0dd704e Merge branch 'master' into 1.5
# Conflicts:
#	Source/Engine/Serialization/Stream.cpp
2022-11-21 15:51:57 +01:00
Wojciech Figat
1dfea17bce Fix client rpc 2022-11-21 14:32:48 +01:00
Wojtek Figat
84bd7da620 Revert part of 5b212bb8bc #743 2022-11-16 17:54:18 +01:00
Wojciech Figat
1b7a7dc15c Add network RPCs to C# codegen 2022-11-16 17:31:28 +01:00
Wojciech Figat
efb48697fa Add network RPCs 2022-11-16 17:31:28 +01:00
Wojciech Figat
007a5cb5ca Add Float2/Float3/Float4 replication in C# 2022-11-03 14:33:39 +01:00
Wojciech Figat
e8d39e706f Add C++ properties replication support 2022-10-27 16:21:53 +02:00
Wojciech Figat
771f8ad02b Add objects spawning to networking 2022-10-24 12:07:16 +02:00
Wojciech Figat
32e052a87b Refactor native Stream serialization to new API 2022-10-20 17:28:12 +02:00
Wojciech Figat
e5866a3ff4 Fix generated replication C# code reference to NetworkStream type 2022-10-20 15:18:21 +02:00
Wojciech Figat
e115aa2c4e Merge remote-tracking branch 'origin/master' into 1.5
# Conflicts:
#	Source/Engine/Content/JsonAsset.cpp
2022-10-19 13:36:46 +02:00
Wojciech Figat
a5a39ac3d6 Fix crash in object id reference replication 2022-10-19 11:35:50 +02:00
Wojciech Figat
7621252f46 Add automatic replication for C# types with fields marked with NetworkReplicated attribute 2022-10-19 09:26:40 +02:00
Wojciech Figat
76b14af7ec Add various improvements 2022-10-18 15:03:56 +02:00
Wojciech Figat
dda4f26102 Add support for custom Action Command in TaskGraph 2022-10-18 15:03:09 +02:00