Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ get_new_texpos
Method
get_new_texpos
library/modules/Textures.cpp:40–44 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
this->is_installed = true;
39
}
40
long get_new_texpos() {
41
if (this->current == this->end)
42
return -1;
43
return this->current++;
44
}
45
46
static const int32_t size = 10000; // size of reserved texpos buffer
47
int32_t start = -1;
Callers
1
loadTexture
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected