/******************************************************************************
This source file is part of AstroMenace game
(Hardcore 3D space shooter with spaceship upgrade possibilities.)
For the latest info, see http://www.viewizard.com/
File name: Defines.h
Copyright (c) 2006-2007 Michael Kurinnoy, Viewizard
All Rights Reserved.
File Version: 1.2
******************************************************************************
AstroMenace game source code available under "dual licensing" model.
The licensing options available are:
* Commercial Licensing. This is the appropriate option if you are
creating proprietary applications and you are not prepared to
distribute and share the source code of your application.
Contact us for pricing at viewizard@viewizard.com
* Open Source Licensing. This is the appropriate option if you want
to share the source code of your application with everyone you
distribute it to, and you also want to give them the right to share
who uses it. You should have received a copy of the GNU General Public
License version 3 with this source codes.
If not, see .
******************************************************************************/
#ifndef DEFINES_H
#define DEFINES_H
// язык интерфейса
#define EN
//#define DE
//#define RU
// ставим, если демо версия! только в виндовсе!!!
// защита на всякий случай, чтобы в линуксе не включить
#ifdef WIN32
//#define DEMO_VERSION
// если нужно демо версию на базе дата файла полной версии
//#define DEMO_VERSION_FULL_VFS
#endif
#define GAME_VERSION_ID 1.2f
#define GAME_VERSION_BUILD 70914
#define GAME_VERSION_BUILD_Y 2007
#define GAME_VERSION_BUILD_M 9
#define GAME_VERSION_BUILD_D 14
extern char GAME_VERSION[100];
extern char GAME_TITLE[100];
// для разных видов билдов.
// без определений - нормальный, однопоточный билд
// Если билд мульти потоковый (под многоядерный процессоры, или многопроцессорные машины)
// - отдельный поток музыки при загрузке
#define MULTI_THREAD_VERSION
// данные для определения папки пользователя
#ifdef WIN32
#include
#define SD_APPDATA 0x001a
#define SD_DESKTOPDIRECTORY 0x0010 // \Desktop
typedef BOOL (WINAPI *SHGETSPECIALFOLDERPATH)(HWND hwndOwner, LPTSTR lpszPath, int nFolder, BOOL fCreate);
extern SHGETSPECIALFOLDERPATH pSHGetSpecialFolderPath;
#endif // WIN32
// кол-во оружия/слотов на кораблях землян
#define EarthShipsMaxWeapon 6
#endif // DEFINES_H