mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-21 20:21:19 +00:00
Move MAX_THREADS as define to BuildDefines.h
This commit is contained in:
parent
efbd47f4bc
commit
3c2c603cf4
2 changed files with 4 additions and 1 deletions
|
@ -147,3 +147,7 @@ DOOM III gold: 33
|
||||||
// special game init ids
|
// special game init ids
|
||||||
#define GAME_INIT_ID_INVALID (-1)
|
#define GAME_INIT_ID_INVALID (-1)
|
||||||
#define GAME_INIT_ID_MAP_LOAD (-2)
|
#define GAME_INIT_ID_MAP_LOAD (-2)
|
||||||
|
|
||||||
|
// threads
|
||||||
|
|
||||||
|
#define MAX_THREADS (10)
|
||||||
|
|
|
@ -372,7 +372,6 @@ typedef struct {
|
||||||
size_t threadId;
|
size_t threadId;
|
||||||
} xthreadInfo;
|
} xthreadInfo;
|
||||||
|
|
||||||
const int MAX_THREADS = 10;
|
|
||||||
extern xthreadInfo *g_threads[MAX_THREADS];
|
extern xthreadInfo *g_threads[MAX_THREADS];
|
||||||
extern int g_thread_count;
|
extern int g_thread_count;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue