(svn r2209) - CodeChange: [ 1184348 ] Remove unused _newspaper_flag that was supposed to be some ugly hack for chatting (gonewacko)
--- a/gui.h Sat Apr 16 16:16:54 2005 +0000
+++ b/gui.h Sat Apr 16 18:09:24 2005 +0000
@@ -142,7 +142,6 @@
void ShowMusicWindow(void);
/* main_gui.c */
-VARDEF byte _newspaper_flag;
VARDEF byte _construct_mode;
VARDEF byte _station_show_coverage;
VARDEF PlaceProc *_place_proc;
--- a/lang/english.txt Sat Apr 16 16:16:54 2005 +0000
+++ b/lang/english.txt Sat Apr 16 18:09:24 2005 +0000
@@ -551,7 +551,6 @@
STR_0200_LAST_MESSAGE_NEWS_REPORT :Last message/news report
STR_0201_MESSAGE_SETTINGS :Message settings
STR_MESSAGE_HISTORY_MENU :Message History
-STR_0202_SEND_MESSAGE :Send message
STR_0203_SHOW_LAST_MESSAGE_NEWS :{BLACK}Show last message/news report, show message options
STR_0204_MESSAGE_OPTIONS :{WHITE}Message Options
STR_0205_MESSAGE_TYPES :{BLACK}Message types:-
--- a/main_gui.c Sat Apr 16 16:16:54 2005 +0000
+++ b/main_gui.c Sat Apr 16 18:09:24 2005 +0000
@@ -436,7 +436,6 @@
case 0: ShowLastNewsMessage(); break;
case 1: ShowMessageOptions(); break;
case 2: ShowMessageHistory(); break;
- case 3: ; /* XXX: chat not done */
}
}
@@ -976,7 +975,7 @@
static void ToolbarNewspaperClick(Window *w)
{
- PopupMainToolbMenu(w, 0x1E0, 25, STR_0200_LAST_MESSAGE_NEWS_REPORT, _newspaper_flag != 2 ? 3 : 4);
+ PopupMainToolbMenu(w, 0x1E0, 25, STR_0200_LAST_MESSAGE_NEWS_REPORT, 3);
}
static void ToolbarHelpClick(Window *w)