Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crossfire 0.91.4 is released



Hello Mark;

Severall releases ago, the configuration flag MOVE_BUTTONS
was changed to USE_BUTTONS. This change was not complete.

Since we're using most of the time
tvtwm, wich needs the shift-Key for changing the virtual screen,
there is sometimes a need for using the crossfire move-Buttons.
So every release we completed the change. And I had not enough time
to send you the patches. Here they are.
They are fairly simple.
Thanks for applying.

MfG
Klaus

Patch for crossfire-0.91.4:
*** server/xio.c.dist   Thu Sep  1 08:05:53 1994
--- server/xio.c        Mon Sep  5 17:25:44 1994
***************
*** 43,53 ****
  static char font_text_info[]="8x13";
  static char font_inv_text[]="8x13";
  
! #ifdef MOVE_BUTTONS
! static char dirnames *[NUMDIRBUTTS] = {
          "NW","No","NE","We","Br","Ea","SW","So","SE"};
  
! static char opnames *[NUMOPBUTTS] = {
          " Change "," Apply ","Peaceful","Talk To"};
  
  int dirX [NUMDIRBUTTS] = {158, 188, 218,158,188,218,158,188,218};
--- 43,53 ----
  static char font_text_info[]="8x13";
  static char font_inv_text[]="8x13";
  
! #ifdef USE_BUTTONS
! static char *dirnames [NUMDIRBUTTS] = {
          "NW","No","NE","We","Br","Ea","SW","So","SE"};
  
! static char *opnames [NUMOPBUTTS] = {
          " Change "," Apply ","Peaceful","Talk To"};
  
  int dirX [NUMDIRBUTTS] = {158, 188, 218,158,188,218,158,188,218};
***************
*** 1302,1308 ****
    xwritedown(pl,"Food",106);
    XDrawRectangle(pl->contr->gdisp,pl->contr->win_message,
                   pl->contr->gc_look_text,118,2,14,MAX_BARS_MESSAGE+4);
! #ifdef MOVE_BUTTONS
    {
      int i;
      for (i=0;i<NUMDIRBUTTS;i++) {
--- 1302,1308 ----
    xwritedown(pl,"Food",106);
    XDrawRectangle(pl->contr->gdisp,pl->contr->win_message,
                   pl->contr->gc_look_text,118,2,14,MAX_BARS_MESSAGE+4);
! #ifdef USE_BUTTONS
    {
      int i;
      for (i=0;i<NUMDIRBUTTS;i++) {