Use single define for max message history

... instead of having every windowport define their own variant.
Affects tty, curses, X11, and Windows GUI.
This commit is contained in:
Pasi Kallinen
2024-03-03 11:31:33 +02:00
parent 9a866688c5
commit 53778ee507
7 changed files with 12 additions and 11 deletions

View File

@@ -441,6 +441,10 @@ extern struct nomakedefs_s nomakedefs;
#define MAXMONNO 120 /* extinct monst after this number created */
#define MHPMAX 500 /* maximum monster hp */
#ifndef MAX_MSG_HISTORY
#define MAX_MSG_HISTORY 128 /* max # of lines in msg_history */
#endif
typedef struct color_and_attr {
int color, attr;
} color_attr;