Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ reset_tilesets
Function
reset_tilesets
library/modules/Textures.cpp:297–300 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
295
}
296
297
static void reset_tilesets() {
298
DEBUG(textures).print(
"resetting tileset to handle mappings\n"
);
299
g_tileset_to_handles.clear();
300
}
301
302
static void reset_surface() {
303
DEBUG(textures).print(
"deleting cached surfaces\n"
);
Callers
1
cleanup
Method · 0.85
Calls
2
print
Method · 0.45
clear
Method · 0.45
Tested by
no test coverage detected