stbcc_update_grid function
update a grid square state, 0 = traversable, non-0 is solid i can add a batch-update if it's needed
Implementation
@ffi.Native<
ffi.Void Function(ffi.Pointer<stbcc_grid>, ffi.Int, ffi.Int, ffi.Int)
>()
external void stbcc_update_grid(
ffi.Pointer<stbcc_grid> g,
int x,
int y,
int solid,
);