Commit Graph

33 Commits

Author SHA1 Message Date
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>
2021-11-15 12:11:58 +00:00
kberg-amzn 3040f74c41 Merging latest development
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-10-14 19:17:10 -07:00
kberg-amzn 4449e83c3b Further fixes to get client migrations functional, plus a bug fix from the netBindComponent lookup optimization
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-10-08 21:27:31 -07:00
kberg-amzn 18340f2b1b Changes to get client migration partially functional
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-10-06 18:57:45 -07:00
puvvadar 170a32d667 Merge latest to mp_handshake_conndata
Signed-off-by: puvvadar <puvvadar@amazon.com>
2021-10-04 13:58:09 -07:00
puvvadar 2811a84187 Move did handshake logic to connection data plus an optimization
Signed-off-by: puvvadar <puvvadar@amazon.com>
2021-09-30 19:59:34 -07:00
kberg-amzn 02bc89cd92 Fixes to sending entity updates and entity rpcs within an environment set up for cross host entity migration
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-09-28 19:25:04 -07:00
kberg-amzn f837f0494b many bug fixes
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-09-23 18:25:46 -07:00
kberg-amzn d28bcbe027 Reverts changes to component application and adds further client migration handling hookup
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-09-21 19:33:59 -07:00
kberg-amzn 6e84495975 Changes to make client and entity migration functional, needed in the event of a host quitting necessitating a host migration
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-09-17 16:48:16 -07:00
Steve Pham 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213)
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines

Signed-off-by: Steve Pham <spham@amazon.com>
2021-07-16 15:25:48 -07:00
Chris Galvan d7574777a8 Resolved merge conflicts
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-07-02 12:42:44 -05:00
Steve Pham b4a2edec6a Final update copyright headers to reference license files at the repo root (#1693)
* Final update copyright headers to reference license files at the repo root

Signed-off-by: spham <spham@amazon.com>

* Fix copyright validator unit tests to support the stale O3DE header scenario

Signed-off-by: spham <spham@amazon.com>
2021-06-30 19:51:55 -07:00
Gene Walters 4e14c0069b Merge branch 'upstream/stabilization/2106' into genewalt/gitflow_210628 2021-06-28 19:09:20 -07:00
Olex Lozitskiy be56cf648d sig/network - bugfix - removal of player prefabs on disconnect
sig/network - bugfix - removal of player prefabs on disconnect
2021-06-24 15:01:41 -05:00
Steve Pham 70042fcdcd O3DE Copyright Updates for Linux Foundation (#1504) 2021-06-23 10:55:22 -07:00
AMZN-Olex e5aa56d565 Added a runtime switch to turn on/off removal of player spawnable on disconnect 2021-06-23 09:38:43 -04:00
AMZN-Olex fcbec8c202 Fixed removal of player's prefab on disconnect 2021-06-22 14:55:45 -04:00
puvvadar 59d0a8817e Fix inconsistent naming and cover edge case 2021-06-08 22:56:53 -07:00
puvvadar cd5867d2fa Cleanup session changes and add on connection disconnected event 2021-06-08 16:43:36 -07:00
puvvadar fa55b495c4 Add handling for session provider ticket 2021-06-08 13:36:27 -07:00
karlberg 5acdc40595 Many fixes for external gem multiplayer components and component network inputs, fixes an uninitialized variable resulting in continual desyncs, restructures our public includes to match the directory structure of source, allows autogen artefacts to be included by external gems, allowing for external multiplayer components to interact with multiplayer gem components with no extra code 2021-05-14 14:24:33 -07:00
karlberg 254ad165c1 A bunch of work to get external multiplayer components to actually work 2021-05-12 16:01:59 -07:00
karlberg b2b632aede Bug fixes for stats and for sending rpc and property updates from the client 2021-05-06 19:39:31 -07:00
karlberg a1fe8fe419 Ported the local prediction player controller component 2021-05-05 20:07:16 -07:00
karlberg 6bb51bd9e4 Merging latest origin 2021-04-27 19:14:11 -07:00
karlberg 138b10c902 Unity build fixes 2021-04-27 14:19:41 -07:00
pereslav e3b016deba PR feedback addressing 2021-04-27 14:57:36 +01:00
pereslav 008c653524 Added ReadyForEntityUpdates message allowing the server to send entity updates 2021-04-26 13:30:35 +01:00
karlberg ca3df5d6c8 Various bug fixes to get entity replication working 2021-04-13 20:24:08 -07:00
alexpete 1044dc3da1 Integrating github/staging through commit ab87ed9 2021-04-09 11:27:37 -07:00
alexpete c2cbd430fe Integrating up through commit 90f050496 2021-04-07 14:03:29 -07:00
alexpete 75dc720198 Integrating latest 47acbe8 2021-03-25 13:57:57 -07:00