- MapTile/LuaTile no longer a FactorioObjectData (it doesn't get sent as a packet)
- trying to optimise the topology so it's faster... almost there but the records are now too large - map tile pngs, multiple zoom levels - use coroutines for faster map tiles
This commit is contained in:
parent
d75233e71e
commit
ea0bfb350b
16 changed files with 441 additions and 97 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by TypeScriptGenerator - do not edit this file manually
|
||||
|
||||
type ObjectName = "LuaPlayer" | "LuaEntity" | "LuaSurface" | "MapChunk" | "LuaTile" | "LuaTiles" | "ConsoleChatMessage";
|
||||
type ObjectName = "LuaPlayer" | "LuaEntity" | "LuaSurface" | "MapChunk" | "LuaTiles" | "ConsoleChatMessage";
|
||||
|
||||
interface FactorioObjectData {
|
||||
objectName: ObjectName;
|
||||
|
|
@ -37,12 +37,6 @@ interface SurfaceData extends FactorioObjectData {
|
|||
objectName: ObjectName;
|
||||
}
|
||||
|
||||
interface MapTile extends FactorioObjectData {
|
||||
objectName: ObjectName;
|
||||
position: MapTilePosition;
|
||||
prototypeName: string;
|
||||
}
|
||||
|
||||
interface MapTiles extends FactorioObjectData {
|
||||
objectName: ObjectName;
|
||||
surfaceIndex: int;
|
||||
|
|
|
|||
|
|
@ -41,3 +41,9 @@ interface MapChunkPosition {
|
|||
x: int;
|
||||
y: int;
|
||||
}
|
||||
|
||||
interface MapTile {
|
||||
objectName: string;
|
||||
position: MapTilePosition;
|
||||
prototypeName: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue