Initial Mapbase commit (squashed from mapbase-beta)

This commit is contained in:
Blixibon
2019-08-31 19:28:20 +00:00
parent 0d8dceea43
commit 3d464bc051
816 changed files with 105527 additions and 957 deletions

View File

@@ -19,7 +19,13 @@
#include "threads.h"
#include "pacifier.h"
#ifdef MAPBASE
// This was suggested in that Source 2013 pull request that fixed Vrad.
// I trust their judgement on this.
#define MAX_THREADS 32
#else
#define MAX_THREADS 16
#endif
class CRunThreadsData

View File

@@ -16,9 +16,15 @@
#pragma once
#ifdef MAPBASE
// This was suggested in that Source 2013 pull request that fixed Vrad.
// I trust their judgement on this.
#define MAX_TOOL_THREADS 32
#else
// Arrays that are indexed by thread should always be MAX_TOOL_THREADS+1
// large so THREADINDEX_MAIN can be used from the main thread.
#define MAX_TOOL_THREADS 16
#endif
#define THREADINDEX_MAIN (MAX_TOOL_THREADS)