removed unused processesseessess

This commit is contained in:
33333-33333 2026-06-29 16:21:58 +09:00
commit 4fdc567e08
158 changed files with 1317 additions and 3351 deletions

View file

@ -15,7 +15,7 @@
]);
function mobilePerfHint() {
return Boolean(global.TarinaiInputMode?.snapshot?.().touchFirst || (global.innerWidth || 9999) <= 760);
return Boolean(global.TarinaiInputMode.snapshot().touchFirst || (global.innerWidth || 9999) <= 760);
}
function itemUpdateInterval(item) {
@ -38,7 +38,7 @@
if (item.type === "trace" || item.type === "splat") return mobile ? 1.8 : 1.2;
if (item.type === "ant_corpse") return 3.5;
if (typeof global.isServingFoodType === "function" && global.isServingFoodType(item.type)) return 5.0;
if (typeof isServingFoodType === "function" && isServingFoodType(item.type)) return 5.0;
if (isServingFoodType(item.type)) return 5.0;
return Infinity;
}
@ -75,18 +75,11 @@
return out;
}
function isRealtime(item) {
return itemUpdateInterval(item) <= 0;
}
global.TarinaiItemUpdatePolicy = Object.freeze({
REALTIME_ITEM_TYPES,
PIN_ITEM_TYPES,
SCHEDULED_ITEM_TYPES,
itemUpdateInterval,
forScheduledItems,
ensureBuckets,
candidateItems,
isRealtime,
});
})(typeof window !== "undefined" ? window : globalThis);