This commit is contained in:
jl777
2019-03-25 07:59:17 -11:00
parent 347ba53d84
commit 9c555e6168
2 changed files with 18 additions and 3 deletions

View File

@@ -1659,8 +1659,6 @@ void games_packitemstr(char *packitemstr,struct games_packitem *item)
sprintf(packitemstr,"not yet");
}
#ifdef includgame
/***************************************************************************/
/** https://github.com/brenns10/tetris
@file main.c
@@ -2534,5 +2532,4 @@ int main(int argc, char **argv)
return 0;
}
#endif
#endif

View File

@@ -16,6 +16,24 @@
#ifndef H_CURSESD_H
#define H_CURSESD_H
#define COLOR_BLACK 0
#ifdef PDC_RGB /* RGB */
# define COLOR_RED 1
# define COLOR_GREEN 2
# define COLOR_BLUE 4
#else /* BGR */
# define COLOR_BLUE 1
# define COLOR_GREEN 2
# define COLOR_RED 4
#endif
#define COLOR_CYAN (COLOR_BLUE | COLOR_GREEN)
#define COLOR_MAGENTA (COLOR_RED | COLOR_BLUE)
#define COLOR_YELLOW (COLOR_RED | COLOR_GREEN)
#define COLOR_WHITE 7
#define LINES 24
#define COLS 80