Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F623730
gfx.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
gfx.h
View Options
/***************************************************************************
gfx.h - description
-------------------
begin : Tue Apr 10 2001
copyright : (C) 2001 by UPi
email : upi@apocalypse.rulez.org
***************************************************************************/
#ifndef _GFX_H
#define _GFX_H
struct
_sge_TTFont
;
enum
GFX_Constants
{
AlignHCenter
=
1
,
AlignVCenter
=
2
,
AlignCenter
=
3
,
UseTilde
=
4
,
UseShadow
=
8
,
};
int
DrawTextMSZ
(
const
char
*
text
,
_sge_TTFont
*
font
,
int
x
,
int
y
,
int
flags
,
int
fg
,
SDL_Surface
*
target
,
bool
a_bTranslate
=
true
);
void
DrawGradientText
(
const
char
*
text
,
_sge_TTFont
*
font
,
int
y
,
SDL_Surface
*
target
,
bool
a_bTranslate
=
true
);
SDL_Color
MakeColor
(
Uint8
r
,
Uint8
g
,
Uint8
b
);
SDLKey
GetKey
();
SDL_Surface
*
LoadBackground
(
const
char
*
a_pcFilename
,
int
a_iNumColors
,
int
a_iPaletteOffset
=
0
);
extern
_sge_TTFont
*
titleFont
;
// Largest font, for titles
extern
_sge_TTFont
*
inkFont
;
// Medium-size front, headings
extern
_sge_TTFont
*
impactFont
;
// Smallest font, for long descriptions
extern
_sge_TTFont
*
chatFont
;
// small but legible.
#ifdef sge_bm_text_H
extern
sge_bmpFont
*
fastFont
;
// In-game text, e.g. combo text
extern
sge_bmpFont
*
creditsFont
;
extern
sge_bmpFont
*
storyFont
;
#endif
#endif
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sat, Nov 14, 9:33 PM (9 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
133581
Default Alt Text
gfx.h (1 KB)
Attached To
Mode
R76 OpenMortal
Attached
Detach File
Event Timeline