Files
@ r28098:2f7e0d913c81
Branch filter:
Location: cpp/openttd-patchpack/source/src/linkgraph/linkgraphschedule.h
r28098:2f7e0d913c81
2.6 KiB
text/x-c
Add: Mock sprite cache intialization.
This fills up the sprite cache with SPR_OPENTTD_BASE + OPENTTD_SPRITE_COUNT zero-size sprites, to
allow GetSpriteSize() calls to continue from unit-tests.
This fills up the sprite cache with SPR_OPENTTD_BASE + OPENTTD_SPRITE_COUNT zero-size sprites, to
allow GetSpriteSize() calls to continue from unit-tests.