mirror of
https://github.com/suloku/pdrpse.git
synced 2026-03-21 17:25:23 -05:00
16 lines
526 B
C
16 lines
526 B
C
#define TOP_WIDTH 50 // text columns
|
|
#define BOTTOM_WIDTH 40 // text columns
|
|
#define WIDTH BOTTOM_WIDTH
|
|
#define HEIGHT 30 // text rows
|
|
|
|
enum colour
|
|
{
|
|
BLACK, RED, GREEN, BROWN, INDIGO, PURPLE, TEAL, GREY,
|
|
DARKGREY, SALMON, NEONGREEN,YELLOW, BLUE, MAGENTA, CYAN, WHITE
|
|
}; // notice that 0-7 are normal intensity, 8-15 are bold intensity
|
|
|
|
void gotoxy(int x, int y);
|
|
void textcolour(enum colour c);
|
|
int lastSpace(char *tocut);
|
|
void wordwrap(char *towrap, int width);
|