Pacify some clang compile warnings
This commit is contained in:
74
src/mkobj.c
74
src/mkobj.c
@@ -23,46 +23,46 @@ struct icp {
|
||||
char iclass; /* item class */
|
||||
};
|
||||
|
||||
const struct icp mkobjprobs[] = { { 10, WEAPON_CLASS },
|
||||
{ 10, ARMOR_CLASS },
|
||||
{ 20, FOOD_CLASS },
|
||||
{ 8, TOOL_CLASS },
|
||||
{ 8, GEM_CLASS },
|
||||
{ 16, POTION_CLASS },
|
||||
{ 16, SCROLL_CLASS },
|
||||
{ 4, SPBOOK_CLASS },
|
||||
{ 4, WAND_CLASS },
|
||||
{ 3, RING_CLASS },
|
||||
{ 1, AMULET_CLASS } };
|
||||
static const struct icp mkobjprobs[] = { { 10, WEAPON_CLASS },
|
||||
{ 10, ARMOR_CLASS },
|
||||
{ 20, FOOD_CLASS },
|
||||
{ 8, TOOL_CLASS },
|
||||
{ 8, GEM_CLASS },
|
||||
{ 16, POTION_CLASS },
|
||||
{ 16, SCROLL_CLASS },
|
||||
{ 4, SPBOOK_CLASS },
|
||||
{ 4, WAND_CLASS },
|
||||
{ 3, RING_CLASS },
|
||||
{ 1, AMULET_CLASS } };
|
||||
|
||||
const struct icp boxiprobs[] = { { 18, GEM_CLASS },
|
||||
{ 15, FOOD_CLASS },
|
||||
{ 18, POTION_CLASS },
|
||||
{ 18, SCROLL_CLASS },
|
||||
{ 12, SPBOOK_CLASS },
|
||||
{ 7, COIN_CLASS },
|
||||
{ 6, WAND_CLASS },
|
||||
{ 5, RING_CLASS },
|
||||
{ 1, AMULET_CLASS } };
|
||||
static const struct icp boxiprobs[] = { { 18, GEM_CLASS },
|
||||
{ 15, FOOD_CLASS },
|
||||
{ 18, POTION_CLASS },
|
||||
{ 18, SCROLL_CLASS },
|
||||
{ 12, SPBOOK_CLASS },
|
||||
{ 7, COIN_CLASS },
|
||||
{ 6, WAND_CLASS },
|
||||
{ 5, RING_CLASS },
|
||||
{ 1, AMULET_CLASS } };
|
||||
|
||||
const struct icp rogueprobs[] = { { 12, WEAPON_CLASS },
|
||||
{ 12, ARMOR_CLASS },
|
||||
{ 22, FOOD_CLASS },
|
||||
{ 22, POTION_CLASS },
|
||||
{ 22, SCROLL_CLASS },
|
||||
{ 5, WAND_CLASS },
|
||||
{ 5, RING_CLASS } };
|
||||
static const struct icp rogueprobs[] = { { 12, WEAPON_CLASS },
|
||||
{ 12, ARMOR_CLASS },
|
||||
{ 22, FOOD_CLASS },
|
||||
{ 22, POTION_CLASS },
|
||||
{ 22, SCROLL_CLASS },
|
||||
{ 5, WAND_CLASS },
|
||||
{ 5, RING_CLASS } };
|
||||
|
||||
const struct icp hellprobs[] = { { 20, WEAPON_CLASS },
|
||||
{ 20, ARMOR_CLASS },
|
||||
{ 16, FOOD_CLASS },
|
||||
{ 12, TOOL_CLASS },
|
||||
{ 10, GEM_CLASS },
|
||||
{ 1, POTION_CLASS },
|
||||
{ 1, SCROLL_CLASS },
|
||||
{ 8, WAND_CLASS },
|
||||
{ 8, RING_CLASS },
|
||||
{ 4, AMULET_CLASS } };
|
||||
static const struct icp hellprobs[] = { { 20, WEAPON_CLASS },
|
||||
{ 20, ARMOR_CLASS },
|
||||
{ 16, FOOD_CLASS },
|
||||
{ 12, TOOL_CLASS },
|
||||
{ 10, GEM_CLASS },
|
||||
{ 1, POTION_CLASS },
|
||||
{ 1, SCROLL_CLASS },
|
||||
{ 8, WAND_CLASS },
|
||||
{ 8, RING_CLASS },
|
||||
{ 4, AMULET_CLASS } };
|
||||
|
||||
struct oextra *
|
||||
newoextra()
|
||||
|
||||
Reference in New Issue
Block a user