projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved robustness of client/server encoding functions
[rocksndiamonds.git]
/
src
/
libgame
/
text.h
diff --git
a/src/libgame/text.h
b/src/libgame/text.h
index 24c1fd1fee4172826f8bb1d34d1cbcf6d8abd5bb..407cb31a481e91bb90650985e16e147810246677 100644
(file)
--- a/
src/libgame/text.h
+++ b/
src/libgame/text.h
@@
-4,7
+4,7
@@
// (c) 1995-2014 by Artsoft Entertainment
// Holger Schemel
// info@artsoft.org
// (c) 1995-2014 by Artsoft Entertainment
// Holger Schemel
// info@artsoft.org
-// http://www.artsoft.org/
+// http
s
://www.artsoft.org/
// ----------------------------------------------------------------------------
// text.h
// ============================================================================
// ----------------------------------------------------------------------------
// text.h
// ============================================================================
@@
-16,16
+16,16
@@
// default fonts
// default fonts
-#define
FONT_INITIAL_1
0
-#define
FONT_INITIAL_2
1
-#define
FONT_INITIAL_3
2
-#define
FONT_INITIAL_4
3
+#define
MAIN_FONT_INITIAL_1
0
+#define
MAIN_FONT_INITIAL_2
1
+#define
MAIN_FONT_INITIAL_3
2
+#define
MAIN_FONT_INITIAL_4
3
// font colors
// font colors
-#define FC_RED FONT_INITIAL_1
-#define FC_BLUE FONT_INITIAL_2
-#define FC_GREEN FONT_INITIAL_3
-#define FC_YELLOW FONT_INITIAL_4
+#define FC_RED
MAIN_
FONT_INITIAL_1
+#define FC_BLUE
MAIN_
FONT_INITIAL_2
+#define FC_GREEN
MAIN_
FONT_INITIAL_3
+#define FC_YELLOW
MAIN_
FONT_INITIAL_4
// text output definitions
#define MAX_OUTPUT_LINESIZE 1024
// text output definitions
#define MAX_OUTPUT_LINESIZE 1024
@@
-92,6
+92,8
@@
void getFontCharSource(int, char, Bitmap **, int *, int *);
int maxWordLengthInRequestString(char *);
void DrawInitText(char *, int, int);
int maxWordLengthInRequestString(char *);
void DrawInitText(char *, int, int);
+void DrawInitTextHead(char *);
+void DrawInitTextItem(char *);
void DrawTextF(int, int, int, char *, ...);
void DrawTextFCentered(int, int, char *, ...);
void DrawTextF(int, int, int, char *, ...);
void DrawTextFCentered(int, int, char *, ...);