Changeset 1023

Show
Ignore:
Timestamp:
10/05/08 00:34:34 (3 months ago)
Author:
takkaria
Message:

Use Angband types rather than C99 types-- this was accidentally checked in.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/store.h

    r1006 r1023  
    55struct owner_type 
    66{ 
    7         uint32_t owner_name;  /* Name (offset) */ 
    8         int32_t max_cost;             /* Purse limit */ 
     7        u32b owner_name;      /* Name (offset) */ 
     8        s32b max_cost;                /* Purse limit */ 
    99}; 
    1010 
     
    1818struct store_type 
    1919{ 
    20         uint8_t owner;                                /* Owner index */ 
     20        byte owner;                           /* Owner index */ 
    2121 
    22         uint8_t stock_num;                    /* Stock -- Number of entries */ 
    23         int16_t stock_size;           /* Stock -- Total Size of Array */ 
     22        byte stock_num;                       /* Stock -- Number of entries */ 
     23        s16b stock_size;              /* Stock -- Total Size of Array */ 
    2424        object_type *stock;             /* Stock -- Actual stock items */ 
    2525 
    26         int16_t table_num;     /* Table -- Number of entries */ 
    27         int16_t table_size;    /* Table -- Total Size of Array */ 
    28         int16_t *table;        /* Table -- Legal item kinds */ 
     26        s16b table_num;     /* Table -- Number of entries */ 
     27        s16b table_size;    /* Table -- Total Size of Array */ 
     28        s16b *table;        /* Table -- Legal item kinds */ 
    2929}; 
    3030