@adatechnology/game-workers 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.global.js +4 -2
- package/dist/index.global.js.map +1 -1
- package/package.json +2 -2
package/dist/index.global.js
CHANGED
|
@@ -138,7 +138,8 @@ var GameWorkers = (() => {
|
|
|
138
138
|
PIECE_BOXES: "destruction.piece-boxes",
|
|
139
139
|
STATIC_COLLIDERS: "destruction.static-colliders",
|
|
140
140
|
SHAPES_GENERATE: "shapes.generate",
|
|
141
|
-
WORLD_REGION: "world.region"
|
|
141
|
+
WORLD_REGION: "world.region",
|
|
142
|
+
VEHICLE_HULL_PLAN: "vehicles.hull-plan"
|
|
142
143
|
};
|
|
143
144
|
var WORKER_KIND_DEFAULTS = {
|
|
144
145
|
[WORKER_KIND_ID.GROUND_TILES]: { lane: "sim", priority: 300, latencyFrames: 2, late: "sync" },
|
|
@@ -146,7 +147,8 @@ var GameWorkers = (() => {
|
|
|
146
147
|
[WORKER_KIND_ID.PIECE_BOXES]: { lane: "sim", priority: 200, latencyFrames: 2, late: "sync" },
|
|
147
148
|
[WORKER_KIND_ID.STATIC_COLLIDERS]: { lane: "build", priority: 150, late: "sync" },
|
|
148
149
|
[WORKER_KIND_ID.SHAPES_GENERATE]: { lane: "build", priority: 100, late: "sync" },
|
|
149
|
-
[WORKER_KIND_ID.WORLD_REGION]: { lane: "background", priority: 10, latencyFrames: 10, late: "drop" }
|
|
150
|
+
[WORKER_KIND_ID.WORLD_REGION]: { lane: "background", priority: 10, latencyFrames: 10, late: "drop" },
|
|
151
|
+
[WORKER_KIND_ID.VEHICLE_HULL_PLAN]: { lane: "build", priority: 120, late: "keep-waiting" }
|
|
150
152
|
};
|
|
151
153
|
var WORKER_INPUT_LOST = "WorkerTaskInputLost";
|
|
152
154
|
|