OSDN Git Service

Merge remote-tracking branch 'remotes/origin/feature/Debug-save-for-non-Windows'...
[hengband/hengband.git] / src / system / alloc-entry-definition.h
1 /*
2  * @brief 
3  * @author
4  * Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke
5  * 2002/01/12 mogami
6  * 2020/05/16 Hourier
7  * @details
8  * This software may be copied and distributed for educational, research,
9  * and not for profit purposes provided that this copyright and statement
10  * are included in all such copies.  Other copyrights may also apply.
11  */
12
13 #pragma once
14
15 /*
16  * An entry for the object/monster allocation functions
17  *
18  * Pass 1 is determined from allocation information
19  * Pass 2 is determined from allocation restriction
20  * Pass 3 is determined from allocation calculation
21  */
22 typedef struct alloc_entry {
23     KIND_OBJECT_IDX index; /* The actual index */
24
25     DEPTH level; /* Base dungeon level */
26     PROB prob1; /* Probability, pass 1 */
27     PROB prob2; /* Probability, pass 2 */
28     PROB prob3; /* Probability, pass 3 */
29
30     u16b total; /* Unused for now */
31 } alloc_entry;