mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
get_pixel_pointer seems to work
This commit is contained in:
parent
a0fee57d0c
commit
42e720959e
3 changed files with 39 additions and 17 deletions
|
@ -11,4 +11,11 @@ function module.on_world_initialized()
|
|||
ewext.init_particle_world_state(grid_world, chunk_map)
|
||||
end
|
||||
|
||||
function module.on_local_player_spawn()
|
||||
local pix_p = ewext.get_pixel_pointer(0, 0)
|
||||
-- assert(pix_p ~= 0)
|
||||
-- assert(tonumber(ffi.cast("intptr_t", ppixel)) == pix_p)
|
||||
|
||||
end
|
||||
|
||||
return module
|
Loading…
Add table
Add a link
Reference in a new issue