• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision7304b5c4db651f9023ee761a2a9ab2b4ca97771f (tree)
Time2019-05-03 11:12:33
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 grid.h の宣言を整理.

Change Summary

Incremental Difference

--- a/src/externs.h
+++ b/src/externs.h
@@ -276,22 +276,6 @@ extern FEAT_IDX feat_ground_type[100], feat_wall_type[100];
276276 extern COMMAND_CODE now_message;
277277 extern bool use_menu;
278278
279-
280-/* grids.c */
281-extern void update_local_illumination(POSITION y, POSITION x);
282-extern bool player_can_see_bold(POSITION y, POSITION x);
283-extern bool cave_valid_bold(POSITION y, POSITION x);
284-extern bool no_lite(void);
285-extern void print_rel(SYMBOL_CODE c, TERM_COLOR a, TERM_LEN y, TERM_LEN x);
286-extern void delayed_visual_update(void);
287-extern void forget_flow(void);
288-extern void update_flow(void);
289-extern void update_smell(void);
290-extern void cave_set_feat(POSITION y, POSITION x, FEAT_IDX feat);
291-
292-extern bool cave_monster_teleportable_bold(MONSTER_IDX m_idx, POSITION y, POSITION x, BIT_FLAGS mode);
293-extern bool cave_player_teleportable_bold(POSITION y, POSITION x, BIT_FLAGS mode);
294-
295279 /* cmd4.c */
296280 #ifndef JP
297281 extern concptr get_ordinal_number_suffix(int num);
--- a/src/grid.h
+++ b/src/grid.h
@@ -417,6 +417,10 @@ extern void remove_mirror(POSITION y, POSITION x);
417417 extern bool is_open(FEAT_IDX feat);
418418 extern bool check_local_illumination(POSITION y, POSITION x);
419419
420+extern bool cave_monster_teleportable_bold(MONSTER_IDX m_idx, POSITION y, POSITION x, BIT_FLAGS mode);
421+extern bool cave_player_teleportable_bold(POSITION y, POSITION x, BIT_FLAGS mode);
422+
423+
420424 /*!
421425 * モンスターにより照明が消されている地形か否かを判定する。 / Is this grid "darkened" by monster?
422426 */
Show on old repository browser