mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-18 02:01:39 +00:00
f33887b2f8
git-svn-id: https://svn.eduke32.com/eduke32@5255 1a8010ca-5511-0410-912e-c29ae57300e0
51 lines
1 KiB
C
51 lines
1 KiB
C
|
|
#include "compat.h"
|
|
#include "build.h"
|
|
|
|
#include "names.h"
|
|
#include "common_game.h"
|
|
|
|
static const char *defaultgrpfilename = "stuff.dat";
|
|
static const char *defaultdeffilename = "kenbuild.def";
|
|
|
|
const char *G_DefaultGrpFile(void)
|
|
{
|
|
return defaultgrpfilename;
|
|
}
|
|
const char *G_GrpFile(void)
|
|
{
|
|
return defaultgrpfilename;
|
|
}
|
|
|
|
const char *G_DefaultDefFile(void)
|
|
{
|
|
return defaultdeffilename;
|
|
}
|
|
const char *G_DefFile(void)
|
|
{
|
|
return defaultdeffilename;
|
|
}
|
|
|
|
uint8_t *basepaltable[1] = {
|
|
palette
|
|
};
|
|
|
|
uint32_t PaletteIndexFullbrights[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
|
|
|
|
void Ken_InitMultiPsky(void)
|
|
{
|
|
// default
|
|
psky * const defaultsky = E_DefinePsky(DEFAULTPSKY);
|
|
defaultsky->lognumtiles = 1;
|
|
defaultsky->horizfrac = 65536;
|
|
|
|
// DAYSKY
|
|
psky * const daysky = E_DefinePsky(DAYSKY);
|
|
daysky->lognumtiles = 1;
|
|
daysky->horizfrac = 65536;
|
|
|
|
// NIGHTSKY
|
|
psky * const nightsky = E_DefinePsky(NIGHTSKY);
|
|
nightsky->lognumtiles = 3;
|
|
nightsky->horizfrac = 65536;
|
|
}
|