Go to the documentation of this file.
54 float frow, fcol, size;
58 if ((num & 127) == 32)
75 fcol, frow, size, size };
89 if (
name[0] !=
'/' &&
name[0] !=
'\\')
187 (float)
x / 64.0, (
float)
y / 64.0,
188 (float)
w / 64.0, (
float)h / 64.0 };
208 if ((
unsigned)c > 255)
215 color.v[0] / 255.f, color.v[1] / 255.f, color.v[2] / 255.f, 1.f };
247 unsigned image32[256 * 256];
262 hscale = rows / 256.0;
265 t = rows * hscale / 256;
269 for (
i = 0;
i < trows;
i++)
271 row = (
int)(
i*hscale);
274 source = data + cols * row;
275 dest = &image32[
i * 256];
276 fracstep = cols * 0x10000 / 256;
277 frac = fracstep >> 1;
278 for (
j = 0;
j < 256;
j++)
#define QVk_DebugSetObjectName(a, b, c)
image_t * Draw_FindPic(char *name)
void Draw_Fill(int x, int y, int w, int h, int c)
CONST PIXELFORMATDESCRIPTOR int
void QVk_DrawColorRect(float *ubo, VkDeviceSize uboSize, qvkrenderpasstype_t rpType)
void Draw_GetPicSize(int *w, int *h, char *pic)
void Draw_Char(int x, int y, int num)
void Draw_FadeScreen(void)
VkDeviceMemory deviceMemory
Handle to Vulkan memory object.
cvar_t *(* Cvar_Get)(char *name, char *value, int flags)
qvksampler_t vk_current_sampler
unsigned r_rawpalette[256]
void Draw_InitLocal(void)
VkDescriptorSet descriptorSet
void(* Con_Printf)(int print_level, char *str,...)
VmaAllocationInfo allocInfo
void Draw_TileClear(int x, int y, int w, int h, char *pic)
void QVk_CreateTexture(qvktexture_t *texture, const unsigned char *data, uint32_t width, uint32_t height, qvksampler_t samplerType)
void(* Sys_Error)(int err_level, char *str,...)
image_t * Vk_FindImage(char *name, imagetype_t type, qvksampler_t *samplerType)
void QVk_UpdateTextureData(qvktexture_t *texture, const unsigned char *data, uint32_t offset_x, uint32_t offset_y, uint32_t width, uint32_t height)
void Draw_Pic(int x, int y, char *pic)
unsigned d_8to24table[256]
void Draw_StretchPic(int x, int y, int w, int h, char *pic)
void QVk_DrawTexRect(float *ubo, VkDeviceSize uboSize, qvktexture_t *texture)
qvktexture_t vk_rawTexture
void Draw_StretchRaw(int x, int y, int w, int h, int cols, int rows, byte *data)
GLdouble GLdouble GLdouble w
#define QVVKTEXTURE_CLEAR(i)
void Com_sprintf(char *dest, int size, char *fmt,...)