mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-24 19:53:15 +00:00
RogueViz stuff
This commit is contained in:
parent
c3975e80ef
commit
dca95aa2aa
@ -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) {
|
bool drawVertex(const transmatrix &V, cell *c, shmup::monster *m) {
|
||||||
if(m->dead) return true;
|
if(m->dead) return true;
|
||||||
|
if(m->type != moRogueviz) return false;
|
||||||
int i = m->pid;
|
int i = m->pid;
|
||||||
vertexdata& vd = vdata[i];
|
vertexdata& vd = vdata[i];
|
||||||
|
|
||||||
|
@ -1798,7 +1798,7 @@ EX bool dragonbreath(cell *dragon) {
|
|||||||
|
|
||||||
void moveMonster(monster *m, int delta) {
|
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;
|
bool stunned = m->stunoff > curtime || m->blowoff > curtime;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user