Populated the future with scraped mobs.

This system is temporary; meant to ease testing.
This commit is contained in:
2020-08-25 19:42:56 +02:00
parent 60be814e16
commit 3e5101892b
5 changed files with 45 additions and 13 deletions

View File

@@ -1,5 +1,4 @@
#ifndef _NPCCLASS_HPP
#define _NPCCLASS_HPP
#pragma once
#include "CNStructs.hpp"
@@ -21,6 +20,18 @@ public:
// hopefully no collisions happen :eyes:
appearanceData.iNPC_ID = (int32_t)rand();
};
};
#endif
BaseNPC(int x, int y, int z, int type, int hp, int cond, int angle, int barker) {
appearanceData.iX = x;
appearanceData.iY = y;
appearanceData.iZ = z;
appearanceData.iNPCType = type;
appearanceData.iHP = hp;
appearanceData.iAngle = angle;
appearanceData.iConditionBitFlag = cond;
appearanceData.iBarkerType = barker;
// hopefully no collisions happen :eyes:
appearanceData.iNPC_ID = (int32_t)rand();
}
};