mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-09 09:54:06 +00:00
some missing exports
This commit is contained in:
parent
f4f7b195ff
commit
634c0635d3
@ -1014,7 +1014,7 @@ EX void set_land(cell *c) {
|
|||||||
set_euland3(c, co1[0], co1[1], dist_alt(c), hash);
|
set_euland3(c, co1[0], co1[1], dist_alt(c), hash);
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_crystal(int sides) {
|
EX void set_crystal(int sides) {
|
||||||
stop_game();
|
stop_game();
|
||||||
set_geometry(gCrystal);
|
set_geometry(gCrystal);
|
||||||
set_variation(eVariation::pure);
|
set_variation(eVariation::pure);
|
||||||
|
2
game.cpp
2
game.cpp
@ -8748,7 +8748,7 @@ EX bool mightBeMine(cell *c) {
|
|||||||
return c->wall == waMineUnknown || c->wall == waMineMine;
|
return c->wall == waMineUnknown || c->wall == waMineMine;
|
||||||
}
|
}
|
||||||
|
|
||||||
hookset<bool(cell*)> *hooks_mark;
|
EX hookset<bool(cell*)> *hooks_mark;
|
||||||
|
|
||||||
EX void performMarkCommand(cell *c) {
|
EX void performMarkCommand(cell *c) {
|
||||||
if(!c) return;
|
if(!c) return;
|
||||||
|
@ -395,7 +395,7 @@ EX hyperpoint normalize(hyperpoint H) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** get the center of the line segment from H1 to H2 */
|
/** get the center of the line segment from H1 to H2 */
|
||||||
hyperpoint mid(const hyperpoint& H1, const hyperpoint& H2) {
|
EX hyperpoint mid(const hyperpoint& H1, const hyperpoint& H2) {
|
||||||
if(prod) {
|
if(prod) {
|
||||||
auto d1 = product_decompose(H1);
|
auto d1 = product_decompose(H1);
|
||||||
auto d2 = product_decompose(H2);
|
auto d2 = product_decompose(H2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user