Changeset - r12857:c93c8cad6874
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-09-01 21:27:33
smatz@openttd.org
(svn r17359) -Fix: put static before cv qualifier, some compilers complain about that
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/misc_gui.cpp
Show inline comments
 
@@ -399,25 +399,25 @@ static const char *_credits[] = {
 
	"  All Translators - Who made OpenTTD a truly international game",
 
	"  Bug Reporters - Without whom OpenTTD would still be full of bugs!",
 
	"",
 
	"",
 
	"And last but not least:",
 
	"  Chris Sawyer - For an amazing game!"
 
};
 

	
 
struct AboutWindow : public Window {
 
	int text_position;                       ///< The top of the scrolling text
 
	byte counter;                            ///< Used to scroll the text every 5 ticks
 
	int line_height;                         ///< The height of a single line
 
	const static int num_visible_lines = 19; ///< The number of lines visible simultaneously
 
	static const int num_visible_lines = 19; ///< The number of lines visible simultaneously
 

	
 
	AboutWindow() : Window()
 
	{
 
		this->InitNested(&_about_desc);
 

	
 
		this->counter = 5;
 
		this->text_position = this->nested_array[AW_FRAME]->pos_y + this->nested_array[AW_FRAME]->current_y;
 
	}
 

	
 
	virtual void SetStringParameters(int widget) const
 
	{
 
		if (widget == AW_WEBSITE) SetDParamStr(0, "Website: http://www.openttd.org");
0 comments (0 inline, 0 general)