• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

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


Commit MetaInfo

Revisiona94d1e04390079ef908753bc4acb2b88c945f560 (tree)
Time2020-03-16 19:06:32
Authorshimitei <shimitei@gmai...>
Commitershimitei

Log Message

[Fix] duplicate symbol

Change Summary

Incremental Difference

--- a/src/rooms-city.c
+++ b/src/rooms-city.c
@@ -5,6 +5,7 @@
55 #include "rooms-city.h"
66 #include "store.h"
77
8+ugbldg_type *ugbldg;
89
910
1011 /*
--- a/src/rooms-city.h
+++ b/src/rooms-city.h
@@ -14,4 +14,4 @@ typedef struct
1414 }
1515 ugbldg_type;
1616
17-ugbldg_type *ugbldg;
17+extern ugbldg_type *ugbldg;
--- a/src/rooms.c
+++ b/src/rooms.c
@@ -53,6 +53,7 @@
5353
5454 #include "monster.h"
5555
56+door_type feat_door[MAX_DOOR_TYPES];
5657
5758 /*!
5859 * 各部屋タイプの生成比定義
--- a/src/rooms.h
+++ b/src/rooms.h
@@ -81,7 +81,7 @@ typedef struct
8181 FEAT_IDX num_jammed;
8282 } door_type;
8383
84-door_type feat_door[MAX_DOOR_TYPES];
84+extern door_type feat_door[MAX_DOOR_TYPES];
8585
8686 extern bool generate_rooms(void);
8787 extern void build_maze_vault(POSITION x0, POSITION y0, POSITION xsize, POSITION ysize, bool is_vault);