mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
Original Source for 1.13 Mod High Resolution version from 12/06/05
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
#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 int SCREEN_WIDTH;
|
||||
extern int SCREEN_HEIGHT;
|
||||
|
||||
extern int iResolution; // Resolution id from the ini file
|
||||
extern int iScreenWidthOffset;
|
||||
extern int iScreenHeightOffset;
|
||||
|
||||
#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
|
||||
Reference in New Issue
Block a user