MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / bump_InitBumpmaps

Function bump_InitBumpmaps

bitmap/bumpmap.cpp:34–45  ·  view source on GitHub ↗

Sets all the bumpmaps to unused

Source from the content-addressed store, hash-verified

32
33// Sets all the bumpmaps to unused
34void bump_InitBumpmaps() {
35 int i;
36
37 for (i = 0; i < MAX_BUMPMAPS; i++) {
38 GameBumpmaps[i].flags = 0;
39 GameBumpmaps[i].data = NULL;
40 GameBumpmaps[i].cache_slot = -1;
41 Free_bumpmap_list[i] = i;
42 }
43
44 atexit(bump_ShutdownBumpmaps);
45}
46void bump_ShutdownBumpmaps(void) {
47 int i;
48

Callers 1

bm_InitBitmapsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected