2021-02-01 20:05:04 +01:00
|
|
|
#pragma once
|
|
|
|
#include "vk_const.h"
|
|
|
|
|
|
|
|
#include "xash3d_types.h"
|
|
|
|
#include "const.h"
|
|
|
|
#include "com_model.h"
|
|
|
|
#include "ref_params.h"
|
|
|
|
|
|
|
|
struct ref_viewpass_s;
|
|
|
|
struct cl_entity_s;
|
|
|
|
|
|
|
|
void VK_SceneInit( void );
|
2021-02-20 23:54:57 +01:00
|
|
|
|
|
|
|
void VK_SceneRender( const struct ref_viewpass_s *rvp );
|
2021-02-01 20:05:04 +01:00
|
|
|
|
|
|
|
qboolean R_AddEntity( struct cl_entity_s *clent, int type );
|
|
|
|
void R_ProcessEntData( qboolean allocate );
|
|
|
|
void R_ClearScreen( void );
|
|
|
|
void R_ClearScene( void );
|
|
|
|
void R_PushScene( void );
|
|
|
|
void R_PopScene( void );
|
|
|
|
|
2023-05-26 19:45:44 +02:00
|
|
|
void R_SceneMapDestroy( void );
|
2021-02-01 20:05:04 +01:00
|
|
|
void R_NewMap( void );
|
|
|
|
void R_RenderScene( void );
|
2021-02-17 22:26:09 +01:00
|
|
|
|
2021-10-30 19:09:32 +02:00
|
|
|
int R_WorldToScreen( const vec3_t point, vec3_t screen );
|
|
|
|
int TriWorldToScreen( const float *world, float *screen );
|
|
|
|
|
2021-02-17 22:26:09 +01:00
|
|
|
// TODO should this be here?
|
|
|
|
int CL_FxBlend( struct cl_entity_s *e );
|
|
|
|
struct beam_s;
|
|
|
|
void CL_DrawBeams( int fTrans, struct beam_s *active_beams );
|
|
|
|
void CL_AddCustomBeam( struct cl_entity_s *pEnvBeam );
|