Subversion Repositories eduke32

Rev

Rev 5255 | Rev 5348 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5327 hendricks2 1
 
2
#include "compat.h"
3
#include "build.h"
4
 
5
#include "names.h"
6
#include "common_game.h"
7
 
8
static const char *defaultgrpfilename = "stuff.dat";
9
static const char *defaultdeffilename = "kenbuild.def";
10
 
11
const char *G_DefaultGrpFile(void)
12
{
13
    return defaultgrpfilename;
14
}
15
const char *G_GrpFile(void)
16
{
17
    return defaultgrpfilename;
18
}
19
 
20
const char *G_DefaultDefFile(void)
21
{
22
    return defaultdeffilename;
23
}
24
const char *G_DefFile(void)
25
{
26
    return defaultdeffilename;
27
}
28
 
29
uint8_t *basepaltable[1] =
30
{
31
    palette
32
};
33
 
34
uint32_t PaletteIndexFullbrights[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
35
 
36
void Ken_InitMultiPsky(void)
37
{
38
    // default
39
    psky *const defaultsky = E_DefinePsky(DEFAULTPSKY);
40
    defaultsky->lognumtiles = 1;
41
    defaultsky->horizfrac = 65536;
42
 
43
    // DAYSKY
44
    psky *const daysky = E_DefinePsky(DAYSKY);
45
    daysky->lognumtiles = 1;
46
    daysky->horizfrac = 65536;
47
 
48
    // NIGHTSKY
49
    psky *const nightsky = E_DefinePsky(NIGHTSKY);
50
    nightsky->lognumtiles = 3;
51
    nightsky->horizfrac = 65536;
52
}