156 Commits

Author SHA1 Message Date
JohnCorby
542bb8f1ce fake sectors: make them for elevators, cache radius, make fast paths for score calculating 2022-03-20 00:02:48 -07:00
JohnCorby
27a8ff163c fake sector now acts like a real sector 2022-03-19 22:55:58 -07:00
JohnCorby
908bf19114 QSBSectorDetector: move score calculation to QSBSector 2022-03-19 21:44:44 -07:00
JohnCorby
ade8d00060 QSBSectorDetector: tidy, account for angular velocity 2022-03-19 20:02:43 -07:00
JohnCorby
e4da50a656 solution-wide: file-scoped namespaces 2022-03-02 19:46:33 -08:00
JohnCorby
a8fba743f6 Revert "solution wide: use file-scoped namespace" 2022-02-27 05:25:39 -08:00
JohnCorby
4ce58220b1 QSBSectorManager: update reference sector only when attached object is active 2022-02-25 23:18:48 -08:00
JohnCorby
9b94f54a45 WorldObjectType -> WorldObjectScene 2022-02-25 23:18:47 -08:00
JohnCorby
182678c4bc solution wide: use file-scoped namespace 2022-02-25 23:18:46 -08:00
JohnCorby
2761d463e1 QSBSectorDetector: improve 2022-02-16 18:27:45 -08:00
JohnCorby
83bec7b75f optimization: MinBy and MaxBy instead of sorting 2022-02-16 18:14:40 -08:00
JohnCorby
edf469d3e4 rename 2022-01-28 20:50:34 -08:00
JohnCorby
2f99dec87f make BuildWorldObjects async 2022-01-28 20:49:07 -08:00
JohnCorby
65f71678a6 remove unneeded check 2022-01-27 02:15:42 -08:00
JohnCorby
a2660d6a54 send initial states less often and not in RequestStateResyncMessage 2022-01-26 00:12:44 -08:00
JohnCorby
1800e6f21f make SendResyncInfo abstract to make sure we handle resyncs 2022-01-25 21:08:04 -08:00
JohnCorby
508670430b remove usings 2022-01-25 19:49:53 -08:00
JohnCorby
c6d0b87c1b wtf 2022-01-21 19:23:29 -08:00
JohnCorby
4e4bb12ad9 remove IsReady for QSBSectorDetector 2022-01-21 17:27:31 -08:00
JohnCorby
56589609d4 use IsValid to check if SyncBase is initialized but not updating 2022-01-21 17:24:54 -08:00
JohnCorby
0eeaba4eb0 more simplifying 2022-01-21 16:52:30 -08:00
JohnCorby
cc4da03a9b Uninit for SectorSync, rename to QSBSectorDetector 2022-01-21 16:38:59 -08:00
JohnCorby
7e1f62666a seperate building and unbuilding of world objects 2022-01-18 00:46:27 -08:00
JohnCorby
2743c8ffa9 move a bunch of WorldObjectManager stuff to QSBWorldSync 2022-01-18 00:27:32 -08:00
JohnCorby
5b8f51afdd major simplify BaseSectoredSync 2022-01-16 05:45:47 -08:00
JohnCorby
85927c2e9d remove old syncbase and friends 2022-01-14 22:39:41 -08:00
JohnCorby
e00aa13461 make getting world object from id or unity object an extension method (and rename) 2021-12-25 22:45:25 -08:00
JohnCorby
3ef26a6da7 implement (might be wrong for some, like maybe AirlockManager? not sure if GhostAirlock shows up in the eye) 2021-12-20 18:41:12 -08:00
JohnCorby
90866b8bc8 remove IRepeating, meant to do this earlier, whoops 2021-12-19 21:17:50 -08:00
JohnCorby
c9d2dfd733 fix 2021-12-18 12:47:37 -08:00
JohnCorby
07caf6129b Merge branch 'dev' into orb-overhaul
# Conflicts:
#	QSB/SectorSync/QSBSectorManager.cs
#	QSB/Syncs/Sectored/BaseSectoredSync.cs
2021-12-18 12:46:38 -08:00
JohnCorby
44afd241ef make a da read only 2021-12-18 12:26:02 -08:00
JohnCorby
828caa9630 remove RepeatingManager 2021-12-18 12:25:16 -08:00
JohnCorby
146b027569 bruh moment number 5 2021-12-18 12:21:43 -08:00
JohnCorby
e293a05d84 move stuff around for fun 2021-12-18 12:18:41 -08:00
JohnCorby
a5dadf76bb remove unused var oops 2021-12-18 12:13:07 -08:00
JohnCorby
e8b219164f more cleanup 2021-12-18 12:08:26 -08:00
Mister_Nebula
82d5e1ee91 aaa 2021-12-18 10:33:18 +00:00
JohnCorby
83e6d26f44 revert sector sync, since there's a bug in dev 2021-12-17 21:34:43 -08:00
JohnCorby
2f3a46dea6 use new init method 2021-12-17 16:26:44 -08:00
JohnCorby
6a54f7bacb apparently the SectorDetector body and the actual body are not the same 2021-12-15 03:17:45 -08:00
JohnCorby
5664b24730 cleaned sector sync 2021-12-13 21:00:53 -08:00
JohnCorby
b5f12796af make syncbase generic 2021-12-13 13:05:49 -08:00
JohnCorby
6a81808bc0 Merge branch 'dev' into worldobject-init 2021-12-11 18:15:12 -08:00
JohnCorby
2414efd65f set AttachedObject and ObjectId in QSBWorldSync.cs, meaning many Init()s can be removed 2021-12-11 14:38:54 -08:00
Mister_Nebula
f6114f1f4f remove sector sync error log 2021-12-10 21:12:11 +00:00
Mister_Nebula
0bd60ddb68 rename variables, fix QSBOWItem (again) 2021-12-04 09:51:27 +00:00
Mister_Nebula
ae8bf9a8b2 aaaaaaaaaa 2021-11-20 19:49:50 +00:00
JohnCorby
e4b54452a4 Merge branch 'dev' into meteors
# Conflicts:
#	QSB/TimeSync/TimeSyncUI.cs
#	QSB/WorldSync/QSBWorldSync.cs
2021-11-14 04:08:37 -08:00
JohnCorby
96c8bb6d1d Revert "revert GetUnityObjects thingy"
This reverts commit 53093ddd66b3522be2eefac10cb3c9da341ee43a.
2021-11-14 03:55:11 -08:00