mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 14:42:07 +00:00
2bc78e7f0a
Doesn't do much other than create an instance and enumerate some stuff, but the build system is working.
189 lines
2.7 KiB
C
189 lines
2.7 KiB
C
/*
|
|
vulkan_draw.c
|
|
|
|
2D drawing support for Vulkan
|
|
|
|
Copyright (C) 2011 Bill Currie <bill@taniwha.org>
|
|
|
|
Author: Bill Currie <bill@taniwha.org>
|
|
Date: 2011/12/23
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License
|
|
as published by the Free Software Foundation; either version 2
|
|
of the License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to:
|
|
|
|
Free Software Foundation, Inc.
|
|
59 Temple Place - Suite 330
|
|
Boston, MA 02111-1307, USA
|
|
|
|
*/
|
|
#ifdef HAVE_CONFIG_H
|
|
# include "config.h"
|
|
#endif
|
|
|
|
#define NH_DEFINE
|
|
#include "namehack.h"
|
|
|
|
#ifdef HAVE_STRING_H
|
|
# include <string.h>
|
|
#endif
|
|
#ifdef HAVE_STRINGS_H
|
|
# include <strings.h>
|
|
#endif
|
|
|
|
#include "QF/cvar.h"
|
|
#include "QF/draw.h"
|
|
#include "QF/dstring.h"
|
|
#include "QF/hash.h"
|
|
#include "QF/quakefs.h"
|
|
#include "QF/sys.h"
|
|
#include "QF/vid.h"
|
|
|
|
#include "QF/Vulkan/qf_draw.h"
|
|
#include "QF/Vulkan/qf_vid.h"
|
|
|
|
#include "r_internal.h"
|
|
|
|
qpic_t *
|
|
vulkan_Draw_MakePic (int width, int height, const byte *data)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_DestroyPic (qpic_t *pic)
|
|
{
|
|
}
|
|
|
|
qpic_t *
|
|
vulkan_Draw_PicFromWad (const char *name)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
qpic_t *
|
|
vulkan_Draw_CachePic (const char *path, qboolean alpha)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_UncachePic (const char *path)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_TextBox (int x, int y, int width, int lines, byte alpha)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_Init (void)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_Character (int x, int y, unsigned int chr)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_String (int x, int y, const char *str)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_nString (int x, int y, const char *str, int count)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_AltString (int x, int y, const char *str)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_CrosshairAt (int ch, int x, int y)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_Crosshair (void)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_Pic (int x, int y, qpic_t *pic)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_Picf (float x, float y, qpic_t *pic)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_SubPic (int x, int y, qpic_t *pic, int srcx, int srcy, int width,
|
|
int height)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_ConsoleBackground (int lines, byte alpha)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_TileClear (int x, int y, int w, int h)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_Fill (int x, int y, int w, int h, int c)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_FadeScreen (void)
|
|
{
|
|
}
|
|
|
|
void
|
|
Vulkan_Set2D (void)
|
|
{
|
|
}
|
|
|
|
void
|
|
Vulkan_Set2DScaled (void)
|
|
{
|
|
}
|
|
|
|
void
|
|
Vulkan_End2D (void)
|
|
{
|
|
}
|
|
|
|
void
|
|
Vulkan_DrawReset (void)
|
|
{
|
|
}
|
|
|
|
void
|
|
Vulkan_FlushText (void)
|
|
{
|
|
}
|
|
|
|
void
|
|
vulkan_Draw_BlendScreen (quat_t color)
|
|
{
|
|
}
|