Difference for main/dumpmine.c from version 1.2 to 1.3


version 1.2 version 1.3
Line 9
 
Line 9
  * To be read by a human to verify the correctness and completeness of a mine.   * To be read by a human to verify the correctness and completeness of a mine.
  *    *
  * $Log$   * $Log$
    * Revision 1.3  2003/03/09 06:34:09  donut
    * change byte typedef to sbyte to avoid conflict with win32 byte which is unsigned
    *
  * Revision 1.2  1999/09/02 13:32:42  sekmu   * Revision 1.2  1999/09/02 13:32:42  sekmu
  * remove warning in editor compile   * remove warning in editor compile
  *   *
Line 533
 
Line 536
 void write_wall_text(FILE *my_file)  void write_wall_text(FILE *my_file)
 {  {
  int i, j;   int i, j;
  byte wall_flags[MAX_WALLS];   sbyte wall_flags[MAX_WALLS];
   
  fprintf(my_file, "-----------------------------------------------------------------------------\n");   fprintf(my_file, "-----------------------------------------------------------------------------\n");
  fprintf(my_file, "Walls:\n");   fprintf(my_file, "Walls:\n");
Line 571
 
Line 574
 }  }
   
 //typedef struct trigger {  //typedef struct trigger {
 // byte type;  // sbyte type;
 // short flags;  // short flags;
 // fix value;  // fix value;
 // fix time;  // fix time;
 // byte link_num;  // sbyte link_num;
 // short num_links;  // short num_links;
 // short seg[MAX_WALLS_PER_LINK];  // short seg[MAX_WALLS_PER_LINK];
 // short side[MAX_WALLS_PER_LINK];  // short side[MAX_WALLS_PER_LINK];
Line 736
 
Line 739
 // -- }  // -- }
   
 // -----------------------------------------------------------------------------  // -----------------------------------------------------------------------------
 void determine_used_textures_level(int load_level_flag, int shareware_flag, int level_num, int *tmap_buf, int *wall_buf, byte *level_tmap_buf, int max_tmap)  void determine_used_textures_level(int load_level_flag, int shareware_flag, int level_num, int *tmap_buf, int *wall_buf, sbyte *level_tmap_buf, int max_tmap)
 {  {
  int segnum, sidenum;   int segnum, sidenum;
  int i, j;   int i, j;
Line 833
 
Line 836
 }  }
   
 // -----------------------------------------------------------------------------  // -----------------------------------------------------------------------------
 void say_used_once_tmaps(FILE *my_file, int *tb, byte *tb_lnum)  void say_used_once_tmaps(FILE *my_file, int *tb, sbyte *tb_lnum)
 {  {
  int i;   int i;
  char *level_name;   char *level_name;
Line 988
 
Line 991
  int i;   int i;
  int temp_tmap_buf[MAX_TEXTURES];   int temp_tmap_buf[MAX_TEXTURES];
  int perm_tmap_buf[MAX_TEXTURES];   int perm_tmap_buf[MAX_TEXTURES];
  byte level_tmap_buf[MAX_TEXTURES];   sbyte level_tmap_buf[MAX_TEXTURES];
  int temp_wall_buf[MAX_WALL_ANIMS];   int temp_wall_buf[MAX_WALL_ANIMS];
  int perm_wall_buf[MAX_WALL_ANIMS];   int perm_wall_buf[MAX_WALL_ANIMS];
   
Line 1014
 
Line 1017
  int i;   int i;
  int temp_tmap_buf[MAX_TEXTURES];   int temp_tmap_buf[MAX_TEXTURES];
  int perm_tmap_buf[MAX_TEXTURES];   int perm_tmap_buf[MAX_TEXTURES];
  byte level_tmap_buf[MAX_TEXTURES];   sbyte level_tmap_buf[MAX_TEXTURES];
  int temp_wall_buf[MAX_WALL_ANIMS];   int temp_wall_buf[MAX_WALL_ANIMS];
  int perm_wall_buf[MAX_WALL_ANIMS];   int perm_wall_buf[MAX_WALL_ANIMS];
   

Legend:
line(s) removed in v.1.2 
line(s) changed
 line(s) added in v.1.3