(svn r25290) -Add: Assign string names to notable windows.

This commit is contained in:
frosch
2013-05-26 19:25:01 +00:00
parent aecb5c30ed
commit 16feb5c4e9
56 changed files with 142 additions and 140 deletions

View File

@@ -258,7 +258,7 @@ static const NWidgetPart _nested_ai_list_widgets[] = {
/** Window definition for the ai list window. */
static WindowDesc _ai_list_desc(
WDP_CENTER, 200, 234,
WDP_CENTER, "settings_script_list", 200, 234,
WC_AI_LIST, WC_NONE,
0,
_nested_ai_list_widgets, lengthof(_nested_ai_list_widgets)
@@ -604,7 +604,7 @@ static const NWidgetPart _nested_ai_settings_widgets[] = {
/** Window definition for the AI settings window. */
static WindowDesc _ai_settings_desc(
WDP_CENTER, 500, 208,
WDP_CENTER, "settings_script", 500, 208,
WC_AI_SETTINGS, WC_NONE,
0,
_nested_ai_settings_widgets, lengthof(_nested_ai_settings_widgets)
@@ -698,7 +698,7 @@ static const NWidgetPart _nested_ai_config_widgets[] = {
/** Window definition for the configure AI window. */
static WindowDesc _ai_config_desc(
WDP_CENTER, 0, 0,
WDP_CENTER, "settings_script_config", 0, 0,
WC_GAME_OPTIONS, WC_NONE,
0,
_nested_ai_config_widgets, lengthof(_nested_ai_config_widgets)
@@ -1487,7 +1487,7 @@ static const NWidgetPart _nested_ai_debug_widgets[] = {
/** Window definition for the AI debug window. */
static WindowDesc _ai_debug_desc(
WDP_AUTO, 600, 450,
WDP_AUTO, "script_debug", 600, 450,
WC_AI_DEBUG, WC_NONE,
0,
_nested_ai_debug_widgets, lengthof(_nested_ai_debug_widgets)