d2tweaks-rnd2k/include/diablo2/utils/screen.h
2024-04-16 21:45:38 -06:00

13 lines
273 B
C++

#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);
};
}
}