quake2ts 0.0.202 → 0.0.204
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/package.json +1 -1
- package/packages/client/dist/browser/index.global.js.map +1 -1
- package/packages/client/dist/tsconfig.tsbuildinfo +1 -1
- package/packages/game/dist/browser/index.global.js +2 -2
- package/packages/game/dist/browser/index.global.js.map +1 -1
- package/packages/game/dist/cjs/index.cjs +9 -1
- package/packages/game/dist/cjs/index.cjs.map +1 -1
- package/packages/game/dist/esm/index.js +9 -1
- package/packages/game/dist/esm/index.js.map +1 -1
- package/packages/game/dist/tsconfig.tsbuildinfo +1 -1
- package/packages/game/dist/types/entities/system.d.ts.map +1 -1
- package/packages/game/dist/types/imports.d.ts +1 -0
- package/packages/game/dist/types/imports.d.ts.map +1 -1
- package/packages/game/dist/types/index.d.ts +2 -0
- package/packages/game/dist/types/index.d.ts.map +1 -1
- package/packages/server/dist/index.cjs +158 -3
- package/packages/server/dist/index.d.cts +3 -0
- package/packages/server/dist/index.d.ts +3 -0
- package/packages/server/dist/index.js +158 -3
|
@@ -3042,6 +3042,8 @@ var EntitySystem = class {
|
|
|
3042
3042
|
multicast: () => {
|
|
3043
3043
|
},
|
|
3044
3044
|
unicast: () => {
|
|
3045
|
+
},
|
|
3046
|
+
configstring: () => {
|
|
3045
3047
|
}
|
|
3046
3048
|
};
|
|
3047
3049
|
this.imports = { ...defaultImports, ...imports };
|
|
@@ -13190,6 +13192,8 @@ function createGame(imports, engine, options) {
|
|
|
13190
13192
|
});
|
|
13191
13193
|
const unicast = imports.unicast || (() => {
|
|
13192
13194
|
});
|
|
13195
|
+
const configstring = imports.configstring || (() => {
|
|
13196
|
+
});
|
|
13193
13197
|
const linkentity = imports.linkentity;
|
|
13194
13198
|
const wrappedLinkEntity = (ent) => {
|
|
13195
13199
|
ent.absmin = {
|
|
@@ -13212,7 +13216,8 @@ function createGame(imports, engine, options) {
|
|
|
13212
13216
|
pointcontents,
|
|
13213
13217
|
linkentity: wrappedLinkEntity,
|
|
13214
13218
|
multicast,
|
|
13215
|
-
unicast
|
|
13219
|
+
unicast,
|
|
13220
|
+
configstring
|
|
13216
13221
|
};
|
|
13217
13222
|
const entities = new EntitySystem(engine, systemImports, gravity, void 0, void 0, deathmatch);
|
|
13218
13223
|
frameLoop.addStage("prep", (context) => {
|
|
@@ -13441,6 +13446,9 @@ function createGame(imports, engine, options) {
|
|
|
13441
13446
|
unicast(ent, reliable, event, ...args) {
|
|
13442
13447
|
unicast(ent, reliable, event, ...args);
|
|
13443
13448
|
},
|
|
13449
|
+
configstring(index, value) {
|
|
13450
|
+
configstring(index, value);
|
|
13451
|
+
},
|
|
13444
13452
|
get time() {
|
|
13445
13453
|
return levelClock.current.timeSeconds;
|
|
13446
13454
|
},
|