mirror of
https://github.com/diasurgical/DevilutionX.git
synced 2026-10-12 02:13:06 +00:00
Untangles dependencies by splitting up `engine.{h,cpp}` into 3 files:
1. `primitive_render`
2. `ticks` -- only contains `GetAnimationFrame` for now.
3. `GetWidth2` renamed to `CalculateSpriteTileCenterX` and moved to `levels/dun_tile.hpp`.
10 lines
158 B
C++
10 lines
158 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace devilution {
|
|
|
|
uint32_t GetAnimationFrame(uint32_t frames, uint32_t fps = 60);
|
|
|
|
} // namespace devilution
|