mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
Double MAXTILES to 30720, reduce EXTRATILES (models w/ custom pal skin) to 3840
I'm decreasing EXTRATILES because I feel that it's way overcommitted. It's the max number of model-tiles that have their own skin for a certain palette, like the slimer egg in the HRP. git-svn-id: https://svn.eduke32.com/eduke32@2267 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
cd89fce9aa
commit
a61052f807
2 changed files with 5 additions and 2 deletions
|
@ -33,7 +33,7 @@ extern "C" {
|
||||||
#define M32_FIXME_WALLS 512
|
#define M32_FIXME_WALLS 512
|
||||||
#define M32_FIXME_SECTORS 2
|
#define M32_FIXME_SECTORS 2
|
||||||
|
|
||||||
#define MAXTILES 15360
|
#define MAXTILES 30720
|
||||||
#define MAXVOXELS 4096
|
#define MAXVOXELS 4096
|
||||||
#define MAXSTATUS 1024
|
#define MAXSTATUS 1024
|
||||||
#define MAXPLAYERS 16
|
#define MAXPLAYERS 16
|
||||||
|
@ -786,7 +786,7 @@ typedef struct
|
||||||
char pal;
|
char pal;
|
||||||
} tile2model_t;
|
} tile2model_t;
|
||||||
|
|
||||||
# define EXTRATILES MAXTILES
|
# define EXTRATILES (MAXTILES/8)
|
||||||
|
|
||||||
EXTERN int32_t mdinited;
|
EXTERN int32_t mdinited;
|
||||||
EXTERN tile2model_t tile2model[MAXTILES+EXTRATILES];
|
EXTERN tile2model_t tile2model[MAXTILES+EXTRATILES];
|
||||||
|
|
|
@ -40,7 +40,10 @@ static int32_t addtileP(int32_t model,int32_t tile,int32_t pallet)
|
||||||
|
|
||||||
UNREFERENCED_PARAMETER(model);
|
UNREFERENCED_PARAMETER(model);
|
||||||
if (curextra==MAXTILES+EXTRATILES-1)
|
if (curextra==MAXTILES+EXTRATILES-1)
|
||||||
|
{
|
||||||
|
initprintf("warning: max EXTRATILES reached\n");
|
||||||
return curextra;
|
return curextra;
|
||||||
|
}
|
||||||
|
|
||||||
if (tile2model[tile].modelid==-1)
|
if (tile2model[tile].modelid==-1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue