#pragma once #include #include "intrin.h" void CreateAllBuildings(); float GetCityHeight( float fX, float fY ); void CreateSlicesX( const D3DXVECTOR3& vecCenter, const D3DXVECTOR3& vecExtent, const D3DXVECTOR3& vecRot, DWORD dwColor, int Slices, int SliceMode, float fSliceFac ); void CreateSlicesY( const D3DXVECTOR3& vecCenter, const D3DXVECTOR3& vecExtent, const D3DXVECTOR3& vecRot, DWORD dwColor, int Slices, int SliceMode, float fSliceFac ); void CreateSlicesZ( const D3DXVECTOR3& vecCenter, const D3DXVECTOR3& vecExtent, const D3DXVECTOR3& vecRot, DWORD dwColor, int Slices, int SliceMode, float fSliceFac ); void CreateRoof( const D3DXVECTOR3& vecCenter, const D3DXVECTOR3& vecExtent, const D3DXVECTOR3& vecRot, DWORD dwColor, int Type, float fParams[ 4 ] ); void CreateTower( const D3DXVECTOR3& vecCenter, const D3DXVECTOR3& vecExtent, const D3DXVECTOR3& vecRot, DWORD dwColor, float fInner1X, float fInner2X, float fInner1Z, float fInner2Z, int SlicesX, int SlicesZ, int SlicesY, float fSliceFacX, float fSliceFacZ, float fSliceFacY ); void CreateAdd( const D3DXVECTOR3& vecCenter, const D3DXVECTOR3& vecExtent, const D3DXVECTOR3& vecRot, DWORD dwColor ); void CreateBuilding00( const D3DXVECTOR3& vecPos, float fAddHeight ); void CreateBuilding01( const D3DXVECTOR3& vecPos, float fAddHeight );