_Str_3008 -> spriteCount

This commit is contained in:
Dank074 2021-05-09 02:23:18 -05:00
parent 2721da03b7
commit 7b446c5074
3 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ export class SpriteDataCollector
private static _Str_17558: number = 30; private static _Str_17558: number = 30;
private _Str_6409: number; private _Str_6409: number;
private _Str_3008: number = 0; private spriteCount: number = 0;
private _Str_18433: number = 0; private _Str_18433: number = 0;
private static _Str_22230(k: RoomObjectSpriteData[], _arg_2: RoomEngine): RoomObjectSpriteData[] private static _Str_22230(k: RoomObjectSpriteData[], _arg_2: RoomEngine): RoomObjectSpriteData[]
@ -197,7 +197,7 @@ export class SpriteDataCollector
if(!this._Str_6409) this._Str_6409 = _local_9.z; if(!this._Str_6409) this._Str_6409 = _local_9.z;
this._Str_3008++; this.spriteCount++;
} }
} }
@ -319,7 +319,7 @@ export class SpriteDataCollector
_local_9 = ((this._Str_6409) ? this._Str_6409 : 0); _local_9 = ((this._Str_6409) ? this._Str_6409 : 0);
} }
_local_9 = (_local_9 + ((this._Str_3008 * 1.776104) + (_arg_3.length * 2.31743))); _local_9 = (_local_9 + ((this.spriteCount * 1.776104) + (_arg_3.length * 2.31743)));
const _local_10 = new PlaneDrawingData(null, _arg_2); const _local_10 = new PlaneDrawingData(null, _arg_2);

View File

@ -449,7 +449,7 @@ export class RoomSpriteCanvas implements IRoomRenderingCanvas
if(!sortableCache._Str_17574(visualization.instanceId, visualization.updateSpriteCounter) && !update) if(!sortableCache._Str_17574(visualization.instanceId, visualization.updateSpriteCounter) && !update)
{ {
return sortableCache._Str_3008; return sortableCache.spriteCount;
} }
let x = vector.x; let x = vector.x;

View File

@ -15,7 +15,7 @@ export class RoomObjectSortableSpriteCacheItem
this._isEmpty = false; this._isEmpty = false;
} }
public get _Str_3008(): number public get spriteCount(): number
{ {
return this._sprites.length; return this._sprites.length;
} }
@ -75,4 +75,4 @@ export class RoomObjectSortableSpriteCacheItem
this._isEmpty = (this._sprites.length) ? false : true; this._isEmpty = (this._sprites.length) ? false : true;
} }
} }