[Freeciv-Dev] [patch] spaceship menu report
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
This adds a "spaceship" option to the report menu. It is not entirely
user-friendly to expect players to guess that to see their spaceship, they
have to open the player dialog... I had to read the source to find it :)
Yours,
Per
--- menu.c.old Fri Jan 8 10:44:48 1999
+++ menu.c Tue Jan 19 12:04:41 1999
@@ -36,6 +36,7 @@
#include <mapctrl.h> /* good to know I'm not the only one with .h problems --
Syela */
#include <chatline.h>
#include <clinet.h>
+#include <spaceshipdlg.h>
enum MenuID {
MENU_END_OF_LIST=0,
@@ -83,6 +84,7 @@
MENU_REPORT_DEMOGRAPHIC,
MENU_REPORT_TOP_CITIES,
MENU_REPORT_WOW,
+ MENU_REPORT_SPACESHIP,
MENU_HELP_CONTROLS,
MENU_HELP_PLAYING,
@@ -163,6 +165,7 @@
{ "Demographic", MENU_REPORT_DEMOGRAPHIC, 0},
{ "Top 5 Cities", MENU_REPORT_TOP_CITIES, 0},
{ "Wonders of the World", MENU_REPORT_WOW, 0},
+ { "Spaceship", MENU_REPORT_SPACESHIP, 0},
{ 0, MENU_END_OF_LIST, 0}
};
@@ -489,6 +492,9 @@
break;
case MENU_REPORT_WOW:
send_report_request(REPORT_WONDERS_OF_THE_WORLD);
+ break;
+ case MENU_REPORT_SPACESHIP:
+ popup_spaceship_dialog(game.player_ptr);
break;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] [patch] spaceship menu report,
Per Mathisen <=
|
|