1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-21 12:29:43 +00:00

MAJOR refactoring: all geometry-dependent data (tessf, geom3::, shapes, hpc) are now contained in a structure

This commit is contained in:
Zeno Rogue
2019-05-26 18:04:02 +02:00
parent 9c5344289a
commit b6e303ec7d
35 changed files with 3893 additions and 3836 deletions

View File

@@ -338,7 +338,7 @@ struct debugScreen {
if(what) {
#if CAP_SHAPES
queuepoly(gmatrix[what], shAsymmetric, 0x80808080);
queuepoly(gmatrix[what], cgi.shAsymmetric, 0x80808080);
#endif
char buf[200];
sprintf(buf, "%p", what);
@@ -682,13 +682,12 @@ int read_cheat_args() {
else if(argis("-wef")) {
PHASEFROM(2);
shift(); int index = argi();
shift_arg_formula(whatever[index], delayed_geo_reset);
shift_arg_formula(whatever[index]);
}
else if(argis("-wei")) {
PHASEFROM(2);
shift(); int index = argi();
shift(); whateveri[index] = argi();
delayed_geo_reset();
}
else if(argis("-W3")) {
shift(); top_land = readland(args()); cheat();