-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ALIFE] Alife management simplification / sharding manager. (#107)
Signed-off-by: Neloreck <[email protected]>
- Loading branch information
Showing
116 changed files
with
2,111 additions
and
1,617 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
import { ini_file } from "xray16"; | ||
|
||
import { IniFile } from "@/engine/lib/types"; | ||
import type { ISmartTerrainDescriptor } from "@/engine/core/managers/simulation/simulation_types"; | ||
import type { SmartTerrain } from "@/engine/core/objects/smart_terrain"; | ||
import type { Squad } from "@/engine/core/objects/squad"; | ||
import type { IniFile, LuaArray, TName, TNumberId } from "@/engine/lib/types"; | ||
|
||
export const SIMULATION_LTX: IniFile = new ini_file("managers\\simulation\\simulation.ltx"); | ||
export const SIMULATION_OBJECTS_PROPERTIES_LTX: IniFile = new ini_file( | ||
"managers\\simulation\\simulation_objects_props.ltx" | ||
); | ||
|
||
export const simulationConfig = {}; | ||
export const simulationConfig = { | ||
IS_SIMULATION_INITIALIZED: false, | ||
TERRAINS: new LuaTable<TName, SmartTerrain>(), | ||
TERRAIN_DESCRIPTORS: new LuaTable<TNumberId, ISmartTerrainDescriptor>(), | ||
SQUADS: new LuaTable<TNumberId, Squad>(), | ||
// Squads assigned to smart terrains before initialization of terrains. | ||
TEMPORARY_ASSIGNED_SQUADS: new LuaTable<TNumberId, LuaArray<Squad>>(), | ||
}; |
Oops, something went wrong.