/src/games/larn/ |
store.c | 60 struct _itm itm[90] = { variable in typeref:struct:_itm[90] 293 else if (itm[i].qty <= 0) 297 else if (c[GOLD] < itm[i].price * 10) 300 if (itm[i].obj == OPOTION) { 301 potionname[itm[i].arg] = potionhide[itm[i].arg]; 302 } else if (itm[i].obj == OSCROLL) { 303 scrollname[itm[i].arg] = scrollhide[itm[i].arg]; 305 c[GOLD] -= itm[i].price * 10 [all...] |
store.c | 60 struct _itm itm[90] = { variable in typeref:struct:_itm[90] 293 else if (itm[i].qty <= 0) 297 else if (c[GOLD] < itm[i].price * 10) 300 if (itm[i].obj == OPOTION) { 301 potionname[itm[i].arg] = potionhide[itm[i].arg]; 302 } else if (itm[i].obj == OSCROLL) { 303 scrollname[itm[i].arg] = scrollhide[itm[i].arg]; 305 c[GOLD] -= itm[i].price * 10 [all...] |
monster.c | 12 * int cgood(x,y,itm,monst)Function to check location for emptiness 13 * int x,y,itm,monst; 178 * int cgood(x,y,itm,monst) Function to check location for emptiness 179 * int x,y,itm,monst; 181 * Routine to return TRUE if a location does not have itm or monst there 183 * Enter with itm or monst TRUE or FALSE if checking it 184 * Example: if itm==TRUE check for no item at this location 191 #define itm __lose macro
|
monster.c | 12 * int cgood(x,y,itm,monst)Function to check location for emptiness 13 * int x,y,itm,monst; 178 * int cgood(x,y,itm,monst) Function to check location for emptiness 179 * int x,y,itm,monst; 181 * Routine to return TRUE if a location does not have itm or monst there 183 * Enter with itm or monst TRUE or FALSE if checking it 184 * Example: if itm==TRUE check for no item at this location 191 #define itm __lose macro
|