2021-01-31 00:31:23 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "const.h"
|
|
|
|
#include "com_model.h"
|
2021-10-26 18:56:16 +02:00
|
|
|
#include "protocol.h"
|
2021-01-31 00:31:23 +01:00
|
|
|
|
|
|
|
#define BLOCK_SIZE_MAX 1024
|
|
|
|
#define BLOCK_SIZE BLOCK_SIZE_MAX
|
|
|
|
|
2021-10-26 18:56:16 +02:00
|
|
|
typedef struct {
|
|
|
|
int lightstylevalue[MAX_LIGHTSTYLES]; // value 0 - 65536
|
|
|
|
} xvk_lightmap_state_t;
|
|
|
|
|
|
|
|
extern xvk_lightmap_state_t g_lightmap;
|
|
|
|
|
2021-01-31 00:31:23 +01:00
|
|
|
void VK_ClearLightmap( void );
|
|
|
|
void VK_CreateSurfaceLightmap( msurface_t *surf, const model_t *loadmodel );
|
|
|
|
void VK_UploadLightmap( void );
|
2021-02-03 19:06:21 +01:00
|
|
|
void VK_RunLightStyles( void );
|