mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-04 17:57:03 +00:00
velocity converter tiles
This commit is contained in:
parent
25bbd96a72
commit
3f0f4d3fcc
@ -337,7 +337,7 @@ map<char, array<string, pixel_per_block> > submaps = {
|
||||
"gh WW gh",
|
||||
"hg WW hg",
|
||||
}},
|
||||
{'T', {
|
||||
{'T', { /* trampoline */
|
||||
"WWWWWWWWWWWWWWWW",
|
||||
"WYYYYYYYYYYYYYYW",
|
||||
"WYyyyyyyyyyyyyYW",
|
||||
@ -355,6 +355,24 @@ map<char, array<string, pixel_per_block> > submaps = {
|
||||
"WYYYYYYYYYYYYYYW",
|
||||
"WWWWWWWWWWWWWWWW",
|
||||
}},
|
||||
{'V', { /* velocity converter */
|
||||
"WWWWWWWWWWWWWWWW",
|
||||
"WrrrrrrrrrrrrrrW",
|
||||
"WrbbrbbrrbbrbbrW",
|
||||
"WrbbrbbrrbbrbbrW",
|
||||
"WrrrrrrrrrrrrrrW",
|
||||
"WrbbrbbrrbbrbbrW",
|
||||
"WrbbrbbrrbbrbbrW",
|
||||
"WrrrrrrrrrrrrrrW",
|
||||
"WrrrrrrrrrrrrrrW",
|
||||
"WrbbrbbrrbbrbbrW",
|
||||
"WrbbrbbrrbbrbbrW",
|
||||
"WrrrrrrrrrrrrrrW",
|
||||
"WrbbrbbrrbbrbbrW",
|
||||
"WrbbrbbrrbbrbbrW",
|
||||
"WrrrrrrrrrrrrrrW",
|
||||
"WWWWWWWWWWWWWWWW",
|
||||
}},
|
||||
};
|
||||
|
||||
level rotplane(
|
||||
@ -923,7 +941,7 @@ level flyoff(
|
||||
"gggg|!!!gg|gggg!",
|
||||
"gg--*!!!--*--gg!",
|
||||
"gggg|!!!gg|gggg!",
|
||||
"gggggggGGgggggg!",
|
||||
"gggggVVVGgggggg!",
|
||||
"ggggggggggggggg!",
|
||||
"ggggggggggggggg!",
|
||||
"!!!!!!!!!!!!!!!!"
|
||||
|
@ -271,6 +271,12 @@ bool timestamp::check_crashes(level* lev, hyperpoint owhere, hyperpoint oflyvel,
|
||||
tramp_head = heading_angle;
|
||||
}
|
||||
|
||||
else if(ch == 'V') {
|
||||
/* convert velocity on velocity converter */
|
||||
vel = hypot_d(3, flyvel);
|
||||
on_surface = lev;
|
||||
}
|
||||
|
||||
else {
|
||||
/* waste some energy */
|
||||
flyvel = flyvel - dot_d(3, flyvel, dz) * dz;
|
||||
|
Loading…
x
Reference in New Issue
Block a user