MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getAnimationOffset

Method getAnimationOffset

src/Savegame/Tile.cpp:699–702  ·  view source on GitHub ↗

* Get the number of frames the fire or smoke animation is off-sync. * To void fire and smoke animations of different tiles moving nice in sync - it looks fake. * @return offset */

Source from the content-addressed store, hash-verified

697 * @return offset
698 */
699int Tile::getAnimationOffset() const
700{
701 return _animationOffset;
702}
703
704/**
705 * Add an item on the tile.

Callers 1

drawTerrainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected