updated help pages : added nitro, removed wheelies, added plunger, improved general layout

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2008-12-03 16:56:48 +00:00
parent 792b246c0c
commit 55cd4611f4
4 changed files with 99 additions and 92 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-11-11 02:49+0100\n" "POT-Creation-Date: 2008-12-03 11:55-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -21,7 +21,7 @@ msgstr ""
msgid "%dx%d Blacklisted" msgid "%dx%d Blacklisted"
msgstr "" msgstr ""
#: src/modes/world.cpp:411 #: src/modes/world.cpp:412
#, c-format #, c-format
msgid "" msgid ""
"'%s' has\n" "'%s' has\n"
@ -32,6 +32,10 @@ msgstr ""
msgid "3 Strikes Battle" msgid "3 Strikes Battle"
msgstr "" msgstr ""
#: src/gui/help_page_three.cpp:78 src/gui/help_page_two.cpp:128
msgid "< Back"
msgstr ""
#. I18N: name of controls #. I18N: name of controls
#: src/gui/player_controls.cpp:72 #: src/gui/player_controls.cpp:72
msgid "Accelerate" msgid "Accelerate"
@ -53,7 +57,7 @@ msgstr ""
msgid "Amazonian Journey" msgid "Amazonian Journey"
msgstr "" msgstr ""
#: src/gui/help_page_two.cpp:104 #: src/gui/help_page_two.cpp:111
msgid "Anvil - slows down greatly the kart in the first position" msgid "Anvil - slows down greatly the kart in the first position"
msgstr "" msgstr ""
@ -70,12 +74,6 @@ msgstr ""
msgid "Around the Lighthouse" msgid "Around the Lighthouse"
msgstr "" msgstr ""
#: src/gui/help_page_one.cpp:106
msgid ""
"At high speeds wheelies drive you faster, but you can't steer. If you\n"
"get stuck or fall too far, use the rescue button to get back on track."
msgstr ""
#: data/grandprix/atworldsend.grandprix:4 #: data/grandprix/atworldsend.grandprix:4
msgid "At world's end" msgid "At world's end"
msgstr "" msgstr ""
@ -84,11 +82,12 @@ msgstr ""
msgid "Avoid bananas" msgid "Avoid bananas"
msgstr "" msgstr ""
#: src/gui/race_results_gui.cpp:70 src/gui/grand_prix_ending.cpp:157 #: src/gui/grand_prix_ending.cpp:157 src/gui/race_results_gui.cpp:70
msgid "Back to the main menu" msgid "Back to the main menu"
msgstr "" msgstr ""
#: src/gui/help_page_two.cpp:118 #: src/gui/help_page_one.cpp:143 src/gui/help_page_three.cpp:82
#: src/gui/help_page_two.cpp:131
msgid "Back to the menu" msgid "Back to the menu"
msgstr "" msgstr ""
@ -96,7 +95,7 @@ msgstr ""
msgid "Become server" msgid "Become server"
msgstr "" msgstr ""
#: src/gui/help_page_two.cpp:80 #: src/gui/help_page_two.cpp:84
msgid "" msgid ""
"Bowling Ball - bounces off walls. If you are looking back,\n" "Bowling Ball - bounces off walls. If you are looking back,\n"
"it will be thrown backwards." "it will be thrown backwards."
@ -107,11 +106,11 @@ msgstr ""
msgid "Brake" msgid "Brake"
msgstr "" msgstr ""
#: src/gui/help_page_two.cpp:64 #: src/gui/help_page_two.cpp:66
msgid "BubbleGum - leave a sticky pink puddle behind you" msgid "BubbleGum - leave a sticky pink puddle behind you"
msgstr "" msgstr ""
#: src/gui/help_page_two.cpp:72 #: src/gui/help_page_two.cpp:75
msgid "" msgid ""
"Cake - thrown at the closest rival,\n" "Cake - thrown at the closest rival,\n"
"best on short ranges and long straights" "best on short ranges and long straights"
@ -168,10 +167,9 @@ msgstr ""
#: src/gui/help_page_one.cpp:121 #: src/gui/help_page_one.cpp:121
msgid "" msgid ""
"Collecting coins increases the number of powerups you receive.\n" "Collecting nitro allows you to get speed boosts whenever you\n"
"After 5 silver coins, each blue box will yield 2 powerups,\n" "wish by pressing the appropriate key. You can see your\n"
"after 10, 3 powerups and so on.\n" "current level of nitro in the bar at the right of the game screen."
"Each gold coin is worth 3 silver coins, so look out for them!"
msgstr "" msgstr ""
#: data/grandprix/alltracks.challenge:6 #: data/grandprix/alltracks.challenge:6
@ -202,8 +200,8 @@ msgstr ""
msgid "Connected:" msgid "Connected:"
msgstr "" msgstr ""
#: src/gui/feature_unlocked.cpp:47 src/gui/race_results_gui.cpp:59 #: src/gui/feature_unlocked.cpp:47 src/gui/grand_prix_ending.cpp:153
#: src/gui/grand_prix_ending.cpp:153 #: src/gui/race_results_gui.cpp:59
msgid "Continue" msgid "Continue"
msgstr "" msgstr ""
@ -217,9 +215,9 @@ msgid ""
"modified by M. Gagnon" "modified by M. Gagnon"
msgstr "" msgstr ""
#: data/tracks/snowtuxpeak/snowtuxpeak.track:5
#: data/tracks/sandtrack/sandtrack.track:5
#: data/tracks/fortmagma/fortmagma.track:5 #: data/tracks/fortmagma/fortmagma.track:5
#: data/tracks/sandtrack/sandtrack.track:5
#: data/tracks/snowtuxpeak/snowtuxpeak.track:5
msgid "" msgid ""
"Created by Oliver & Steve Baker\n" "Created by Oliver & Steve Baker\n"
"modified by Marianne Gagnon" "modified by Marianne Gagnon"
@ -255,7 +253,7 @@ msgstr ""
msgid "Display Settings" msgid "Display Settings"
msgstr "" msgstr ""
#: src/gui/race_options.cpp:311 #: src/gui/race_options.cpp:306
msgid "Driver" msgid "Driver"
msgstr "" msgstr ""
@ -269,9 +267,9 @@ msgstr ""
#: data/tracks/jungle/jungle.challenge:6 #: data/tracks/jungle/jungle.challenge:6
msgid "" msgid ""
"Finish 3 laps in the Race track\n" "Finish 3 laps in Racetrack\n"
"with 3 AI karts\n" "with 3 AI karts\n"
"in under 1:15 minutes." "in under 2:15 minutes."
msgstr "" msgstr ""
#: data/tracks/snowtuxpeak/snowtuxpeak.challenge:6 #: data/tracks/snowtuxpeak/snowtuxpeak.challenge:6
@ -289,7 +287,7 @@ msgid ""
msgstr "" msgstr ""
#: data/tracks/jungle/jungle.challenge:5 #: data/tracks/jungle/jungle.challenge:5
msgid "Finish Race track in 1:15" msgid "Finish Race track in 2:15"
msgstr "" msgstr ""
#: data/tracks/canyon/canyon.challenge:5 #: data/tracks/canyon/canyon.challenge:5
@ -300,7 +298,7 @@ msgstr ""
msgid "Finish the City track in 5:20" msgid "Finish the City track in 5:20"
msgstr "" msgstr ""
#: src/gui/race_gui.cpp:754 #: src/gui/race_gui.cpp:686
#, c-format #, c-format
msgid "Finished" msgid "Finished"
msgstr "" msgstr ""
@ -361,16 +359,12 @@ msgstr ""
msgid "Game modes" msgid "Game modes"
msgstr "" msgstr ""
#: src/gui/credits_menu.cpp:75 src/gui/challenges_menu.cpp:52 #: src/gui/challenges_menu.cpp:52 src/gui/credits_menu.cpp:75
msgid "Go back to the main menu" msgid "Go back to the main menu"
msgstr "" msgstr ""
#: src/gui/help_page_three.cpp:82 src/gui/help_page_one.cpp:147
msgid "Go back to the menu"
msgstr ""
#. I18N: as in "ready, set, go", shown at the beginning of the race #. I18N: as in "ready, set, go", shown at the beginning of the race
#: src/gui/race_gui.cpp:905 #: src/gui/race_gui.cpp:837
msgid "Go!" msgid "Go!"
msgstr "" msgstr ""
@ -389,7 +383,7 @@ msgid ""
"most points wins (shortest time in case of a tie!) " "most points wins (shortest time in case of a tie!) "
msgstr "" msgstr ""
#: src/gui/race_menu.cpp:49 src/gui/main_menu.cpp:68 #: src/gui/main_menu.cpp:68 src/gui/race_menu.cpp:49
msgid "Help" msgid "Help"
msgstr "" msgstr ""
@ -397,7 +391,7 @@ msgstr ""
msgid "Highscores" msgid "Highscores"
msgstr "" msgstr ""
#: src/gui/help_page_one.cpp:131 #: src/gui/help_page_one.cpp:128
msgid "" msgid ""
"If you see a button with a lock like the one to the right,\n" "If you see a button with a lock like the one to the right,\n"
"you need to complete a challenge to unlock it." "you need to complete a challenge to unlock it."
@ -407,7 +401,7 @@ msgstr ""
msgid "Increase Resolution" msgid "Increase Resolution"
msgstr "" msgstr ""
#: src/user_config.cpp:876 #: src/user_config.cpp:870
#, c-format #, c-format
msgid "Invalid" msgid "Invalid"
msgstr "" msgstr ""
@ -425,7 +419,7 @@ msgstr ""
msgid "King Weird's Castle" msgid "King Weird's Castle"
msgstr "" msgstr ""
#: src/gui/race_gui.cpp:759 #: src/gui/race_gui.cpp:691
msgid "Lap" msgid "Lap"
msgstr "" msgstr ""
@ -433,7 +427,7 @@ msgstr ""
msgid "Last grand prix, longer and harder" msgid "Last grand prix, longer and harder"
msgstr "" msgstr ""
#: src/modes/follow_the_leader.cpp:136 #: src/modes/follow_the_leader.cpp:138
msgid "Leader" msgid "Leader"
msgstr "" msgstr ""
@ -500,15 +494,15 @@ msgid ""
"now available" "now available"
msgstr "" msgstr ""
#: src/gui/help_page_two.cpp:114 src/gui/help_page_one.cpp:143 #: src/gui/help_page_one.cpp:146 src/gui/help_page_two.cpp:134
msgid "Next help screen" msgid "Next >"
msgstr "" msgstr ""
#: src/gui/grand_prix_select.cpp:63 src/gui/grand_prix_select.cpp:69 #: src/gui/grand_prix_select.cpp:63 src/gui/grand_prix_select.cpp:69
msgid "No Grand Prix selected" msgid "No Grand Prix selected"
msgstr "" msgstr ""
#: src/gui/race_options.cpp:310 src/gui/race_options.cpp:314 #: src/gui/race_options.cpp:305 src/gui/race_options.cpp:308
msgid "Novice" msgid "Novice"
msgstr "" msgstr ""
@ -524,7 +518,7 @@ msgstr ""
msgid "OK" msgid "OK"
msgstr "" msgstr ""
#: src/user_config.cpp:500 #: src/user_config.cpp:498
msgid "Old config file found, check your key bindings!" msgid "Old config file found, check your key bindings!"
msgstr "" msgstr ""
@ -536,11 +530,11 @@ msgstr ""
msgid "On the Beach" msgid "On the Beach"
msgstr "" msgstr ""
#: src/gui/race_menu.cpp:48 src/gui/options.cpp:40 src/gui/main_menu.cpp:63 #: src/gui/main_menu.cpp:63 src/gui/options.cpp:40 src/gui/race_menu.cpp:48
msgid "Options" msgid "Options"
msgstr "" msgstr ""
#: src/gui/help_page_two.cpp:96 #: src/gui/help_page_two.cpp:102
msgid "Parachute - slows down all karts in a better position!" msgid "Parachute - slows down all karts in a better position!"
msgstr "" msgstr ""
@ -548,7 +542,7 @@ msgstr ""
msgid "Paused" msgid "Paused"
msgstr "" msgstr ""
#: src/gui/race_gui.cpp:934 #: src/gui/race_gui.cpp:866
msgid "Penalty time!!" msgid "Penalty time!!"
msgstr "" msgstr ""
@ -590,6 +584,12 @@ msgstr ""
msgid "Player name" msgid "Player name"
msgstr "" msgstr ""
#: src/gui/help_page_two.cpp:120
msgid ""
"Plunger - throw straight to pull an opponent back,\n"
"or throw while looking back to make one lose sight!"
msgstr ""
#: data/tracks/prehistoric/prehistoric.track:4 #: data/tracks/prehistoric/prehistoric.track:4
msgid "Prehistoric Island" msgid "Prehistoric Island"
msgstr "" msgstr ""
@ -598,11 +598,11 @@ msgstr ""
msgid "Press <ESC> to Cancel" msgid "Press <ESC> to Cancel"
msgstr "" msgstr ""
#: src/gui/num_players.cpp:46 src/gui/player_controls.cpp:128 #: src/gui/config_controls.cpp:52 src/gui/config_display.cpp:102
#: src/gui/race_options.cpp:149 src/gui/config_controls.cpp:52 #: src/gui/config_sound.cpp:63 src/gui/game_mode.cpp:157
#: src/gui/config_display.cpp:102 src/gui/options.cpp:57
#: src/gui/grand_prix_select.cpp:80 src/gui/network_gui.cpp:79 #: src/gui/grand_prix_select.cpp:80 src/gui/network_gui.cpp:79
#: src/gui/game_mode.cpp:157 src/gui/config_sound.cpp:63 #: src/gui/num_players.cpp:46 src/gui/options.cpp:57
#: src/gui/player_controls.cpp:128 src/gui/race_options.cpp:149
msgid "Press <ESC> to go back" msgid "Press <ESC> to go back"
msgstr "" msgstr ""
@ -610,14 +610,6 @@ msgstr ""
msgid "Press key" msgid "Press key"
msgstr "" msgstr ""
#: src/gui/help_page_three.cpp:78
msgid "Previous help screen"
msgstr ""
#: src/gui/help_page_two.cpp:110
msgid "Previous screen"
msgstr ""
#: src/gui/game_mode.cpp:67 src/gui/game_mode.cpp:104 #: src/gui/game_mode.cpp:67 src/gui/game_mode.cpp:104
msgid "Quick Race" msgid "Quick Race"
msgstr "" msgstr ""
@ -630,7 +622,7 @@ msgstr ""
msgid "Quit" msgid "Quit"
msgstr "" msgstr ""
#: src/gui/race_gui.cpp:697 #: src/gui/race_gui.cpp:628
msgid "REV" msgid "REV"
msgstr "" msgstr ""
@ -642,7 +634,7 @@ msgstr ""
msgid "Race results" msgid "Race results"
msgstr "" msgstr ""
#: src/gui/race_options.cpp:312 #: src/gui/race_options.cpp:307
msgid "Racer" msgid "Racer"
msgstr "" msgstr ""
@ -651,7 +643,7 @@ msgid "Racetrack"
msgstr "" msgstr ""
#. I18N: as in "ready, set, go", shown at the beginning of the race #. I18N: as in "ready, set, go", shown at the beginning of the race
#: src/gui/race_gui.cpp:885 #: src/gui/race_gui.cpp:817
msgid "Ready!" msgid "Ready!"
msgstr "" msgstr ""
@ -682,7 +674,7 @@ msgid "Select network mode"
msgstr "" msgstr ""
#. I18N: as in "ready, set, go", shown at the beginning of the race #. I18N: as in "ready, set, go", shown at the beginning of the race
#: src/gui/race_gui.cpp:895 #: src/gui/race_gui.cpp:827
msgid "Set!" msgid "Set!"
msgstr "" msgstr ""
@ -702,7 +694,7 @@ msgstr ""
msgid "Single Race" msgid "Single Race"
msgstr "" msgstr ""
#: src/gui/race_options.cpp:313 data/grandprix/alltracks.challenge:8 #: data/grandprix/alltracks.challenge:8
msgid "Skidding Preview" msgid "Skidding Preview"
msgstr "" msgstr ""
@ -787,7 +779,7 @@ msgstr ""
msgid "Time Trial: As quick race, but no items. " msgid "Time Trial: As quick race, but no items. "
msgstr "" msgstr ""
#: src/gui/help_page_two.cpp:57 #: src/gui/help_page_two.cpp:58
msgid "To help you win, there are certain powerups you can grab:" msgid "To help you win, there are certain powerups you can grab:"
msgstr "" msgstr ""
@ -905,7 +897,7 @@ msgstr ""
msgid "You finished the race!" msgid "You finished the race!"
msgstr "" msgstr ""
#: src/modes/world.cpp:406 #: src/modes/world.cpp:407
msgid "" msgid ""
"You have been\n" "You have been\n"
"eliminated!" "eliminated!"
@ -915,36 +907,36 @@ msgstr ""
msgid "You won the race!" msgid "You won the race!"
msgstr "" msgstr ""
#: src/gui/help_page_two.cpp:88 #: src/gui/help_page_two.cpp:93
msgid "Zipper - speed boost" msgid "Zipper - speed boost"
msgstr "" msgstr ""
#: src/user_config.cpp:859 #: src/user_config.cpp:853
#, c-format #, c-format
msgid "joy %d axis %d %c" msgid "joy %d axis %d %c"
msgstr "" msgstr ""
#: src/user_config.cpp:863 #: src/user_config.cpp:857
#, c-format #, c-format
msgid "joy %d btn %d" msgid "joy %d btn %d"
msgstr "" msgstr ""
#: src/user_config.cpp:866 #: src/user_config.cpp:860
#, c-format #, c-format
msgid "joy %d hat %d" msgid "joy %d hat %d"
msgstr "" msgstr ""
#: src/user_config.cpp:872 #: src/user_config.cpp:866
#, c-format #, c-format
msgid "mouse axis %d %c" msgid "mouse axis %d %c"
msgstr "" msgstr ""
#: src/user_config.cpp:869 #: src/user_config.cpp:863
#, c-format #, c-format
msgid "mouse btn %d" msgid "mouse btn %d"
msgstr "" msgstr ""
#: src/user_config.cpp:853 src/user_config.cpp:897 #: src/user_config.cpp:847 src/user_config.cpp:891
#, c-format #, c-format
msgid "not set" msgid "not set"
msgstr "" msgstr ""

View File

@ -100,13 +100,13 @@ HelpPageOne::HelpPageOne()
/*Empty widget to cover the space for the 3D models*/ /*Empty widget to cover the space for the 3D models*/
widget_manager->addEmptyWgt( WidgetManager::WGT_NONE, 100, 15); widget_manager->addEmptyWgt( WidgetManager::WGT_NONE, 100, 15);
widget_manager->breakLine(); widget_manager->breakLine();
/*
widget_manager->addTextWgt(WTOK_MSG4, 100, 13, widget_manager->addTextWgt(WTOK_MSG4, 100, 13,
//Next line starts at column 0 to avoid spaces in the GUI //Next line starts at column 0 to avoid spaces in the GUI
_("At high speeds wheelies drive you faster, but you can't steer. If you\n\ _("At high speeds wheelies drive you faster, but you can't steer. If you\n\
get stuck or fall too far, use the rescue button to get back on track.")); get stuck or fall too far, use the rescue button to get back on track."));
widget_manager->setWgtResizeToText( WTOK_MSG4, false ); widget_manager->setWgtResizeToText( WTOK_MSG4, false );
widget_manager->breakLine(); widget_manager->breakLine();*/
widget_manager->addEmptyWgt( WidgetManager::WGT_NONE, 100, 1); widget_manager->addEmptyWgt( WidgetManager::WGT_NONE, 100, 1);
widget_manager->breakLine(); widget_manager->breakLine();
@ -118,10 +118,7 @@ get stuck or fall too far, use the rescue button to get back on track."));
widget_manager->breakLine(); widget_manager->breakLine();
widget_manager->addTextWgt(WTOK_MSG6, 100, 17, widget_manager->addTextWgt(WTOK_MSG6, 100, 17,
_("Collecting coins increases the number of powerups you receive.\n\ _("Collecting nitro allows you to get speed boosts whenever you\nwish by pressing the appropriate key. You can see your\ncurrent level of nitro in the bar at the right of the game screen."));
After 5 silver coins, each blue box will yield 2 powerups,\nafter 10,\
3 powerups and so on.\nEach gold coin is worth 3 silver coins, \
so look out for them!"));
widget_manager->setWgtResizeToText( WTOK_MSG6, false); widget_manager->setWgtResizeToText( WTOK_MSG6, false);
widget_manager->breakLine(); widget_manager->breakLine();
widget_manager->addEmptyWgt( WidgetManager::WGT_NONE, 100, 1); widget_manager->addEmptyWgt( WidgetManager::WGT_NONE, 100, 1);
@ -139,12 +136,14 @@ you need to complete a challenge to unlock it."));
widget_manager->breakLine(); widget_manager->breakLine();
/*Buttons at the bottom*/ /*Buttons at the bottom*/
widget_manager->addTextButtonWgt(WTOK_SECOND_PAGE, 20, 7, widget_manager->addEmptyWgt( WidgetManager::WGT_NONE, 100, 25);
_("Next help screen"));
widget_manager->breakLine(); widget_manager->breakLine();
widget_manager->addEmptyWgt( WidgetManager::WGT_NONE, 30, 7);
widget_manager->addTextButtonWgt(WTOK_QUIT, 40, 7, widget_manager->addTextButtonWgt(WTOK_QUIT, 40, 7,
_("Go back to the menu")); _("Back to the menu"));
widget_manager->addTextButtonWgt(WTOK_SECOND_PAGE, 30, 7,
_("Next >"));
widget_manager->layout( WGT_AREA_TOP ); widget_manager->layout( WGT_AREA_TOP );
} // HelpPageOne } // HelpPageOne

View File

@ -74,12 +74,12 @@ every time the counter hits zero"));
} }
/*Buttons at the bottom*/ /*Buttons at the bottom*/
widget_manager->addTextButtonWgt( WTOK_SECOND_PAGE, 25, 7, widget_manager->addTextButtonWgt( WTOK_SECOND_PAGE, 30, 7,
_("Previous help screen")); _("< Back"));
widget_manager->setWgtTextSize( WTOK_SECOND_PAGE, WGT_FNT_SML ); widget_manager->setWgtTextSize( WTOK_SECOND_PAGE, WGT_FNT_SML );
widget_manager->addTextButtonWgt( WTOK_QUIT, 40, 7, widget_manager->addTextButtonWgt( WTOK_QUIT, 40, 7,
_("Go back to the menu")); _("Back to the menu"));
widget_manager->setWgtTextSize( WTOK_QUIT, WGT_FNT_SML ); widget_manager->setWgtTextSize( WTOK_QUIT, WGT_FNT_SML );
widget_manager->layout( WGT_AREA_TOP ); widget_manager->layout( WGT_AREA_TOP );

View File

@ -33,6 +33,7 @@ enum WidgetTokens
WTOK_IMG4, WTOK_TXT4, WTOK_IMG4, WTOK_TXT4,
WTOK_IMG5, WTOK_TXT5, WTOK_IMG5, WTOK_TXT5,
WTOK_IMG6, WTOK_TXT6, WTOK_IMG6, WTOK_TXT6,
WTOK_IMG7, WTOK_TXT7,
WTOK_FIRST_PAGE, WTOK_FIRST_PAGE,
WTOK_THIRD_PAGE, WTOK_THIRD_PAGE,
@ -57,6 +58,7 @@ HelpPageTwo::HelpPageTwo()
_("To help you win, there are certain powerups you can grab:")); _("To help you win, there are certain powerups you can grab:"));
widget_manager->breakLine(); widget_manager->breakLine();
// ------ bubble gum -----
widget_manager->addImgWgt( WTOK_IMG1, 10, 12, widget_manager->addImgWgt( WTOK_IMG1, 10, 12,
powerup_manager->getIcon(POWERUP_BUBBLEGUM)->getState()->getTextureHandle()); powerup_manager->getIcon(POWERUP_BUBBLEGUM)->getState()->getTextureHandle());
@ -65,6 +67,7 @@ HelpPageTwo::HelpPageTwo()
widget_manager->setWgtRoundCorners( WTOK_TXT1, WGT_AREA_RGT ); widget_manager->setWgtRoundCorners( WTOK_TXT1, WGT_AREA_RGT );
widget_manager->breakLine(); widget_manager->breakLine();
// ------ cakes -----
widget_manager->addImgWgt(WTOK_IMG2, 10, 12, widget_manager->addImgWgt(WTOK_IMG2, 10, 12,
powerup_manager->getIcon(POWERUP_CAKE)->getState()->getTextureHandle()); powerup_manager->getIcon(POWERUP_CAKE)->getState()->getTextureHandle());
@ -73,6 +76,7 @@ HelpPageTwo::HelpPageTwo()
widget_manager->setWgtRoundCorners( WTOK_TXT2, WGT_AREA_RGT ); widget_manager->setWgtRoundCorners( WTOK_TXT2, WGT_AREA_RGT );
widget_manager->breakLine(); widget_manager->breakLine();
// ------ bowling balls -----
widget_manager->addImgWgt(WTOK_IMG3, 10, 12, widget_manager->addImgWgt(WTOK_IMG3, 10, 12,
powerup_manager->getIcon(POWERUP_BOWLING)->getState()->getTextureHandle()); powerup_manager->getIcon(POWERUP_BOWLING)->getState()->getTextureHandle());
@ -81,6 +85,7 @@ HelpPageTwo::HelpPageTwo()
widget_manager->setWgtRoundCorners( WTOK_TXT3, WGT_AREA_RGT ); widget_manager->setWgtRoundCorners( WTOK_TXT3, WGT_AREA_RGT );
widget_manager->breakLine(); widget_manager->breakLine();
// ------ zipper -----
widget_manager->addImgWgt(WTOK_IMG4, 10, 12, widget_manager->addImgWgt(WTOK_IMG4, 10, 12,
powerup_manager->getIcon(POWERUP_ZIPPER)->getState()->getTextureHandle()); powerup_manager->getIcon(POWERUP_ZIPPER)->getState()->getTextureHandle());
@ -89,6 +94,7 @@ HelpPageTwo::HelpPageTwo()
widget_manager->setWgtRoundCorners(WTOK_TXT4, WGT_AREA_RGT); widget_manager->setWgtRoundCorners(WTOK_TXT4, WGT_AREA_RGT);
widget_manager->breakLine(); widget_manager->breakLine();
// ------ parachute -----
widget_manager->addImgWgt(WTOK_IMG5, 10, 12, widget_manager->addImgWgt(WTOK_IMG5, 10, 12,
powerup_manager->getIcon(POWERUP_PARACHUTE)->getState()->getTextureHandle()); powerup_manager->getIcon(POWERUP_PARACHUTE)->getState()->getTextureHandle());
@ -97,6 +103,7 @@ HelpPageTwo::HelpPageTwo()
widget_manager->setWgtRoundCorners(WTOK_TXT5, WGT_AREA_RGT); widget_manager->setWgtRoundCorners(WTOK_TXT5, WGT_AREA_RGT);
widget_manager->breakLine(); widget_manager->breakLine();
// ------ anvil -----
widget_manager->addImgWgt(WTOK_IMG6, 10, 12, widget_manager->addImgWgt(WTOK_IMG6, 10, 12,
powerup_manager->getIcon(POWERUP_ANVIL)->getState()->getTextureHandle()); powerup_manager->getIcon(POWERUP_ANVIL)->getState()->getTextureHandle());
@ -105,18 +112,27 @@ HelpPageTwo::HelpPageTwo()
widget_manager->setWgtRoundCorners(WTOK_TXT6, WGT_AREA_RGT); widget_manager->setWgtRoundCorners(WTOK_TXT6, WGT_AREA_RGT);
widget_manager->breakLine(); widget_manager->breakLine();
/*Buttons at the bottom*/ // ------ plunger -----
widget_manager->addTextButtonWgt(WTOK_FIRST_PAGE, 40, 7, widget_manager->addImgWgt(WTOK_IMG7, 10, 12,
_("Previous screen")); powerup_manager->getIcon(POWERUP_PLUNGER)->getState()->getTextureHandle());
widget_manager->addTextWgt(WTOK_TXT7, 90, 12,
_("Plunger - throw straight to pull an opponent back,\nor throw while looking back to make one lose sight!"));
widget_manager->setWgtRoundCorners( WTOK_TXT7, WGT_AREA_RGT );
widget_manager->breakLine(); widget_manager->breakLine();
widget_manager->addTextButtonWgt(WTOK_THIRD_PAGE, 40, 7, /*Buttons at the bottom*/
_("Next help screen")); widget_manager->addEmptyWgt( WidgetManager::WGT_NONE, 100, 2);
widget_manager->breakLine(); widget_manager->breakLine();
widget_manager->addTextButtonWgt(WTOK_FIRST_PAGE, 30, 7,
_("< Back"));
widget_manager->addTextButtonWgt(WTOK_QUIT, 40, 7, widget_manager->addTextButtonWgt(WTOK_QUIT, 40, 7,
_("Back to the menu")); _("Back to the menu"));
widget_manager->addTextButtonWgt(WTOK_THIRD_PAGE, 30, 7,
_("Next >"));
widget_manager->layout( WGT_AREA_TOP ); widget_manager->layout( WGT_AREA_TOP );
} // HelpMenu } // HelpMenu