mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1791 3b4a5df2-a311-0410-b5c6-a8a6f20db521
53 lines
945 B
C
53 lines
945 B
C
#ifndef __LOCAL_DEFINES_
|
|
#define __LOCAL_DEFINES_
|
|
|
|
#include "Screens.h"
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
// Make sure the application has a name
|
|
//
|
|
|
|
#define APPLICATION_NAME "Jagged Alliance 2"
|
|
|
|
//
|
|
// Basic defines for the video manager. These represent the starting values
|
|
//
|
|
|
|
#ifdef BOUNDS_CHECKER
|
|
#define WINDOWED_MODE
|
|
#endif
|
|
|
|
#ifdef _DEBUG
|
|
#define WINDOWED_MODE
|
|
#endif
|
|
|
|
extern UINT16 SCREEN_WIDTH;
|
|
extern UINT16 SCREEN_HEIGHT;
|
|
|
|
extern int iResolution; // Resolution id from the ini file
|
|
extern int iPlayIntro;
|
|
extern INT16 iScreenWidthOffset;
|
|
extern INT16 iScreenHeightOffset;
|
|
|
|
extern BOOLEAN fDisplayOverheadMap;
|
|
|
|
#define PIXEL_DEPTH 16
|
|
|
|
//
|
|
// These defines are used as MUTEX handles.
|
|
//
|
|
|
|
#define MAX_MUTEX_HANDLES 32
|
|
|
|
#define REFRESH_THREAD_MUTEX 0
|
|
#define FRAME_BUFFER_MUTEX 1
|
|
#define MOUSE_BUFFER_MUTEX 2
|
|
#define DIRTY_BUFFER_MUTEX 3
|
|
#define SCROLL_MESSAGE_MUTEX 4
|
|
|
|
|
|
#endif |