Mercurial > hg > early-roguelike
comparison srogue/rooms.c @ 304:e52a8a7ad4c5
Fix many compiler warnings.
There should only be two changes in behavior:
arogue7/fight.c, arogue7/fight.c: a to-hit bonus is now correctly
applied to characters who are not monks instead of monks who are not
empty-handed.
urogue/fight.c: fixed an interaction with the "debug" macro that could
cause the wrong message to be displayed.
| author | John "Elwin" Edwards |
|---|---|
| date | Wed, 14 Apr 2021 18:55:33 -0400 |
| parents | 94a0d9dd5ce1 |
| children |
comparison
equal
deleted
inserted
replaced
| 303:e06ebc407615 | 304:e52a8a7ad4c5 |
|---|---|
| 29 { | 29 { |
| 30 int mloops, mchance, nummons, left_out, roomtries; | 30 int mloops, mchance, nummons, left_out, roomtries; |
| 31 bool treas = FALSE; | 31 bool treas = FALSE; |
| 32 reg int i; | 32 reg int i; |
| 33 reg struct room *rp; | 33 reg struct room *rp; |
| 34 reg struct linked_list *item; | 34 struct coord top, bsze; |
| 35 reg struct thing *tp; | |
| 36 struct coord top, bsze, mp; | |
| 37 | 35 |
| 38 /* | 36 /* |
| 39 * bsze is the maximum room size | 37 * bsze is the maximum room size |
| 40 */ | 38 */ |
| 41 bsze.x = COLS / 3; | 39 bsze.x = COLS / 3; |
