38 void SetViewport(
int screenWidth,
int screenHeight);
ComponentTypeID GetComponentTypeID_Static()
static SDL_Renderer * renderer
Vector WorldToScreen(float worldX, float worldY) const
void SetViewport(int screenWidth, int screenHeight)
Vector ScreenToWorld(float screenX, float screenY) const
static constexpr float TALL_TILE_MULTIPLIER
void Initialize(SDL_Renderer *renderer, int tileWidth, int tileHeight)
void GetVisibleTileRange(int &minX, int &minY, int &maxX, int &maxY) const
bool IsTileVisible(int worldX, int worldY) const
static constexpr int VISIBLE_TILE_PADDING
SDL_Renderer * m_renderer
static constexpr float ISOMETRIC_OFFSET_Y
float CalculateCullingMargin() const
static constexpr float CULL_MARGIN
void SetCamera(float camX, float camY, float zoom)
constexpr uint32_t TILE_ID_MASK
constexpr uint32_t FLIPPED_VERTICALLY_FLAG
constexpr uint32_t FLIPPED_DIAGONALLY_FLAG
constexpr uint32_t FLIPPED_HORIZONTALLY_FLAG