Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
744 B

5 years ago
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef VGUIFONT_H
#define VGUIFONT_H
#ifdef _WIN32
#pragma once
#endif
// Structure passed to CWin32Font::GetCharsRGBA
struct newChar_t
{
wchar_t wch; // A new character to generate texture data for
int fontWide; // Texel width of the character
int fontTall; // Texel height of the character
int offset; // Offset into the buffer given to GetCharsRGBA
};
#ifdef WIN32
#include "Win32Font.h"
typedef CWin32Font font_t;
#elif defined(POSIX)
5 years ago
#include "linuxfont.h"
typedef CLinuxFont font_t;
#else
#error
#endif
#endif //VGUIFONT_H