You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
478 B
16 lines
478 B
#pragma once |
|
|
|
#include "DiabloUI/art.h" |
|
#include "engine.h" |
|
|
|
namespace devilution { |
|
|
|
void DrawArt(Sint16 screenX, Sint16 screenY, Art *art, int nFrame = 0, Uint16 srcW = 0, Uint16 srcH = 0); |
|
|
|
void DrawArt(const CelOutputBuffer &out, Sint16 screenX, Sint16 screenY, Art *art, int nFrame = 0, Uint16 srcW = 0, Uint16 srcH = 0); |
|
|
|
void DrawAnimatedArt(Art *art, int screenX, int screenY); |
|
|
|
int GetAnimationFrame(int frames, int fps = 60); |
|
|
|
} // namespace devilution
|
|
|