mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 10:20:32 +00:00
rogueviz:: newconf:: apple default shape
This commit is contained in:
parent
a7f95cfe3d
commit
b6c257a264
@ -105,7 +105,44 @@ vector<string> snake = {
|
||||
"00555555555555555555555555555555500",
|
||||
"00000000000000000000000000000000000"
|
||||
};
|
||||
|
||||
|
||||
vector<string> apple = {
|
||||
"0000000000000000000000000000000",
|
||||
"0000000000000000440000000000000",
|
||||
"0000000000000004114000000000000",
|
||||
"0000000000000004140000000000000",
|
||||
"0000000000000041140000000000000",
|
||||
"0000000000000041140000000000000",
|
||||
"0000004444444441144444440000000",
|
||||
"0000041111111111111111114400000",
|
||||
"0000411111111111111111111140000",
|
||||
"0004111111111111111111111114000",
|
||||
"0041111111111111111111111111400",
|
||||
"0041111111111111111111111111140",
|
||||
"0041111111111111111111111111140",
|
||||
"0411111111111111111111111111140",
|
||||
"0411111111111111111111111111140",
|
||||
"0411111111111111111111111111140",
|
||||
"0411111111111111111111111111140",
|
||||
"0411111111111111111111111111140",
|
||||
"0711111111111111111111111111160",
|
||||
"0511111111111111111111111111150",
|
||||
"0511111111111111111111111111150",
|
||||
"0051111111111111111111111111150",
|
||||
"0051111111111111111111111111500",
|
||||
"0051111111111111111111111111500",
|
||||
"0005111111111111111111111111500",
|
||||
"0005111111111111111111111115000",
|
||||
"0005111111111111111111111115000",
|
||||
"0000511111111111111111111150000",
|
||||
"0000051111111111111111111500000",
|
||||
"0000051111111111111111115000000",
|
||||
"0000005111111111111111150000000",
|
||||
"0000000551111511111115500000000",
|
||||
"0000000005555055555550000000000",
|
||||
"0000000000000000000000000000000"
|
||||
};
|
||||
|
||||
struct coord {
|
||||
int x, y;
|
||||
coord operator + (int d) {
|
||||
@ -416,6 +453,8 @@ void conf_shapes() {
|
||||
dialog::add_action([] { fmap = snake; reset_vxy(); popScreen(); });
|
||||
dialog::addItem("ellipse 50", 'e');
|
||||
dialog::add_action([] { fmap = genellipse(50, hrand(180)); reset_vxy(); popScreen(); });
|
||||
dialog::addItem("apple", 'f');
|
||||
dialog::add_action([] { fmap = apple; reset_vxy(); popScreen(); });
|
||||
dialog::addBreak(100);
|
||||
dialog::addBack();
|
||||
dialog::display();
|
||||
@ -975,6 +1014,8 @@ extern "C" {
|
||||
fmap = snake, reset_vxy();
|
||||
else if(i == 15)
|
||||
pushScreen(pick_pattern);
|
||||
else if(i == 16)
|
||||
fmap = apple, reset_vxy();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user