XFontStruct *info;
#endif
- cptr name;
+ concptr name;
s16b wid;
s16b twid;
*
* Return -1 if no Display given, and none can be opened.
*/
-static errr Metadpy_init_2(Display *dpy, cptr name)
+static errr Metadpy_init_2(Display *dpy, concptr name)
{
metadpy *m = Metadpy;
/*
* Set the name (in the title bar) of Infowin
*/
-static errr Infowin_set_name(cptr name)
+static errr Infowin_set_name(concptr name)
{
Status st;
XTextProperty tp;
/*
* Set the icon name of Infowin
*/
-static errr Infowin_set_icon_name(cptr name)
+static errr Infowin_set_icon_name(concptr name)
{
Status st;
XTextProperty tp;
* Pairs of values, first is texttual name, second is the string
* holding the decimal value that the operation corresponds to.
*/
-static cptr opcode_pairs[] =
+static concptr opcode_pairs[] =
{
"cpy", "3",
"xor", "6",
* 0-15: if 'str' is a valid Operation
* -1: if 'str' could not be parsed
*/
-static int Infoclr_Opcode(cptr str)
+static int Infoclr_Opcode(concptr str)
{
register int i;
* Valid forms for 'name':
* 'fg', 'bg', 'zg', '<name>' and '#<code>'
*/
-static Pixell Infoclr_Pixell(cptr name)
+static Pixell Infoclr_Pixell(concptr name)
{
XColor scrn;
* name: The name of the requested Font
*/
#ifdef USE_JP_FONTSTRUCT
-static void Infofnt_init_data(cptr name, cptr kname)
+static void Infofnt_init_data(concptr name, concptr kname)
#else
-static void Infofnt_init_data(cptr name)
+static void Infofnt_init_data(concptr name)
#endif
{
/*
* Standard Text
*/
-static errr Infofnt_text_std(int x, int y, cptr str, int len)
+static errr Infofnt_text_std(int x, int y, concptr str, int len)
{
int i;
/*
* Painting where text would be
*/
-static errr Infofnt_text_non(int x, int y, cptr str, int len)
+static errr Infofnt_text_non(int x, int y, concptr str, int len)
{
int w, h;
/*
* An array of sound file names
*/
-static cptr sound_file[SOUND_MAX];
+static concptr sound_file[SOUND_MAX];
/*
* Check for existance of a file
*/
-static bool check_file(cptr s)
+static bool check_file(concptr s)
{
FILE *fff;
/*
* Draw some textual characters.
*/
-static errr Term_text_x11(TERM_LEN x, TERM_LEN y, int n, TERM_COLOR a, cptr s)
+static errr Term_text_x11(TERM_LEN x, TERM_LEN y, int n, TERM_COLOR a, concptr s)
{
/* Draw the text */
Infoclr_set(clr[a]);
{
term *t = &td->t;
- cptr name = angband_term_name[i];
+ concptr name = angband_term_name[i];
- cptr font;
+ concptr font;
#ifdef USE_JP_FONTSTRUCT
- cptr kfont;
+ concptr kfont;
#endif
char buf[80];
- cptr str;
+ concptr str;
int val;
{
int i;
- cptr dpy_name = "";
+ concptr dpy_name = "";
int num_term = 3;