wip(0.S3): outside the runtime, its drawable size, scale, screen and tile size are read and set through its functions; a migration reports such a reference instead of threading the runtime's state
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d70b00f30d
commit
7b17b4a1b9
15 changed files with 46529 additions and 46216 deletions
|
|
@ -625,6 +625,7 @@ function rt_map_random_cell_far(glyph: int, from: IVec2, min_tiles: int) -> IVec
|
|||
var rt_map_solid1: int = 0
|
||||
var rt_map_solid2: int = 0
|
||||
var rt_map_tile_px: int = 16
|
||||
function rt_map_tile_size() -> int { return rt_map_tile_px }
|
||||
function rt_map_is_solid(x: int, y: int) -> bool {
|
||||
if rt_map_solid1 == 0 { return false } # no Solids config: nothing is solid
|
||||
let g = rt_tile(x, y)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue