2014-07-24 14:01:44 +00:00
|
|
|
|
|
|
|
#include "compat.h"
|
|
|
|
#include "build.h"
|
|
|
|
|
|
|
|
#include "names.h"
|
|
|
|
#include "common_game.h"
|
|
|
|
|
2014-07-28 06:44:58 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2014-07-28 06:43:46 +00:00
|
|
|
const char *G_DefaultDefFile(void)
|
|
|
|
{
|
2014-07-28 06:44:58 +00:00
|
|
|
return defaultdeffilename;
|
2014-07-28 06:43:46 +00:00
|
|
|
}
|
2014-07-28 06:44:14 +00:00
|
|
|
const char *G_DefFile(void)
|
|
|
|
{
|
2014-07-28 06:44:58 +00:00
|
|
|
return defaultdeffilename;
|
2014-07-28 06:44:14 +00:00
|
|
|
}
|
2014-07-28 06:43:46 +00:00
|
|
|
|
2014-07-24 14:01:44 +00:00
|
|
|
uint8_t *basepaltable[1] = {
|
|
|
|
palette
|
|
|
|
};
|
|
|
|
|
2015-05-19 22:04:38 +00:00
|
|
|
uint32_t PaletteIndexFullbrights[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
|
|
|
|
|
2014-07-24 14:01:44 +00:00
|
|
|
void Ken_InitMultiPsky(void)
|
|
|
|
{
|
2015-05-27 08:47:34 +00:00
|
|
|
// default
|
|
|
|
psky * const defaultsky = E_DefinePsky(DEFAULTPSKY);
|
|
|
|
defaultsky->lognumtiles = 1;
|
|
|
|
defaultsky->horizfrac = 65536;
|
2014-07-24 14:01:44 +00:00
|
|
|
|
|
|
|
// DAYSKY
|
2015-05-27 08:47:34 +00:00
|
|
|
psky * const daysky = E_DefinePsky(DAYSKY);
|
|
|
|
daysky->lognumtiles = 1;
|
|
|
|
daysky->horizfrac = 65536;
|
2014-07-24 14:01:44 +00:00
|
|
|
|
2015-05-19 22:05:20 +00:00
|
|
|
// NIGHTSKY
|
2015-05-27 08:47:34 +00:00
|
|
|
psky * const nightsky = E_DefinePsky(NIGHTSKY);
|
|
|
|
nightsky->lognumtiles = 3;
|
|
|
|
nightsky->horizfrac = 65536;
|
2014-07-24 14:01:44 +00:00
|
|
|
}
|