Difference for include/player.h from version 1.12 to 1.13


version 1.12 version 1.13
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_h =   * static char *rcsid_player_h =
  *   "$Id: player.h,v 1.12 2001/05/29 04:41:53 mwedel Exp $";   *   "$Id: player.h,v 1.13 2001/06/04 06:41:02 mwedel Exp $";
  */   */
   
 /*  /*
Line 32
 
Line 32
   uint16 count; /* How many times we got this message */    uint16 count; /* How many times we got this message */
 } Output_Buf;  } Output_Buf;
   
 /* These set how many spaces in each direction the viewable map extends   
  * from the player.  
  */  
 #define WINUPPER (-5)  
 #define WINLOWER 5  
 #define WINLEFT (-5)  
 #define WINRIGHT 5  
   
 /* this is already in define.h */  /* this is already in define.h */
 /*#define MAX_NAME 16*/   /* Max length of character name */  /*#define MAX_NAME 16*/   /* Max length of character name */
   
Line 132
 
Line 124
   object *ob;            /* The object representing the player */    object *ob;            /* The object representing the player */
   object *last_used;     /* Pointer to object last picked or applied */    object *last_used;     /* Pointer to object last picked or applied */
   long last_used_id;     /* Safety measures to be sure it's the same */    long last_used_id;     /* Safety measures to be sure it's the same */
   New_Face *drawn[WINRIGHT-WINLEFT+1][WINLOWER-WINUPPER+1]; /* Last displayed */  
   /* Floor the player is standing on */  
   New_Face *floor[WINRIGHT-WINLEFT+1][WINLOWER-WINUPPER+1];    /* As the names suggest, these are how various aspects of the map
   int darkmask[WINRIGHT-WINLEFT+1][WINLOWER-WINUPPER+1];     * look like.  This is basically used to compare what we last
   New_Face *floor2[WINRIGHT-WINLEFT+1][WINLOWER-WINUPPER+1];     * sent to the client so we only send what changed.
   sint8 blocked_los[WINRIGHT-WINLEFT+1][WINLOWER-WINUPPER+1];     */
   char title[MAX_NAME];    New_Face  *drawn[MAP_CLIENT_X][MAP_CLIENT_Y]; /* Last displayed */
     New_Face  *floor[MAP_CLIENT_X][MAP_CLIENT_Y];
     New_Face  *floor2[MAP_CLIENT_X][MAP_CLIENT_Y];
     int     darkmask[MAP_CLIENT_X][MAP_CLIENT_Y];
     sint8     blocked_los[MAP_CLIENT_X][MAP_CLIENT_Y];
   
      
 /* Eneq(@csd.uu.se): Since there is no direct link between characters title and  /* Eneq(@csd.uu.se): Since there is no direct link between characters title and
    his level I figure that it doesn't matter what title he has so I have made     his level I figure that it doesn't matter what title he has so I have made
    it possible for him/her to define this in the resources. */     it possible for him/her to define this in the resources. */
      
   char own_title[MAX_NAME];    char own_title[MAX_NAME];
     char title[MAX_NAME];
      
   signed char levhp[11]; /* What the player gained on that level */    signed char levhp[11]; /* What the player gained on that level */
   signed char levsp[11];    signed char levsp[11];


Legend:
line(s) removed in v.1.12 
line(s) changed
 line(s) added in v.1.13

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:27