diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /mp/src/public/BitmapFontFile.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/public/BitmapFontFile.h')
| -rw-r--r-- | mp/src/public/BitmapFontFile.h | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/mp/src/public/BitmapFontFile.h b/mp/src/public/BitmapFontFile.h index 1e342162..9628c3da 100644 --- a/mp/src/public/BitmapFontFile.h +++ b/mp/src/public/BitmapFontFile.h @@ -1,54 +1,54 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Baked Bitmap fonts
-//
-//===========================================================================
-
-#ifndef _BITMAPFONTFILE_H_
-#define _BITMAPFONTFILE_H_
-
-#include "datamap.h"
-
-#define BITMAPFONT_ID (('T'<<24)|('N'<<16)|('F'<<8)|('V'))
-#define BITMAPFONT_VERSION 3
-
-// style flags
-#define BF_BOLD 0x0001
-#define BF_ITALIC 0x0002
-#define BF_OUTLINED 0x0004
-#define BF_DROPSHADOW 0x0008
-#define BF_BLURRED 0x0010
-#define BF_SCANLINES 0x0020
-#define BF_ANTIALIASED 0x0040
-#define BF_CUSTOM 0x0080
-
-#pragma pack(1) //X360TBD
-typedef struct BitmapGlyph_s
-{
- DECLARE_BYTESWAP_DATADESC();
- short x;
- short y;
- short w;
- short h;
- short a;
- short b;
- short c;
-} BitmapGlyph_t;
-
-typedef struct BitmapFont_s
-{
- DECLARE_BYTESWAP_DATADESC();
- int m_id;
- int m_Version;
- short m_PageWidth;
- short m_PageHeight;
- short m_MaxCharWidth;
- short m_MaxCharHeight;
- short m_Flags;
- short m_Ascent;
- short m_NumGlyphs;
- unsigned char m_TranslateTable[256];
-} BitmapFont_t;
-#pragma pack()
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Baked Bitmap fonts +// +//=========================================================================== + +#ifndef _BITMAPFONTFILE_H_ +#define _BITMAPFONTFILE_H_ + +#include "datamap.h" + +#define BITMAPFONT_ID (('T'<<24)|('N'<<16)|('F'<<8)|('V')) +#define BITMAPFONT_VERSION 3 + +// style flags +#define BF_BOLD 0x0001 +#define BF_ITALIC 0x0002 +#define BF_OUTLINED 0x0004 +#define BF_DROPSHADOW 0x0008 +#define BF_BLURRED 0x0010 +#define BF_SCANLINES 0x0020 +#define BF_ANTIALIASED 0x0040 +#define BF_CUSTOM 0x0080 + +#pragma pack(1) //X360TBD +typedef struct BitmapGlyph_s +{ + DECLARE_BYTESWAP_DATADESC(); + short x; + short y; + short w; + short h; + short a; + short b; + short c; +} BitmapGlyph_t; + +typedef struct BitmapFont_s +{ + DECLARE_BYTESWAP_DATADESC(); + int m_id; + int m_Version; + short m_PageWidth; + short m_PageHeight; + short m_MaxCharWidth; + short m_MaxCharHeight; + short m_Flags; + short m_Ascent; + short m_NumGlyphs; + unsigned char m_TranslateTable[256]; +} BitmapFont_t; +#pragma pack() + #endif
\ No newline at end of file |