d2tweaks-rnd2k/include/diablo2/utils/screen.h

13 lines
273 B
C
Raw Normal View History

2024-04-17 03:45:38 +00:00
#pragma once
#include <cstdint>
namespace diablo2 {
namespace utils {
class screen {
public:
static void screen_to_world(int32_t sx, int32_t sy, int32_t& wx, int32_t& wy);
static void world_to_screen(int32_t wx, int32_t wy, int32_t& sx, int32_t& sy);
};
}
}