Files
bluflame/evoke-64k/bp10/city.h
2026-04-18 22:31:51 +02:00

50 lines
1.4 KiB
C

#pragma once
#include <d3dx9.h>
#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 );