MCPcopy Create free account
hub / github.com/assaultcube/AC / texconfig_copy

Function texconfig_copy

source/src/texture.cpp:1133–1138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1131// (pasting will add any missing texture slots)
1132
1133void *texconfig_copy()
1134{
1135 vector<Slot> *s = new vector<Slot>;
1136 loopv(slots) s->add(slots[i]);
1137 return (void *)s;
1138}
1139
1140void texconfig_delete(void *s)
1141{

Callers 1

copyFunction · 0.85

Calls 2

loopvFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected