Subversion Repositories eduke32

Rev

Rev 6055 | Rev 8473 | 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
void Ken_InitMultiPsky(void)
30
{
31
    // default
7540 hendricks2 32
    psky_t * const defaultsky = tileSetupSky(DEFAULTPSKY);
5327 hendricks2 33
    defaultsky->lognumtiles = 1;
34
    defaultsky->horizfrac = 65536;
35
 
36
    // DAYSKY
7540 hendricks2 37
    psky_t * const daysky = tileSetupSky(DAYSKY);
5327 hendricks2 38
    daysky->lognumtiles = 1;
39
    daysky->horizfrac = 65536;
40
 
41
    // NIGHTSKY
7540 hendricks2 42
    psky_t * const nightsky = tileSetupSky(NIGHTSKY);
5327 hendricks2 43
    nightsky->lognumtiles = 3;
44
    nightsky->horizfrac = 65536;
45
}