equal
deleted
inserted
replaced
41 const int _textmessage_box_left = 10; // Pixels from left |
41 const int _textmessage_box_left = 10; // Pixels from left |
42 const int _textmessage_box_y = 150; // Height of box |
42 const int _textmessage_box_y = 150; // Height of box |
43 const int _textmessage_box_bottom = 30; // Pixels from bottom |
43 const int _textmessage_box_bottom = 30; // Pixels from bottom |
44 const int _textmessage_box_max_width = 400; // Max width of box |
44 const int _textmessage_box_max_width = 400; // Max width of box |
45 |
45 |
46 static byte _textmessage_backup[150*400]; // (y * max_width) |
46 static Pixel _textmessage_backup[150 * 400]; // (y * max_width) |
47 |
47 |
48 extern void memcpy_pitch(void *d, void *s, int w, int h, int spitch, int dpitch); |
48 extern void memcpy_pitch(void *d, void *s, int w, int h, int spitch, int dpitch); |
49 |
49 |
50 // Duration is in game-days |
50 // Duration is in game-days |
51 void CDECL AddTextMessage(uint16 color, uint8 duration, const char *message, ...) |
51 void CDECL AddTextMessage(uint16 color, uint8 duration, const char *message, ...) |