27 #ifndef __ASTEROID_H_INCL__
28 #define __ASTEROID_H_INCL__
#define sConfig
A macro for easier access to the singleton.
#define _log(type, fmt,...)
static AsteroidItemRef Spawn(ItemData &idata, AsteroidData &adata)
RefPtr< AsteroidItem > AsteroidItemRef
void SetMgr(BeltMgr *beltMgr, uint32 beltID)
static RefPtr< _Ty > _LoadItem(uint32 asteroidID, const ItemType &type, const ItemData &data)
virtual bool IsAsteroidSE()
virtual void EncodeDestiny(Buffer &into)
AsteroidItem(const ItemType &type, const ItemData &idata, const AsteroidData &adata)
AsteroidSE(InventoryItemRef self, PyServiceMgr &services, SystemManager *system)
const ItemType & type() const
Generic class for buffers.
PyTuple * MakeDamageState()
virtual AsteroidSE * GetAsteroidSE()
static AsteroidItemRef SpawnTemp(ItemData &idata, AsteroidData &adata)
static AsteroidItemRef Load(uint32 asteroidID)
static bool GetAsteroidData(uint32 asteroidID, AsteroidData &dbData)
Reference-counting-based smart pointer.