mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-06-08 05:42:10 +00:00
RogueViz stuff
This commit is contained in:
@@ -1275,6 +1275,7 @@ void queue_prec(const transmatrix& V, edgeinfo*& ei, color_t col) {
|
||||
|
||||
bool drawVertex(const transmatrix &V, cell *c, shmup::monster *m) {
|
||||
if(m->dead) return true;
|
||||
if(m->type != moRogueviz) return false;
|
||||
int i = m->pid;
|
||||
vertexdata& vd = vdata[i];
|
||||
|
||||
|
||||
@@ -1798,7 +1798,7 @@ EX bool dragonbreath(cell *dragon) {
|
||||
|
||||
void moveMonster(monster *m, int delta) {
|
||||
|
||||
bool inertia_based = m->type == moAsteroid;
|
||||
bool inertia_based = m->type == moAsteroid || m->type == moRogueviz;
|
||||
|
||||
bool stunned = m->stunoff > curtime || m->blowoff > curtime;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user