1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-06-30 15:58:49 +00:00

simplified and generalized cdata

This commit is contained in:
Zeno Rogue
2019-07-21 22:56:10 +02:00
parent a5dc6d40e6
commit d1fb9f3564
8 changed files with 92 additions and 66 deletions
+2
View File
@@ -352,6 +352,8 @@ struct debugScreen {
"Extra value that is important in some lands. The specific meaning depends on the land."); });
dialog::addSelItem("land param (hex)", itsh8(what->landparam), 0);
dialog::addSelItem("land param (heat)", fts(HEAT(what)), 't');
dialog::addSelItem("cdata",
its(getCdata(what, 0))+"/"+its(getCdata(what,1))+"/"+its(getCdata(what,2))+"/"+its(getCdata(what,3))+"/"+itsh(getBits(what)), 't');
dialog::add_action([what] () {
static ld d = HEAT(what);
dialog::editNumber(d, -2, 2, 0.1, d, "landparam",