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.
18 lines
655 B
18 lines
655 B
|
|
#pragma once |
|
|
|
#include <vector> |
|
|
|
#include "hexgame.h" |
|
|
|
bool initRenderer(SDL_Handles &handles, v2i vpDims); |
|
bool addTexture(SDL_Handles &handles, const char * path); |
|
v2f getUnprojectedCoords(int32 x, int32 y, int32 vp_width, int32 vp_height); |
|
bool createScene(std::vector<hex_info>* hexes, Entity* entities, uint32 entity_count); |
|
void moveCamera(bool up, bool left, bool down, bool right, bool forward, bool backward); |
|
void rollCamera(bool CW, bool CCW); |
|
void rotateCamera(int32 xrel, int32 yrel); |
|
void renderFrame(std::vector<hex_info> *hexes, Entity* entities, uint32 entity_count); |
|
void renderDebug(std::vector<Point> &vertices); |
|
void freeBuffers(); |
|
|
|
|