projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20021130-2-src
[rocksndiamonds.git]
/
src
/
libgame
/
text.h
diff --git
a/src/libgame/text.h
b/src/libgame/text.h
index cd2f04d57609059203eaf206606911b75c95e578..44cdbf152ac276d877ac2590a00fc7b7574b3ee6 100644
(file)
--- a/
src/libgame/text.h
+++ b/
src/libgame/text.h
@@
-18,10
+18,11
@@
/* font types */
/* font types */
-#define FS_
SMALL
0
+#define FS_
INITIAL
0
#define FS_BIG 1
#define FS_MEDIUM 2
#define FS_BIG 1
#define FS_MEDIUM 2
-#define FS_TILE 3
+#define FS_SMALL 3
+#define FS_TILE 4
/* font colors */
#define FC_RED 0
/* font colors */
#define FC_RED 0
@@
-56,6
+57,7
@@
struct FontInfo
{
struct FontInfo
{
+ Bitmap *bitmap_initial;
Bitmap *bitmap_big;
Bitmap *bitmap_medium;
Bitmap *bitmap_small;
Bitmap *bitmap_big;
Bitmap *bitmap_medium;
Bitmap *bitmap_small;
@@
-63,7
+65,7
@@
struct FontInfo
};
};
-void InitFontInfo(Bitmap *, Bitmap *, Bitmap *, Bitmap *);
+void InitFontInfo(Bitmap *, Bitmap *, Bitmap *, Bitmap *
, Bitmap *
);
int getFontWidth(int, int);
int getFontHeight(int, int);
void DrawInitText(char *, int, int);
int getFontWidth(int, int);
int getFontHeight(int, int);
void DrawInitText(char *, int, int);