www.pudn.com > 3dterrain.zip > setup.h


// setup.h: interface for the Csetup class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_SETUP_H__83C5C3CF_AA95_4CB7_B35F_0C012BDB3C25__INCLUDED_) 
#define AFX_SETUP_H__83C5C3CF_AA95_4CB7_B35F_0C012BDB3C25__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "bitmap_font.h" 
#define RIADKOV 21 
#define ZNAKOV  36 
#define WX		 (screen_x-ZNAKOV*12)/2		//window_x 
#define WY		 (screen_y-RIADKOV*16)/2   //window_y 
 
class Csetup   
{ 
public: 
	void Render(); 
	float bg_color[3]; 
	float font_color[3]; 
	float aplha; 
	float x,y; 
	int width,height; 
 
	static Font *font; 
	Csetup(); 
	virtual ~Csetup(); 
 
}; 
 
#endif // !defined(AFX_SETUP_H__83C5C3CF_AA95_4CB7_B35F_0C012BDB3C25__INCLUDED_)