summaryrefslogblamecommitdiffstats
path: root/src/buildings/Building.h
blob: f8ddfa46423bf3fd75c6df8ebc2e3a5e12571bb0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11






                                



                                              

                                                           
 

                                           

                                                            

                                        
#pragma once

#include "Entity.h"

class CBuilding : public CEntity
{
public:
	CBuilding(void) {
		m_type = ENTITY_TYPE_BUILDING;
		bUsesCollision = true;
	}
	static void *operator new(size_t) throw();
	static void operator delete(void*, size_t) throw();

	void ReplaceWithNewModel(int32 id);

	virtual bool GetIsATreadable(void) { return false; }
};

bool IsBuildingPointerValid(CBuilding*);