update font
This commit is contained in:
parent
2608502217
commit
5a2f965295
12 changed files with 2066 additions and 2701 deletions
|
|
@ -17,7 +17,7 @@ GSDECL unsigned int GSFileSize(GSFile file);
|
|||
GSDECL void GSFileClose(GSFile file);
|
||||
|
||||
/* getline.c */
|
||||
GSDECL int GSFileGetLine(char** lineptr, int* n, FILE* fp);
|
||||
GSDECL int GSFileGetLine(GSFile file, char** lineptr, int* n);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,15 +16,19 @@ extern "C" {
|
|||
GSDECL GSBool GSGLShaderPrepare(GSGL gl, GLuint* shader, const char* vs, const char* fs);
|
||||
|
||||
/* gl_texture.c */
|
||||
GSDECL void GSGLTexturePrepare(GSGL gl, GLuint* texture, unsigned char* rgba, int width, int height);
|
||||
GSDECL void GSGLTextureLoad(GSGL gl, GLuint* texture, unsigned char* rgba, int width, int height); /* you probably don't want this. use GSGLTexturePrepare */
|
||||
GSDECL void GSGLTextureSet(GSGL gl, GLuint texture);
|
||||
GSDECL void GSGLTextureDelete(GSGL gl, GLuint texture);
|
||||
|
||||
/* gl_common.c */
|
||||
GSDECL void GSGLTexturePrepareEx(GSGL gl, GLuint* texture, unsigned char* rgba, int width, int height, int expand);
|
||||
GSDECL void GSGLTexturePrepare(GSGL gl, GLuint* texture, unsigned char* rgba, int width, int height);
|
||||
GSDECL GSBool GSGLTextureLoadFile(GSGL gl, GLuint* texture, int* width, int* height, const char* filename);
|
||||
GSDECL GSBool GSGLTextureLoadFileEx(GSGL gl, GLuint* texture, int* width, int* height, const char* filename, int expand);
|
||||
GSDECL GSBool GSGLTextureTry(GSGL gl, GLuint* texture, int* width, int* height, const char* prefix);
|
||||
GSDECL void GSGLTextEx(GSGL gl, double x, double y, double sx, double sy, const char* text);
|
||||
GSDECL void GSGLText(GSGL gl, double x, double y, const char* text);
|
||||
GSDECL GSBool GSGLTextureTryEx(GSGL gl, GLuint* texture, int* width, int* height, const char* prefix, int expand);
|
||||
GSDECL void GSGLTextEx(GSGL gl, GSNumber x, GSNumber y, const char* text, GSNumber sx, GSNumber sy);
|
||||
GSDECL void GSGLText(GSGL gl, GSNumber x, GSNumber y, const char* text);
|
||||
GSDECL double GSGLTextWidth(GSGL gl, const char* text);
|
||||
GSDECL double GSGLTextHeight(GSGL gl, const char* text);
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ GSDECL void GSMathNormal3x3(GSVector3 r, GSVector3 v0, GSVector3 v1, GSVector3 v
|
|||
GSDECL void GSMathNormal3x4(GSVector3 r, GSVector3 v0, GSVector3 v1, GSVector3 v2, GSVector3 v3);
|
||||
GSDECL void GSMathInvert4x4(GSMatrix4x4 out, GSMatrix4x4 in);
|
||||
GSDECL GSNumber GSMathCot(GSNumber x);
|
||||
GSDECL GSNumber GSMathClosestPOT(GSNumber x);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
|
|
@ -114,6 +114,8 @@ struct _GSClient {
|
|||
GLuint font;
|
||||
int font_width;
|
||||
int font_height;
|
||||
int glyph_width;
|
||||
int glyph_height;
|
||||
GSVector3 look_at;
|
||||
GSVector3 camera;
|
||||
GSVector4 light0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue