1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 02:17:40 +00:00

implemented curses

This commit is contained in:
Zeno Rogue
2021-05-02 15:16:29 +02:00
parent 46683b06fe
commit 61891c4eb8
13 changed files with 193 additions and 6 deletions

View File

@@ -503,6 +503,16 @@ void geometry_information::procedural_shapes() {
for(int i=0; i<=S84; i+=SD3)
hpcpush(ddi(i, orbsize * .2) * C0);
bshape(shMoonDisk, PPR::ITEM);
for(int i=0; i<=S84; i+=SD3)
if(i <= S84 * 2 / 3)
hpcpush(ddi(i, orbsize * .2) * C0);
else {
hyperpoint h1 = ddi(i, orbsize * .2) * C0;
hyperpoint h2 = ddi(S84-i*2, orbsize * .2) * C0;
hpcpush(mid(mid(h1,h2), h2));
}
bshape(shHugeDisk, PPR::ITEM);
for(int i=0; i<=S84; i+=SD3)
hpcpush(ddi(i, orbsize * .4) * C0);