raze-gles/source/kenbuild/src/common.cpp
hendricks266 1cc9d13ccf The great repository rearrangement of 2017.
Files moved but not modified. Changes to follow in a subsequent commit.

You down with CPP?

git-svn-id: https://svn.eduke32.com/eduke32@6055 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-01 10:01:11 +00:00

45 lines
899 B
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;
}
void Ken_InitMultiPsky(void)
{
// default
psky_t * const defaultsky = E_DefinePsky(DEFAULTPSKY);
defaultsky->lognumtiles = 1;
defaultsky->horizfrac = 65536;
// DAYSKY
psky_t * const daysky = E_DefinePsky(DAYSKY);
daysky->lognumtiles = 1;
daysky->horizfrac = 65536;
// NIGHTSKY
psky_t * const nightsky = E_DefinePsky(NIGHTSKY);
nightsky->lognumtiles = 3;
nightsky->horizfrac = 65536;
}