Lines Matching refs:cc
277 mmove(int aa, int bb, int cc, int dd)
283 if ((cc == playerx) && (dd == playery)) {
288 i = item[cc][dd];
310 tmp = mitem[cc][dd] = mitem[aa][bb];
315 rmsphere(cc, dd); /* delete the sphere */
317 i = tmp = mitem[cc][dd] = 0;
319 stealth[cc][dd] = 1;
320 if ((hitp[cc][dd] = hitp[aa][bb]) < 0)
321 hitp[cc][dd] = 1;
323 moved[cc][dd] = 1;
334 item[cc][dd] = 0; /* leprechaun takes gold */
339 if (monster[tmp].hitpoints > hitp[cc][dd])
340 hitp[cc][dd]++;
344 if ((hitp[cc][dd] -= rnd(10) + level) <= 0) {
345 mitem[cc][dd] = 0;
352 if ((hitp[cc][dd] -= rnd(6)) <= 0) {
353 mitem[cc][dd] = 0;
360 fillmonst(mitem[cc][dd]);
361 mitem[cc][dd] = 0;
365 if (know[cc][dd] & 1) {
385 * if (yrepcount>1) { know[aa][bb] &= 2; know[cc][dd] &= 2; return;
390 if (know[cc][dd] & 1)
391 show1cell(cc, dd);