2021-02-01 20:05:04 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "xash3d_types.h"
|
2021-06-05 21:48:16 +02:00
|
|
|
#include "vk_render.h"
|
2021-02-01 20:05:04 +01:00
|
|
|
|
|
|
|
struct ref_viewpass_s;
|
|
|
|
struct draw_list_s;
|
|
|
|
struct model_s;
|
2021-02-10 01:42:08 +01:00
|
|
|
struct cl_entity_s;
|
2021-02-01 20:05:04 +01:00
|
|
|
|
2021-06-05 21:48:16 +02:00
|
|
|
typedef struct vk_brush_model_s {
|
|
|
|
vk_render_model_t render_model;
|
2021-06-14 18:19:21 +02:00
|
|
|
int num_water_surfaces;
|
2021-06-05 21:48:16 +02:00
|
|
|
} vk_brush_model_t;
|
|
|
|
|
2021-02-01 20:05:04 +01:00
|
|
|
qboolean VK_BrushInit( void );
|
|
|
|
void VK_BrushShutdown( void );
|
2021-04-07 21:11:20 +02:00
|
|
|
|
2021-09-26 18:15:19 +02:00
|
|
|
qboolean VK_BrushModelLoad( struct model_s *mod, qboolean map);
|
2021-04-07 21:11:20 +02:00
|
|
|
void VK_BrushModelDestroy( struct model_s *mod );
|
|
|
|
|
|
|
|
void VK_BrushModelDraw( const struct cl_entity_s *ent, int render_mode );
|
|
|
|
void VK_BrushStatsClear( void );
|