FTEQW
Documentation of the FTE engine source tree.
|
Typedefs | |
typedef struct mentity_s | mentity_t |
typedef struct llightinfo_s | llightinfo_t |
Functions | |
void | LightShutdown (struct relight_ctx_s *ctx) |
struct relight_ctx_s * | LightStartup (struct relight_ctx_s *ctx, model_t *model, qboolean shadows, qboolean skiplit) |
void | LightReloadEntities (struct relight_ctx_s *ctx, const char *entstring, qboolean ignorestyles) |
void | LightPlane (struct relight_ctx_s *ctx, struct llightinfo_s *l, lightstyleindex_t surf_styles[MAXCPULIGHTMAPS], unsigned int *surf_expsamples, qbyte *surf_rgbsamples, qbyte *surf_deluxesamples, vec4_t surf_plane, vec4_t surf_texplanes[2], vec2_t exactmins, vec2_t exactmaxs, int texmins[2], int texsize[2], float lmscale) |
void | RelightTerminate (model_t *mod) |
qboolean | RelightSetup (model_t *model, size_t lightsamples, qboolean generatelit) |
const char * | RelightGetProgress (float *progress) |
void | RelightThink (void) |
Variables | |
const size_t | lightthreadctxsize = sizeof(llightinfo_t) |
typedef struct llightinfo_s llightinfo_t |
typedef struct mentity_s mentity_t |
void LightPlane | ( | struct relight_ctx_s * | ctx, |
struct llightinfo_s * | l, | ||
lightstyleindex_t | surf_styles[MAXCPULIGHTMAPS], | ||
unsigned int * | surf_expsamples, | ||
qbyte * | surf_rgbsamples, | ||
qbyte * | surf_deluxesamples, | ||
vec4_t | surf_plane, | ||
vec4_t | surf_texplanes[2], | ||
vec2_t | exactmins, | ||
vec2_t | exactmaxs, | ||
int | texmins[2], | ||
int | texsize[2], | ||
float | lmscale | ||
) |
void LightReloadEntities | ( | struct relight_ctx_s * | ctx, |
const char * | entstring, | ||
qboolean | ignorestyles | ||
) |
void LightShutdown | ( | struct relight_ctx_s * | ctx | ) |
struct relight_ctx_s * LightStartup | ( | struct relight_ctx_s * | ctx, |
model_t * | model, | ||
qboolean | shadows, | ||
qboolean | skiplit | ||
) |
const char * RelightGetProgress | ( | float * | progress | ) |
const size_t lightthreadctxsize = sizeof(llightinfo_t) |