@chronodivide/game-api 0.46.0 → 0.48.0
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/CHANGELOG.md +8 -0
- package/dist/index.d.ts +1 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -796,7 +796,7 @@ export declare class ObjectRules {
|
|
|
796
796
|
/** This is an override for art.ini Shadow */
|
|
797
797
|
noShadow: boolean;
|
|
798
798
|
uiName: string;
|
|
799
|
-
static iniSpeedToLeptonsPerTick(iniSpeed: number): number;
|
|
799
|
+
static iniSpeedToLeptonsPerTick(iniSpeed: number, iniMax: number): number;
|
|
800
800
|
static iniRotToDegsPerTick(iniRot: number): number;
|
|
801
801
|
constructor(type: ObjectType, ini: IniSection, index?: number);
|
|
802
802
|
protected parse(): void;
|
|
@@ -1262,8 +1262,6 @@ export declare enum TagRepeatType {
|
|
|
1262
1262
|
/** Data structure for rules.ini tehno types sections (buildings, infantry, vehicles, aircrafts) */
|
|
1263
1263
|
export declare class TechnoRules extends ObjectRules {
|
|
1264
1264
|
static readonly MAX_SIGHT = 11;
|
|
1265
|
-
/** Magic number that corrects infantry/projectile speed relative to vehicles */
|
|
1266
|
-
static readonly MAGIC_SPEED_MULT = 0.65;
|
|
1267
1265
|
/** Countries that can build this */
|
|
1268
1266
|
owner: string[];
|
|
1269
1267
|
/** Side that building belongs to; should match SideType enum values */
|