Commit Graph

174 Commits

Author SHA1 Message Date
JohnCorby
b7c7de206c forgor braces 2022-12-31 18:08:05 -08:00
JohnCorby
a57c4265ae fake sector check 2022-08-29 21:31:13 -07:00
JohnCorby
88871d4a0c make SendInitialState empty virtual lol 2022-08-02 16:53:11 -07:00
JohnCorby
55287814e7 dont do the goofy caching stuff since its not worth the compute 2022-05-03 21:59:00 -07:00
_nebula
5163b75a13
Cache some unity objects (#517) 2022-05-03 08:48:24 +01:00
JohnCorby
64dd596fba todo 2022-04-08 22:26:58 -07:00
JohnCorby
a67afbffeb i am a dumbass 2022-04-08 19:12:51 -07:00
Mister_Nebula
27a92d4b51 fix items 2022-04-01 19:08:03 +01:00
JohnCorby
8964400e19 make CreateFakeSectors not async 2022-03-21 16:37:08 -07:00
JohnCorby
43cf5a49a8 remove fake sector debug renderer 2022-03-21 16:19:06 -07:00
JohnCorby
9d92dec247 better fake sector placement (use existing triggers more) 2022-03-21 16:14:54 -07:00
JohnCorby
6acf9ca620 typo 2022-03-20 18:34:50 -07:00
JohnCorby
c51848e0e4 typo 2022-03-20 02:39:10 -07:00
JohnCorby
17098e1c1e fake sectors: much work, shapes have to be done manually :( 2022-03-20 02:36:14 -07:00
JohnCorby
46a7f6aa3e bruh 2022-03-20 00:50:17 -07:00
JohnCorby
c36de3073f fake sector: comment out debug renderer 2022-03-20 00:39:13 -07:00
JohnCorby
9dcd2e06c9 fake elevator sectors: attach to the collider gameobjects in case they're in a different position from the elevator 2022-03-20 00:36:42 -07:00
JohnCorby
e0a7bc3f23 fake sectors: treat like normal sectors in sector detector 2022-03-20 00:13:40 -07:00
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