mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 01:17:39 +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) {
|
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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user