… | |
… | |
82 | |
82 | |
83 | #define MAX_NAME 48 |
83 | #define MAX_NAME 48 |
84 | #define MAX_EXT_TITLE 98 |
84 | #define MAX_EXT_TITLE 98 |
85 | |
85 | |
86 | /* Fatal variables: */ |
86 | /* Fatal variables: */ |
|
|
87 | //TODO: remove all calls to fatal and replace them by cleanup |
87 | #define OUT_OF_MEMORY 0 |
88 | #define OUT_OF_MEMORY 0 |
88 | #define MAP_ERROR 1 |
89 | #define MAP_ERROR 1 |
89 | #define ARCHTABLE_TOO_SMALL 2 |
90 | #define ARCHTABLE_TOO_SMALL 2 // unused |
90 | #define TOO_MANY_ERRORS 3 |
91 | #define TOO_MANY_ERRORS 3 |
91 | |
92 | |
92 | /* TYPE DEFINES */ |
93 | /* TYPE DEFINES */ |
93 | |
94 | |
94 | /* Only add new values to this list if somewhere in the program code, |
95 | /* Only add new values to this list if somewhere in the program code, |
… | |
… | |
768 | #define LO4 15 /* bitmasks for upper and lower 4 bits from 8 bit fields */ |
769 | #define LO4 15 /* bitmasks for upper and lower 4 bits from 8 bit fields */ |
769 | #define HI4 240 |
770 | #define HI4 240 |
770 | |
771 | |
771 | #define BLANK_FACE_NAME "blank.x11" |
772 | #define BLANK_FACE_NAME "blank.x11" |
772 | #define EMPTY_FACE_NAME "empty.x11" |
773 | #define EMPTY_FACE_NAME "empty.x11" |
773 | #define DARK_FACE1_NAME "dark1.x11" |
|
|
774 | #define DARK_FACE2_NAME "dark2.x11" |
|
|
775 | #define DARK_FACE3_NAME "dark3.x11" |
|
|
776 | #define SMOOTH_FACE_NAME "default_smoothed.111" |
|
|
777 | |
774 | |
778 | /* |
775 | /* |
779 | * Defines for the luck/random functions to make things more readable |
776 | * Defines for the luck/random functions to make things more readable |
780 | */ |
777 | */ |
781 | |
778 | |