Changeset - r1705:92c560fa7edf
[Not reviewed]
master
0 3 0
Darkvater - 20 years ago 2005-04-16 18:09:24
darkvater@openttd.org
(svn r2209) - CodeChange: [ 1184348 ] Remove unused _newspaper_flag that was supposed to be some ugly hack for chatting (gonewacko)
3 files changed with 1 insertions and 4 deletions:
0 comments (0 inline, 0 general)
gui.h
Show inline comments
 
@@ -142,7 +142,6 @@ void ShowQueryString(StringID str, Strin
 
void ShowMusicWindow(void);
 

	
 
/* main_gui.c */
 
VARDEF byte _newspaper_flag;
 
VARDEF byte _construct_mode;
 
VARDEF byte _station_show_coverage;
 
VARDEF PlaceProc *_place_proc;
lang/english.txt
Show inline comments
 
@@ -551,7 +551,6 @@ STR_01FF                                
 
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:-
main_gui.c
Show inline comments
 
@@ -436,7 +436,6 @@ static void MenuClickNewspaper(int index
 
	case 0: ShowLastNewsMessage(); break;
 
	case 1: ShowMessageOptions(); 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)
 
{
 
	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)
0 comments (0 inline, 0 general)