projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed comments from old to new style (one-line comments only)
[rocksndiamonds.git]
/
src
/
libgame
/
text.h
diff --git
a/src/libgame/text.h
b/src/libgame/text.h
index 0a45204e1fc4fd441ca957d6c30f20daebf23437..24c1fd1fee4172826f8bb1d34d1cbcf6d8abd5bb 100644
(file)
--- a/
src/libgame/text.h
+++ b/
src/libgame/text.h
@@
-15,22
+15,22
@@
#include "system.h"
#include "system.h"
-/
* 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 FONT_INITIAL_1 0
#define FONT_INITIAL_2 1
#define FONT_INITIAL_3 2
#define 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 FONT_INITIAL_1
#define FC_BLUE FONT_INITIAL_2
#define FC_GREEN FONT_INITIAL_3
#define FC_YELLOW FONT_INITIAL_4
-/
* text output definitions */
+/
/ text output definitions
#define MAX_OUTPUT_LINESIZE 1024
#define MAX_OUTPUT_LINESIZE 1024
-/
* special constants for old ISO-8859-1 character byte values */
+/
/ special constants for old ISO-8859-1 character byte values
#define CHAR_BYTE_UMLAUT_A ((char)0xc4)
#define CHAR_BYTE_UMLAUT_O ((char)0xd6)
#define CHAR_BYTE_UMLAUT_U ((char)0xdc)
#define CHAR_BYTE_UMLAUT_A ((char)0xc4)
#define CHAR_BYTE_UMLAUT_O ((char)0xd6)
#define CHAR_BYTE_UMLAUT_U ((char)0xdc)
@@
-43,7
+43,7
@@
#define CHAR_BYTE_DEGREE ((char)0xb0)
#define CHAR_BYTE_CURSOR ((char)0xa0)
#define CHAR_BYTE_DEGREE ((char)0xb0)
#define CHAR_BYTE_CURSOR ((char)0xa0)
-/
* special character mapping for default fonts */
+/
/ special character mapping for default fonts
#define FONT_ASCII_CURSOR ((char)160)
#define FONT_ASCII_BUTTON ((char)128)
#define FONT_ASCII_UP ((char)129)
#define FONT_ASCII_CURSOR ((char)160)
#define FONT_ASCII_BUTTON ((char)128)
#define FONT_ASCII_UP ((char)129)
@@
-67,13
+67,13
@@
(c) == FONT_ASCII_DOWN ? 111 : \
(c))
(c) == FONT_ASCII_DOWN ? 111 : \
(c))
-/
* 64 regular ordered ASCII characters, 6 special characters, 1 cursor char. */
+/
/ 64 regular ordered ASCII characters, 6 special characters, 1 cursor char.
#define MIN_NUM_CHARS_PER_FONT 64
#define DEFAULT_NUM_CHARS_PER_FONT (MIN_NUM_CHARS_PER_FONT + 6 +1)
#define DEFAULT_NUM_CHARS_PER_LINE 16
#define MIN_NUM_CHARS_PER_FONT 64
#define DEFAULT_NUM_CHARS_PER_FONT (MIN_NUM_CHARS_PER_FONT + 6 +1)
#define DEFAULT_NUM_CHARS_PER_LINE 16
-/
* font structure definitions */
+/
/ font structure definitions
void InitFontInfo(struct FontBitmapInfo *, int,
int (*function1)(int), int (*function2)(char *));
void InitFontInfo(struct FontBitmapInfo *, int,
int (*function1)(int), int (*function2)(char *));
@@
-89,7
+89,7
@@
int getTextWidth(char *, int);
void getFontCharSource(int, char, Bitmap **, int *, int *);
void getFontCharSource(int, char, Bitmap **, int *, int *);
-int maxWordLengthInString(char *);
+int maxWordLengthIn
Request
String(char *);
void DrawInitText(char *, int, int);
void DrawInitText(char *, int, int);
@@
-110,4
+110,4
@@
int DrawTextBufferVA(int, int, char *, va_list, int, int, int, int, int, int,
int DrawTextFile(int, int, char *, int, int, int, int, int, int,
boolean, boolean, boolean);
int DrawTextFile(int, int, char *, int, int, int, int, int, int,
boolean, boolean, boolean);
-#endif /
* TEXT_H */
+#endif /
/ TEXT_H