feat: Cleans up UOP file handling. Adds automatic bounds.bin generation (#1744)
### Summary * Unifies reading UOP File indexes * Adds ArtData file reader to get graphic bounds * Automatically generates Bounds.bin from art file if missing * Adds [GenBounds command to regenerate the bounds.bin file. Useful for when the art file changes.
This commit is contained in:
parent
db0621b884
commit
dc118d836f
10 changed files with 680 additions and 382 deletions
|
|
@ -32,10 +32,7 @@ internal static class TileMatrixLoader
|
|||
|
||||
try
|
||||
{
|
||||
foreach (var m in Map.AllMaps)
|
||||
{
|
||||
m.Tiles.Force(); // Forces the map file stream references to load
|
||||
}
|
||||
TileMatrix.Force(); // Forces the tile matrix file stream references to load
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue