Gene Walters
54de15b0ec
Adding '.network.spawnable' as a network constant
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
AMZN-koppersr
603967d61f
Fixed build issues with Spawnable Entity Aliases.
...
Signed-off-by: AMZN-koppersr <82230785+AMZN-koppersr@users.noreply.github.com>
4 years ago
Esteban Papp
cd5306febf
Merging from development
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
Esteban Papp
59ef6f983f
Removes Driller from ScriptCanvas
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
amzn-sean
38a03817bb
Removal and Replacement of the CryTimer (gEnv->pTimer) ( #5409 )
...
Replaced and removed the CryTimer (gEnv->pTimer). The new TimeSystem is a merger of the current time functionality found in the engine.
* Rename TimeSystemComponent.h/.cpp to TimeSystem.h/.cpp
* Adding New TimeSystem
* remove old timer cvars
* small improvements to the time system.
- updated parts to use the time conversion functions.
- in AdvanceTickDeltaTimes applying t_simulationTickScale is now uses doubles instead of floats.
* Replace gEnv->pTimer / ITimer usages with TimeSystem
* Updating usages of AZ::TimeMs{ 0 } and AZ::TimeUs{ 0 } to AZ::Time::ZeroTimeMs and AZ::Time::ZeroTimeUs
* red code the CryTimer
* using TimeUs instead of TimeMs is some cases + updating usages of old cvars to new
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
4 years ago
Nicholas Van Sickle
8d5dd4e35f
Merge remote-tracking branch 'upstream/stabilization/2110' into nvsickle/StabToDevNov21
...
Signed-off-by: Nicholas Van Sickle <nvsickle@amazon.com>
4 years ago
lumberyard-employee-dm
5fc4551ac0
[LYN-8041] Enable relocation of the Project Game Release Layout ( #5380 )
...
* Enable relocation of the Project Game Release Layout
Relocating the Project Game Release Layout to another directory on the file system failed due to the querying of the engine root failing due to the ComponentApplication::m_engineRoot not using the project path stored in the SettingsRegisry if the engine root cannot be detected
Removed the ApplicationRequestBus GetEngineRoot function.
The ComponentApplicationRequestBus has a function of the same name that returns the same path.
Removed the deprecated GetAppRoot function.
The path it returns has no defined value. It was not the engine root or the project root.
Removed unused CFileUtil and CFileUtil_impl functions that were invoking the ApplicationREquestBus GetEngineRoot function.
On the way to update the functions it was discovered that they aren't called
Added a CalculateBranchToken overload that can populate a fixed_string to avoid heap allocations
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
* Protect against an empty list of artifacts to remove when generating the
engine.pak
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
kberg-amzn
988561920a
Sets up the event scheduler system component for hierarchy tests
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn
dedb367e9a
Remove lots of mock interface code duplication
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn
97e10d8210
Fix mock and benchmark interfaces
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
Olex Lozitskiy
775dda8ed2
NetBindComponent::SetOwningConnectionId is for a hierarchy based on its root's network entity
...
- for hierarchies, on both servers and clients NetBindComponent::SetOwningConnectionId is set for the all involved entities based on the root entity owning connection id
- added new unit tests to cover these scenarios
- all unit tests pass, hierarchy benchmarks remain unaffected
4 years ago
kberg-amzn
214a2899ad
oops =(
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn
2df466228a
fixing one more broken include
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
AMZN-Olex
37873f81cf
Setting owning connection id based on the hierarchy root network entity.
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
kberg-amzn
79b41686c4
Merging latest dev
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
Olex Lozitskiy
9e2eba2829
Network Hierarchy optimizations for rebuilding hierarchies
...
- reworked recursive rebuilding to iterative breadth first method
- some minor optimization here and there
4 years ago
SergeyAMZN
2971dc9a3e
Merge pull request #4425 from aws-lumberyard-dev/NetHierarchyInput
...
Network hierarchy input processing
4 years ago
kberg-amzn
c228e77e1c
Fixes a bunch of bad casts in hierarchy tests
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
Sergey Pereslavtsev
e3a14c0809
Fixed warning about unused local variable
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com>
4 years ago
Sergey Pereslavtsev
faea65e840
Removed pragma once from cpp
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com>
4 years ago
pereslav
725be128aa
tidy up
...
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
AMZN-Olex
ceb9b7afd7
Merge branch 'development' of https://github.com/o3de/o3de into Network/olexl/hierarchy_optimizations_cr
4 years ago
puvvadar
0c141ac210
Const some unit test values
...
Signed-off-by: puvvadar <puvvadar@amazon.com>
4 years ago
kberg-amzn
e6290436fc
Updates mocks for interface changes
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
pereslav
b1a76feead
Added tests. Made network spawnable to serialize in binary
...
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
puvvadar
ba7ff3c8e8
Add Network Input unit tests
...
Signed-off-by: puvvadar <puvvadar@amazon.com>
4 years ago
Gene Walters
9b86749a83
Making sure unit tests using iMultiplayers implement the new AddServerAcceptance events; misc cleanup
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
AMZN-Olex
37d9ef8762
Merge branch 'development' of https://github.com/o3de/o3de into Network/olexl/hierarchy_optimizations_cr
4 years ago
AMZN-Olex
c2a84de38c
Updated mock-like interfaces for benchmarks
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
AMZN-Olex
5cf6236bd9
Fixing development build break
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
AMZN-Olex
d05d5d1e97
Hierarchy components optimizations
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
Olex Lozitskiy
52d3e4c601
[SIG-Network] Google benchmarks for network hierarchy components.
...
First google benchmarks for hierarchy components.
4 years ago
AMZN-Olex
31b2fe427b
Added a helpful comment on hierarchy benchmark
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
puvvadar
91aafdcdde
Fix bad include in NetworkTransformTests
...
Signed-off-by: puvvadar <puvvadar@amazon.com>
4 years ago
kberg-amzn
5acb360fbb
Merge pull request #4253 from aws-lumberyard-dev/MigrationFixup
...
Migration fixup
4 years ago
kberg-amzn
9f209dceea
Fix casing issue with client hierarchy tests
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
AMZN-Olex
3321f9e5ea
First google benchmarks for hierarchy logic.
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
AMZN-Olex
65b82b41d6
Added unittest for an activation test
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
kberg-amzn
8d993494f6
Entity migrations now totally functional again, plus some fixes to network rigid bodies to make them work properly as they migrate around
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
AMZN-Olex
6d005c62f4
Merge branch 'development' of https://github.com/o3de/o3de into Network/olexl/nettransform_local_for_children_cr
4 years ago
AMZN-Olex
4308db0c6d
Debug build clang fixes
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
AMZN-Olex
3c46336ab0
NetTransform replicates local transform for child entities
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
AMZN-Olex
ce1614bd57
Merged with dev
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
AMZN-Olex
cb75607106
Merged dev
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
SergeyAMZN
35517c4e6a
Merge pull request #4023 from aws-lumberyard-dev/MPSpawnableRework
...
Reworked net entities instantiation in order to fix entity references…
4 years ago
AMZN-Olex
5f73061227
Adding client side on-parent-changed logic for Network Transform Component
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
AMZN-Olex
f85a7dfeeb
Merged dev
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
AMZN-Olex
78148ead7c
Unittests for IsHierarchyEnabled
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
puvvadar
3e8fe7df39
Add unit tests for RewindableObject Get and GetPrevious
...
Signed-off-by: puvvadar <puvvadar@amazon.com>
4 years ago
AMZN-Olex
c673988935
Unittest refactoring
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago