9 /*===========================================================================*/
11 /*===========================================================================*/
15 /*===========================================================================*/
17 /*===========================================================================*/
18 #define D3DLTEXT_BITSUSED 0xFFFFFFFF
19 #define MAX_VERTICES 700 // (14*40) 14 per character, 40 characters
20 /*===========================================================================*/
22 /*===========================================================================*/
23 /*===========================================================================*/
25 /*===========================================================================*/
26 typedef struct _d3dText_metrics
35 LPDIRECT3DDEVICE3 lpD3DDevice
;
37 } D3DFONTMETRICS
, *PD3DFONTMETRICS
;
38 /*===========================================================================*/
39 /* Function prototypes. */
40 /*===========================================================================*/
41 extern BOOL
InitD3DText( void );
42 extern void d3dTextDrawCharacter( char *c
, int x
, int y
, PD3DFONTMETRICS pfntMetrics
);
43 extern void d3dTextDrawString( char *pszString
, int x
, int y
, PD3DFONTMETRICS pfntMetrics
);
44 /*===========================================================================*/
45 /* Global variables. */
46 /*===========================================================================*/