mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-09-20 18:31:59 +00:00
ads-game:: better ship shape handling
This commit is contained in:
@@ -223,8 +223,6 @@ void view_ads_game() {
|
||||
);
|
||||
|
||||
if(1) {
|
||||
make_shape();
|
||||
|
||||
set<cell*> visited;
|
||||
std::priority_queue<cell_to_draw> dq;
|
||||
auto visit = [&] (cell *c, const ads_matrix& V) {
|
||||
@@ -278,7 +276,7 @@ void view_ads_game() {
|
||||
ld u = (invincibility_pt-ship_pt) / ads_how_much_invincibility;
|
||||
poly_outline = gradient(shipcolor, rsrc_color[rtHull], 0, 0.5 + cos(5*u*TAU), 1);
|
||||
}
|
||||
queuepolyat(shiftless(spin(ang*degree) * Id), shShip, shipcolor, PPR::MONSTER_HAIR);
|
||||
queuepolyat(shiftless(spin(ang*degree) * Id), make_shape(), shipcolor, PPR::MONSTER_HAIR);
|
||||
poly_outline = 0xFF;
|
||||
|
||||
if(view_proper_times) {
|
||||
|
||||
Reference in New Issue
Block a user