1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-18 07:27:40 +00:00

export everything: modules compiled separately

This commit is contained in:
Zeno Rogue
2019-09-06 08:17:02 +02:00
parent e96d24e8c2
commit 848eb8f48b
47 changed files with 268 additions and 236 deletions

View File

@@ -126,7 +126,7 @@ EX int shapes_merged;
color_t triangle_color, line_color;
vector<glvertex> triangle_vertices;
vector<glvertex> line_vertices;
void glapplymatrix(const transmatrix& V);
EX void glapplymatrix(const transmatrix& V);
#endif
EX void glflush() {
@@ -475,7 +475,7 @@ void drawTexturedTriangle(SDL_Surface *s, int *px, int *py, glvertex *tv, color_
#if CAP_GL
void glapplymatrix(const transmatrix& V) {
EX void glapplymatrix(const transmatrix& V) {
GLfloat mat[16];
int id = 0;
@@ -1746,11 +1746,13 @@ EX void drawqueue() {
}
}
#if HDR
template<class T, class... U> T& queuea(PPR prio, U... u) {
ptds.push_back(unique_ptr<T>(new T (u...)));
ptds.back()->prio = prio;
return (T&) *ptds.back();
}
#endif
#if CAP_SHAPES
EX dqi_poly& queuepolyat(const transmatrix& V, const hpcshape& h, color_t col, PPR prio) {