1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-01 03:39:16 +00:00

gi_extensions

This commit is contained in:
Zeno Rogue 2021-03-31 10:30:03 +02:00
parent 7f26be2531
commit d3bb52749f

View File

@ -93,6 +93,11 @@ struct basic_textureinfo {
vector<glvertex> colors; vector<glvertex> colors;
}; };
/** additional modules can add extra shapes etc. */
struct gi_extension {
~gi_extension() {}
};
/** basic geometry parameters */ /** basic geometry parameters */
struct geometry_information { struct geometry_information {
@ -460,6 +465,8 @@ hpcshape
int timestamp; int timestamp;
hpcshape& generate_pipe(ld length, ld width); hpcshape& generate_pipe(ld length, ld width);
map<string, unique_ptr<gi_extension>> ext;
}; };
#endif #endif