(svn r2209) - CodeChange: [ 1184348 ] Remove unused _newspaper_flag that was supposed to be some ugly hack for chatting (gonewacko)

This commit is contained in:
Darkvater 2005-04-16 18:09:24 +00:00
parent 6edd6a850a
commit 0fa9c23225
3 changed files with 1 additions and 4 deletions

1
gui.h
View File

@ -142,7 +142,6 @@ void ShowQueryString(StringID str, StringID caption, uint maxlen, uint maxwidth,
void ShowMusicWindow(void); void ShowMusicWindow(void);
/* main_gui.c */ /* main_gui.c */
VARDEF byte _newspaper_flag;
VARDEF byte _construct_mode; VARDEF byte _construct_mode;
VARDEF byte _station_show_coverage; VARDEF byte _station_show_coverage;
VARDEF PlaceProc *_place_proc; VARDEF PlaceProc *_place_proc;

View File

@ -551,7 +551,6 @@ STR_01FF :{TINYFONT}{BLAC
STR_0200_LAST_MESSAGE_NEWS_REPORT :Last message/news report STR_0200_LAST_MESSAGE_NEWS_REPORT :Last message/news report
STR_0201_MESSAGE_SETTINGS :Message settings STR_0201_MESSAGE_SETTINGS :Message settings
STR_MESSAGE_HISTORY_MENU :Message History 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_0203_SHOW_LAST_MESSAGE_NEWS :{BLACK}Show last message/news report, show message options
STR_0204_MESSAGE_OPTIONS :{WHITE}Message Options STR_0204_MESSAGE_OPTIONS :{WHITE}Message Options
STR_0205_MESSAGE_TYPES :{BLACK}Message types:- STR_0205_MESSAGE_TYPES :{BLACK}Message types:-

View File

@ -436,7 +436,6 @@ static void MenuClickNewspaper(int index)
case 0: ShowLastNewsMessage(); break; case 0: ShowLastNewsMessage(); break;
case 1: ShowMessageOptions(); break; case 1: ShowMessageOptions(); break;
case 2: ShowMessageHistory(); break; case 2: ShowMessageHistory(); break;
case 3: ; /* XXX: chat not done */
} }
} }
@ -976,7 +975,7 @@ static void ToolbarMusicClick(Window *w)
static void ToolbarNewspaperClick(Window *w) 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) static void ToolbarHelpClick(Window *w)