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
364 B
16 lines
364 B
#pragma once |
|
|
|
#include "devilution.h" |
|
|
|
#include "DiabloUI/art.h" |
|
|
|
namespace dvl { |
|
|
|
void DrawArt(int screenX, int screenY, Art *art, int nFrame = 0, |
|
decltype(SDL_Rect().w) srcW = 0, decltype(SDL_Rect().h) srcH = 0); |
|
|
|
void DrawAnimatedArt(Art *art, int screenX, int screenY); |
|
|
|
int GetAnimationFrame(int frames, int fps = 60); |
|
|
|
} // namespace dvl
|
|
|