mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-01 03:39:16 +00:00
gi_extensions
This commit is contained in:
parent
7f26be2531
commit
d3bb52749f
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user