summaryrefslogtreecommitdiff
path: root/src/A-mac-h.pch
blob: 5f97bdc08f2109b02cacc27f2ac29d1ea4b96768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/* File: A-mac-h.pch */

/*
 * This file creates pre-compiled header files which are used to
 * compile Macintosh Angband using the Code Warrior Pro compiler.
 *
 * It can also be used with the later versions of CodeWarrior.
 * Both PPC and 68K binaries have been built successfully by
 * CodeWarrior Version 6 for Macintosh:
 */

#if defined(__MWERKS__)
# if defined(powerc) || defined(__powerc)
#  pragma precompile_target "A-mac-h-PPC"
# else
#  pragma precompile_target "A-mac-h-68K"
# endif
#endif

/*
 * Activate the Macintosh-specific code
 */
#define MACINTOSH

/*
 * Activate Lua scripting
 */
#define USE_LUA

/*
 * PernAngband specific main-xxx.c features
 */
/* We have in-game savefile chooser */
#define SAVEFILE_SCREEN
/* We have Angband 2.8.1-style reset_visuals() */
#define ANG281_RESET_VISUALS
/* We now have big screen support */
#define ALLOW_BIG_SCREEN
/* We support transparency effect, but don't have use_transparency variable */
#define NO_USE_TRANSPARENCY_VAR
/* Creator code */
#define ANGBAND_CREATOR 'PrnA'
/* Preferences file name */
#define ANGBAND_PREFERENCES "ToME Preferences"

/*
 * Activate transparency effect for 16x16 tileset.
 */
#define USE_TRANSPARENCY

/*
 * Activate support for graphics overlay.
 */
#define USE_EGO_GRAPHICS

/*
 * Active the code to support Mogami's double width tile patch
 */
#define USE_DOUBLE_TILES

/*
 * OPTION: Allow "Wizards" to yield "high scores"
 */
/* #define SCORE_WIZARDS */

/*
 * OPTION: Allow "Cheaters" to yield "high scores"
 */
/* #define SCORE_CHEATERS */

/*
 * OPTION: Allow player to know his / her starting life rate
 */
/* #define SHOW_LIFE_RATE */

/*
 * OPTION: Unallow the using of every race/class combination
 */
/* #define FORBID_BAD_COMBINAISON */

/*
 * OPTION: Enable the CTRL + L command to quit without saving
 * as well as activate the Exit menu that serves for the same purpose
 */
/* #define ALLOW_QUITING */

/*
 * Precompile the header files
 */
#include "angband.h"

/*
 * These should go into h-system.h XXX XXX XXX
 */
# include <unistd.h>
# include <fcntl.h>

/*
 * Include the standard ansi_prefix.mac.h file
 */
#define MSL_USE_PRECOMPILED_HEADERS 0
#include "ansi_prefix.mac.h"