patch: #defines

This is a fairly trivial code change but should have been done long ago...
This commit is contained in:
arromdee
2006-02-09 03:26:59 +00:00
parent 02a2e8b6ef
commit 83807a84f5
5 changed files with 7 additions and 5 deletions

View File

@@ -306,6 +306,10 @@ NEARDATA extern coord bhitpos; /* place where throw or zap hits or stops */
#define RANDOM_TIN (-2)
#define HEALTHY_TIN (-3)
/* Some misc definitions */
#define POTION_OCCUPANT_CHANCE(n) (13 + 2*(n))
#define WAND_BACKFIRE_CHANCE 100
/* Flags to control menus */
#define MENUTYPELEN sizeof("traditional ")
#define MENU_TRADITIONAL 0