OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Refactor] #37353 cave_type 構造体を grid_type に改名。 / Rename cave_type structure to grid_...
[hengband/hengband.git]
/
src
/
object2.c
diff --git
a/src/object2.c
b/src/object2.c
index
3ff211f
..
4da5d60
100644
(file)
--- a/
src/object2.c
+++ b/
src/object2.c
@@
-123,7
+123,7
@@
void excise_object_idx(OBJECT_IDX o_idx)
/* Dungeon */
else
{
/* Dungeon */
else
{
-
cave
_type *c_ptr;
+
grid
_type *c_ptr;
POSITION y = j_ptr->iy;
POSITION x = j_ptr->ix;
POSITION y = j_ptr->iy;
POSITION x = j_ptr->ix;
@@
-217,7
+217,7
@@
void delete_object_idx(OBJECT_IDX o_idx)
*/
void delete_object(POSITION y, POSITION x)
{
*/
void delete_object(POSITION y, POSITION x)
{
-
cave
_type *c_ptr;
+
grid
_type *c_ptr;
OBJECT_IDX this_o_idx, next_o_idx = 0;
/* Refuse "illegal" locations */
OBJECT_IDX this_o_idx, next_o_idx = 0;
/* Refuse "illegal" locations */
@@
-257,7
+257,7
@@
void delete_object(POSITION y, POSITION x)
static void compact_objects_aux(OBJECT_IDX i1, OBJECT_IDX i2)
{
OBJECT_IDX i;
static void compact_objects_aux(OBJECT_IDX i1, OBJECT_IDX i2)
{
OBJECT_IDX i;
-
cave
_type *c_ptr;
+
grid
_type *c_ptr;
object_type *o_ptr;
/* Do nothing */
object_type *o_ptr;
/* Do nothing */
@@
-487,7
+487,7
@@
void wipe_o_list(void)
/* Dungeon */
else
{
/* Dungeon */
else
{
-
cave
_type *c_ptr;
+
grid
_type *c_ptr;
/* Access location */
POSITION y = o_ptr->iy;
/* Access location */
POSITION y = o_ptr->iy;
@@
-4868,7
+4868,7
@@
void place_object(POSITION y, POSITION x, BIT_FLAGS mode)
OBJECT_IDX o_idx;
/* Acquire grid */
OBJECT_IDX o_idx;
/* Acquire grid */
-
cave
_type *c_ptr = &cave[y][x];
+
grid
_type *c_ptr = &cave[y][x];
object_type forge;
object_type *q_ptr;
object_type forge;
object_type *q_ptr;
@@
-4982,7
+4982,7
@@
void place_gold(POSITION y, POSITION x)
OBJECT_IDX o_idx;
/* Acquire grid */
OBJECT_IDX o_idx;
/* Acquire grid */
-
cave
_type *c_ptr = &cave[y][x];
+
grid
_type *c_ptr = &cave[y][x];
object_type forge;
object_type *q_ptr;
object_type forge;
object_type *q_ptr;
@@
-5066,7
+5066,7
@@
OBJECT_IDX drop_near(object_type *j_ptr, PERCENTAGE chance, POSITION y, POSITION
OBJECT_IDX o_idx = 0;
OBJECT_IDX this_o_idx, next_o_idx = 0;
OBJECT_IDX o_idx = 0;
OBJECT_IDX this_o_idx, next_o_idx = 0;
-
cave
_type *c_ptr;
+
grid
_type *c_ptr;
GAME_TEXT o_name[MAX_NLEN];
GAME_TEXT o_name[MAX_NLEN];
@@
-6699,7
+6699,7
@@
static int blow_damcalc(monster_type *m_ptr, monster_blow *blow_ptr)
bool process_warning(POSITION xx, POSITION yy)
{
POSITION mx, my;
bool process_warning(POSITION xx, POSITION yy)
{
POSITION mx, my;
-
cave
_type *c_ptr;
+
grid
_type *c_ptr;
GAME_TEXT o_name[MAX_NLEN];
#define WARNING_AWARE_RANGE 12
GAME_TEXT o_name[MAX_NLEN];
#define WARNING_AWARE_RANGE 12