"Mirror actions must be defined after the real one!\n";
else
{
- for(int i = 0; i < act_tmp->surfaces.size(); i++)
+ for(int i = 0; static_cast<unsigned int>(i) < act_tmp->surfaces.size(); i++)
{
Surface* surface = new Surface(sdl_surface_from_sdl_surface(
act_tmp->surfaces[i]->impl->get_sdl_surface(), true), true);
# Set of available languages.
de
es
-it
pt
fr
nl
nn
+it
msgstr ""
"Project-Id-Version: SuperTux 0.1.1\n"
"Report-Msgid-Bugs-To: super-tux-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2004-10-12 19:19+0100\n"
+"POT-Creation-Date: 2004-10-20 14:06-0600\n"
"PO-Revision-Date: 2004-06-03 00:29+0200\n"
"Last-Translator: <matze@braunis.de>\n"
"Language-Team: German <de@li.org>\n"
msgstr ""
#: src/gameloop.cpp:675
-#, c-format
msgid "Playing: "
msgstr ""
#: src/leveleditor.cpp:70 src/leveleditor.cpp:80 src/misc.cpp:125
#: src/misc.cpp:136 src/misc.cpp:149 src/misc.cpp:160 src/title.cpp:142
-#: src/title.cpp:213
+#: src/title.cpp:220
msgid "Back"
msgstr ""
msgid "Eraser"
msgstr ""
-#: src/leveleditor.cpp:137
+#: src/leveleditor.cpp:141
msgid "Trampoline"
msgstr ""
-#: src/leveleditor.cpp:138
+#: src/leveleditor.cpp:142
msgid "Flying Platform"
msgstr ""
-#: src/leveleditor.cpp:139
+#: src/leveleditor.cpp:143
msgid "Door"
msgstr ""
-#: src/leveleditor.cpp:142
+#: src/leveleditor.cpp:146
msgid "Edtit foreground tiles"
msgstr ""
-#: src/leveleditor.cpp:144
+#: src/leveleditor.cpp:148
msgid "Edit interactive tiles"
msgstr ""
-#: src/leveleditor.cpp:146
+#: src/leveleditor.cpp:150
msgid "Edit background tiles"
msgstr ""
-#: src/leveleditor.cpp:150
+#: src/leveleditor.cpp:154
msgid "Next sector"
msgstr ""
-#: src/leveleditor.cpp:151
+#: src/leveleditor.cpp:155
msgid "Prevous sector"
msgstr ""
-#: src/leveleditor.cpp:152
+#: src/leveleditor.cpp:156
msgid "Next level"
msgstr ""
-#: src/leveleditor.cpp:153
+#: src/leveleditor.cpp:157
msgid "Prevous level"
msgstr ""
-#: src/leveleditor.cpp:154
+#: src/leveleditor.cpp:158
#, fuzzy
msgid "Save level"
msgstr "Spiel Beginnen"
-#: src/leveleditor.cpp:155
+#: src/leveleditor.cpp:159
msgid "Test level"
msgstr ""
-#: src/leveleditor.cpp:156
+#: src/leveleditor.cpp:160
msgid "Setup level"
msgstr ""
-#: src/leveleditor.cpp:238 src/leveleditor.cpp:714 src/leveleditor.cpp:739
-#: src/leveleditor.cpp:830
+#: src/leveleditor.cpp:242 src/leveleditor.cpp:718 src/leveleditor.cpp:743
+#: src/leveleditor.cpp:834
msgid "Level not saved. Wanna to?"
msgstr ""
-#: src/leveleditor.cpp:353
+#: src/leveleditor.cpp:357
#, c-format
msgid "Level %d doesn't exist. Create it?"
msgstr ""
-#: src/leveleditor.cpp:556 src/misc.cpp:96
+#: src/leveleditor.cpp:560 src/misc.cpp:96
msgid "Level Editor"
msgstr "Level Editor"
-#: src/leveleditor.cpp:579
+#: src/leveleditor.cpp:583
msgid "F1 for help"
msgstr ""
-#: src/leveleditor.cpp:581
+#: src/leveleditor.cpp:585
msgid "Choose a level subset"
msgstr ""
-#: src/leveleditor.cpp:765
+#: src/leveleditor.cpp:769
msgid "No more sectors exist. Create another?"
msgstr ""
-#: src/leveleditor.cpp:917
+#: src/leveleditor.cpp:921
msgid ""
"This is the built-in level editor. It's aim is to be intuitive\n"
"and simple to use, so it should be pretty straight forward.\n"
"enemies and game objects in the bottom.\n"
msgstr ""
-#: src/leveleditor.cpp:953
+#: src/leveleditor.cpp:957
msgid ""
"The Foreground/Interactive/Background buttons may be used to\n"
"see and edit the respective layer. Level's have three tiles layers:\n"
"Webpage: http://pingus.seul.org/~grumbel/flexlay/"
msgstr ""
-#: src/leveleditor.cpp:993
+#: src/leveleditor.cpp:997
#, fuzzy
msgid "- Level Editor's Help -"
msgstr "Level Editor"
-#: src/leveleditor.cpp:997
+#: src/leveleditor.cpp:1001
#, c-format
msgid "Press any key to continue - Page %d/%d"
msgstr ""
msgstr ""
#: src/statistics.cpp:117
-#, c-format
msgid "Max score:"
msgstr ""
#: src/statistics.cpp:137
-#, c-format
msgid "Max coins collected:"
msgstr ""
#: src/statistics.cpp:139
-#, c-format
msgid "Max fragging:"
msgstr ""
#: src/statistics.cpp:141
-#, c-format
msgid "Min time needed:"
msgstr ""
msgid "Min time needed: %d / %d"
msgstr ""
-#: src/title.cpp:367
+#: src/title.cpp:374
msgid ""
"Copyright (c) 2003 SuperTux Devel Team\n"
"This game comes with ABSOLUTELY NO WARRANTY. This is free software, and you\n"
"for details.\n"
msgstr ""
-#: src/title.cpp:419
+#: src/title.cpp:426
msgid "Are you sure you want to delete slot"
msgstr ""
msgstr ""
"Project-Id-Version: SuperTux-CVS\n"
"Report-Msgid-Bugs-To: super-tux-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2004-10-12 19:19+0100\n"
+"POT-Creation-Date: 2004-10-20 14:06-0600\n"
"PO-Revision-Date: 2004-10-12 19:31+0200\n"
"Last-Translator: Javier Beaumont <demonight@users.sourceforge.net>\n"
"Language-Team: Spanish Team <super-tux-devel@lists.sourceforge.net>\n"
msgstr "PAUSA - Pulsa 'P' para continuar"
#: src/gameloop.cpp:675
-#, c-format
msgid "Playing: "
msgstr "Jugando: "
#: src/leveleditor.cpp:70 src/leveleditor.cpp:80 src/misc.cpp:125
#: src/misc.cpp:136 src/misc.cpp:149 src/misc.cpp:160 src/title.cpp:142
-#: src/title.cpp:213
+#: src/title.cpp:220
msgid "Back"
msgstr "Volver"
msgid "Eraser"
msgstr ""
-#: src/leveleditor.cpp:137
+#: src/leveleditor.cpp:141
msgid "Trampoline"
msgstr ""
-#: src/leveleditor.cpp:138
+#: src/leveleditor.cpp:142
msgid "Flying Platform"
msgstr ""
-#: src/leveleditor.cpp:139
+#: src/leveleditor.cpp:143
msgid "Door"
msgstr ""
-#: src/leveleditor.cpp:142
+#: src/leveleditor.cpp:146
msgid "Edtit foreground tiles"
msgstr ""
-#: src/leveleditor.cpp:144
+#: src/leveleditor.cpp:148
msgid "Edit interactive tiles"
msgstr ""
-#: src/leveleditor.cpp:146
+#: src/leveleditor.cpp:150
msgid "Edit background tiles"
msgstr ""
-#: src/leveleditor.cpp:150
+#: src/leveleditor.cpp:154
msgid "Next sector"
msgstr ""
-#: src/leveleditor.cpp:151
+#: src/leveleditor.cpp:155
msgid "Prevous sector"
msgstr ""
-#: src/leveleditor.cpp:152
+#: src/leveleditor.cpp:156
msgid "Next level"
msgstr ""
-#: src/leveleditor.cpp:153
+#: src/leveleditor.cpp:157
msgid "Prevous level"
msgstr ""
-#: src/leveleditor.cpp:154
+#: src/leveleditor.cpp:158
#, fuzzy
msgid "Save level"
msgstr "Salvar el juego"
-#: src/leveleditor.cpp:155
+#: src/leveleditor.cpp:159
msgid "Test level"
msgstr ""
-#: src/leveleditor.cpp:156
+#: src/leveleditor.cpp:160
#, fuzzy
msgid "Setup level"
msgstr "Configurar las teclas"
-#: src/leveleditor.cpp:238 src/leveleditor.cpp:714 src/leveleditor.cpp:739
-#: src/leveleditor.cpp:830
+#: src/leveleditor.cpp:242 src/leveleditor.cpp:718 src/leveleditor.cpp:743
+#: src/leveleditor.cpp:834
msgid "Level not saved. Wanna to?"
msgstr ""
-#: src/leveleditor.cpp:353
+#: src/leveleditor.cpp:357
#, c-format
msgid "Level %d doesn't exist. Create it?"
msgstr ""
-#: src/leveleditor.cpp:556 src/misc.cpp:96
+#: src/leveleditor.cpp:560 src/misc.cpp:96
msgid "Level Editor"
msgstr "Editor de niveles"
-#: src/leveleditor.cpp:579
+#: src/leveleditor.cpp:583
msgid "F1 for help"
msgstr ""
-#: src/leveleditor.cpp:581
+#: src/leveleditor.cpp:585
msgid "Choose a level subset"
msgstr ""
-#: src/leveleditor.cpp:765
+#: src/leveleditor.cpp:769
msgid "No more sectors exist. Create another?"
msgstr ""
-#: src/leveleditor.cpp:917
+#: src/leveleditor.cpp:921
msgid ""
"This is the built-in level editor. It's aim is to be intuitive\n"
"and simple to use, so it should be pretty straight forward.\n"
"enemies and game objects in the bottom.\n"
msgstr ""
-#: src/leveleditor.cpp:953
+#: src/leveleditor.cpp:957
msgid ""
"The Foreground/Interactive/Background buttons may be used to\n"
"see and edit the respective layer. Level's have three tiles layers:\n"
"Webpage: http://pingus.seul.org/~grumbel/flexlay/"
msgstr ""
-#: src/leveleditor.cpp:993
+#: src/leveleditor.cpp:997
#, fuzzy
msgid "- Level Editor's Help -"
msgstr "Editor de niveles"
-#: src/leveleditor.cpp:997
+#: src/leveleditor.cpp:1001
#, c-format
msgid "Press any key to continue - Page %d/%d"
msgstr ""
msgstr "Las mejores estadísticas del nivel"
#: src/statistics.cpp:117
-#, fuzzy, c-format
+#, fuzzy
msgid "Max score:"
msgstr "Máxima puntuación: %d"
#: src/statistics.cpp:137
-#, c-format
msgid "Max coins collected:"
msgstr ""
#: src/statistics.cpp:139
-#, fuzzy, c-format
+#, fuzzy
msgid "Max fragging:"
msgstr "Máxima matanza: %d"
#: src/statistics.cpp:141
-#, fuzzy, c-format
+#, fuzzy
msgid "Min time needed:"
msgstr "Mínimo tiempo necesario: %d"
msgid "Min time needed: %d / %d"
msgstr "Mínimo tiempo necesario: %d"
-#: src/title.cpp:367
+#: src/title.cpp:374
msgid ""
"Copyright (c) 2003 SuperTux Devel Team\n"
"This game comes with ABSOLUTELY NO WARRANTY. This is free software, and you\n"
"COPYING\n"
"para detalles.\n"
-#: src/title.cpp:419
+#: src/title.cpp:426
msgid "Are you sure you want to delete slot"
msgstr "¿Estás seguro de que quieres borrar la ranura?"
msgstr ""
"Project-Id-Version: fr\n"
"Report-Msgid-Bugs-To: super-tux-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2004-10-12 19:19+0100\n"
+"POT-Creation-Date: 2004-10-20 14:06-0600\n"
"PO-Revision-Date: 2004-06-17 22:11+0200\n"
"Last-Translator: Frederic Rodrigo <f.rodrigo@free.fr>\n"
"Language-Team: Français\n"
msgstr "PAUSE - Pressez P pour Jouer"
#: src/gameloop.cpp:675
-#, c-format
msgid "Playing: "
msgstr "Jouer : "
#: src/leveleditor.cpp:70 src/leveleditor.cpp:80 src/misc.cpp:125
#: src/misc.cpp:136 src/misc.cpp:149 src/misc.cpp:160 src/title.cpp:142
-#: src/title.cpp:213
+#: src/title.cpp:220
msgid "Back"
msgstr "Retour"
msgid "Eraser"
msgstr ""
-#: src/leveleditor.cpp:137
+#: src/leveleditor.cpp:141
msgid "Trampoline"
msgstr ""
-#: src/leveleditor.cpp:138
+#: src/leveleditor.cpp:142
msgid "Flying Platform"
msgstr ""
-#: src/leveleditor.cpp:139
+#: src/leveleditor.cpp:143
msgid "Door"
msgstr ""
-#: src/leveleditor.cpp:142
+#: src/leveleditor.cpp:146
msgid "Edtit foreground tiles"
msgstr ""
-#: src/leveleditor.cpp:144
+#: src/leveleditor.cpp:148
msgid "Edit interactive tiles"
msgstr ""
-#: src/leveleditor.cpp:146
+#: src/leveleditor.cpp:150
msgid "Edit background tiles"
msgstr ""
-#: src/leveleditor.cpp:150
+#: src/leveleditor.cpp:154
msgid "Next sector"
msgstr ""
-#: src/leveleditor.cpp:151
+#: src/leveleditor.cpp:155
msgid "Prevous sector"
msgstr ""
-#: src/leveleditor.cpp:152
+#: src/leveleditor.cpp:156
msgid "Next level"
msgstr ""
-#: src/leveleditor.cpp:153
+#: src/leveleditor.cpp:157
msgid "Prevous level"
msgstr ""
-#: src/leveleditor.cpp:154
+#: src/leveleditor.cpp:158
#, fuzzy
msgid "Save level"
msgstr "Sauver le Jeu"
-#: src/leveleditor.cpp:155
+#: src/leveleditor.cpp:159
msgid "Test level"
msgstr ""
-#: src/leveleditor.cpp:156
+#: src/leveleditor.cpp:160
#, fuzzy
msgid "Setup level"
msgstr "Touches "
-#: src/leveleditor.cpp:238 src/leveleditor.cpp:714 src/leveleditor.cpp:739
-#: src/leveleditor.cpp:830
+#: src/leveleditor.cpp:242 src/leveleditor.cpp:718 src/leveleditor.cpp:743
+#: src/leveleditor.cpp:834
msgid "Level not saved. Wanna to?"
msgstr ""
-#: src/leveleditor.cpp:353
+#: src/leveleditor.cpp:357
#, c-format
msgid "Level %d doesn't exist. Create it?"
msgstr ""
-#: src/leveleditor.cpp:556 src/misc.cpp:96
+#: src/leveleditor.cpp:560 src/misc.cpp:96
msgid "Level Editor"
msgstr "Éditeur de niveaux"
-#: src/leveleditor.cpp:579
+#: src/leveleditor.cpp:583
msgid "F1 for help"
msgstr ""
-#: src/leveleditor.cpp:581
+#: src/leveleditor.cpp:585
msgid "Choose a level subset"
msgstr ""
-#: src/leveleditor.cpp:765
+#: src/leveleditor.cpp:769
msgid "No more sectors exist. Create another?"
msgstr ""
-#: src/leveleditor.cpp:917
+#: src/leveleditor.cpp:921
msgid ""
"This is the built-in level editor. It's aim is to be intuitive\n"
"and simple to use, so it should be pretty straight forward.\n"
"enemies and game objects in the bottom.\n"
msgstr ""
-#: src/leveleditor.cpp:953
+#: src/leveleditor.cpp:957
msgid ""
"The Foreground/Interactive/Background buttons may be used to\n"
"see and edit the respective layer. Level's have three tiles layers:\n"
"Webpage: http://pingus.seul.org/~grumbel/flexlay/"
msgstr ""
-#: src/leveleditor.cpp:993
+#: src/leveleditor.cpp:997
#, fuzzy
msgid "- Level Editor's Help -"
msgstr "Éditeur de niveaux"
-#: src/leveleditor.cpp:997
+#: src/leveleditor.cpp:1001
#, c-format
msgid "Press any key to continue - Page %d/%d"
msgstr ""
msgstr ""
#: src/statistics.cpp:117
-#, c-format
msgid "Max score:"
msgstr ""
#: src/statistics.cpp:137
-#, c-format
msgid "Max coins collected:"
msgstr ""
#: src/statistics.cpp:139
-#, c-format
msgid "Max fragging:"
msgstr ""
#: src/statistics.cpp:141
-#, c-format
msgid "Min time needed:"
msgstr ""
msgid "Min time needed: %d / %d"
msgstr ""
-#: src/title.cpp:367
+#: src/title.cpp:374
msgid ""
"Copyright (c) 2003 SuperTux Devel Team\n"
"This game comes with ABSOLUTELY NO WARRANTY. This is free software, and you\n"
"for details.\n"
msgstr ""
-#: src/title.cpp:419
+#: src/title.cpp:426
#, fuzzy
msgid "Are you sure you want to delete slot"
msgstr "Êtes vous sûr de vouloir supprimer le slot %d ?"
msgstr ""
"Project-Id-Version: PACGE VERSION\n"
"Report-Msgid-Bugs-To: super-tux-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2004-10-12 19:19+0100\n"
+"POT-Creation-Date: 2004-10-20 14:06-0600\n"
"PO-Revision-Date: 2004-06-07 HO:MI+ZONE\n"
"Last-Translator: Frank van der Loo <frank_l@linuxmail.org>\n"
"Language-Team: Dutch <nl@li.org>\n"
msgstr "PAUSE - Druk op 'P' Om Verder Te Gaan"
#: src/gameloop.cpp:675
-#, c-format
msgid "Playing: "
msgstr "Level: "
#: src/leveleditor.cpp:70 src/leveleditor.cpp:80 src/misc.cpp:125
#: src/misc.cpp:136 src/misc.cpp:149 src/misc.cpp:160 src/title.cpp:142
-#: src/title.cpp:213
+#: src/title.cpp:220
msgid "Back"
msgstr "Terug"
msgid "Eraser"
msgstr ""
-#: src/leveleditor.cpp:137
+#: src/leveleditor.cpp:141
msgid "Trampoline"
msgstr ""
-#: src/leveleditor.cpp:138
+#: src/leveleditor.cpp:142
msgid "Flying Platform"
msgstr ""
-#: src/leveleditor.cpp:139
+#: src/leveleditor.cpp:143
msgid "Door"
msgstr ""
-#: src/leveleditor.cpp:142
+#: src/leveleditor.cpp:146
msgid "Edtit foreground tiles"
msgstr ""
-#: src/leveleditor.cpp:144
+#: src/leveleditor.cpp:148
msgid "Edit interactive tiles"
msgstr ""
-#: src/leveleditor.cpp:146
+#: src/leveleditor.cpp:150
msgid "Edit background tiles"
msgstr ""
-#: src/leveleditor.cpp:150
+#: src/leveleditor.cpp:154
msgid "Next sector"
msgstr ""
-#: src/leveleditor.cpp:151
+#: src/leveleditor.cpp:155
msgid "Prevous sector"
msgstr ""
-#: src/leveleditor.cpp:152
+#: src/leveleditor.cpp:156
msgid "Next level"
msgstr ""
-#: src/leveleditor.cpp:153
+#: src/leveleditor.cpp:157
msgid "Prevous level"
msgstr ""
-#: src/leveleditor.cpp:154
+#: src/leveleditor.cpp:158
#, fuzzy
msgid "Save level"
msgstr "Bewaar Spel"
-#: src/leveleditor.cpp:155
+#: src/leveleditor.cpp:159
msgid "Test level"
msgstr ""
-#: src/leveleditor.cpp:156
+#: src/leveleditor.cpp:160
#, fuzzy
msgid "Setup level"
msgstr "Toetsen Instellen"
-#: src/leveleditor.cpp:238 src/leveleditor.cpp:714 src/leveleditor.cpp:739
-#: src/leveleditor.cpp:830
+#: src/leveleditor.cpp:242 src/leveleditor.cpp:718 src/leveleditor.cpp:743
+#: src/leveleditor.cpp:834
msgid "Level not saved. Wanna to?"
msgstr ""
-#: src/leveleditor.cpp:353
+#: src/leveleditor.cpp:357
#, c-format
msgid "Level %d doesn't exist. Create it?"
msgstr ""
-#: src/leveleditor.cpp:556 src/misc.cpp:96
+#: src/leveleditor.cpp:560 src/misc.cpp:96
msgid "Level Editor"
msgstr "Level Bewerker"
-#: src/leveleditor.cpp:579
+#: src/leveleditor.cpp:583
msgid "F1 for help"
msgstr ""
-#: src/leveleditor.cpp:581
+#: src/leveleditor.cpp:585
msgid "Choose a level subset"
msgstr ""
-#: src/leveleditor.cpp:765
+#: src/leveleditor.cpp:769
msgid "No more sectors exist. Create another?"
msgstr ""
-#: src/leveleditor.cpp:917
+#: src/leveleditor.cpp:921
msgid ""
"This is the built-in level editor. It's aim is to be intuitive\n"
"and simple to use, so it should be pretty straight forward.\n"
"enemies and game objects in the bottom.\n"
msgstr ""
-#: src/leveleditor.cpp:953
+#: src/leveleditor.cpp:957
msgid ""
"The Foreground/Interactive/Background buttons may be used to\n"
"see and edit the respective layer. Level's have three tiles layers:\n"
"Webpage: http://pingus.seul.org/~grumbel/flexlay/"
msgstr ""
-#: src/leveleditor.cpp:993
+#: src/leveleditor.cpp:997
#, fuzzy
msgid "- Level Editor's Help -"
msgstr "Level Bewerker"
-#: src/leveleditor.cpp:997
+#: src/leveleditor.cpp:1001
#, c-format
msgid "Press any key to continue - Page %d/%d"
msgstr ""
msgstr ""
#: src/statistics.cpp:117
-#, c-format
msgid "Max score:"
msgstr ""
#: src/statistics.cpp:137
-#, c-format
msgid "Max coins collected:"
msgstr ""
#: src/statistics.cpp:139
-#, c-format
msgid "Max fragging:"
msgstr ""
#: src/statistics.cpp:141
-#, c-format
msgid "Min time needed:"
msgstr ""
msgid "Min time needed: %d / %d"
msgstr ""
-#: src/title.cpp:367
+#: src/title.cpp:374
msgid ""
"Copyright (c) 2003 SuperTux Devel Team\n"
"This game comes with ABSOLUTELY NO WARRANTY. This is free software, and you\n"
"mag het verspreiden onder bepaalde voorwaarden; bekijk het bestand COPYING\n"
"voor details.\n"
-#: src/title.cpp:419
+#: src/title.cpp:426
#, fuzzy
msgid "Are you sure you want to delete slot"
msgstr "Weet u zeker dat u slot %d wilt verwijderen?"
msgstr ""
"Project-Id-Version: nn\n"
"Report-Msgid-Bugs-To: super-tux-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2004-10-12 19:19+0100\n"
+"POT-Creation-Date: 2004-10-20 14:06-0600\n"
"PO-Revision-Date: 2004-07-19 12:55+0200\n"
"Last-Translator: Karl Ove Hufthammer <karl@huftis.org>\n"
"Language-Team: Norwegian Nynorsk <i18n-nn@lister.ping.uio.no>\n"
msgstr "PAUSE – Trykk «P» for å halda fram"
#: src/gameloop.cpp:675
-#, c-format
msgid "Playing: "
msgstr "Brett: "
#: src/leveleditor.cpp:70 src/leveleditor.cpp:80 src/misc.cpp:125
#: src/misc.cpp:136 src/misc.cpp:149 src/misc.cpp:160 src/title.cpp:142
-#: src/title.cpp:213
+#: src/title.cpp:220
msgid "Back"
msgstr "Tilbake"
msgid "Eraser"
msgstr ""
-#: src/leveleditor.cpp:137
+#: src/leveleditor.cpp:141
msgid "Trampoline"
msgstr ""
-#: src/leveleditor.cpp:138
+#: src/leveleditor.cpp:142
msgid "Flying Platform"
msgstr ""
-#: src/leveleditor.cpp:139
+#: src/leveleditor.cpp:143
msgid "Door"
msgstr ""
-#: src/leveleditor.cpp:142
+#: src/leveleditor.cpp:146
msgid "Edtit foreground tiles"
msgstr ""
-#: src/leveleditor.cpp:144
+#: src/leveleditor.cpp:148
msgid "Edit interactive tiles"
msgstr ""
-#: src/leveleditor.cpp:146
+#: src/leveleditor.cpp:150
msgid "Edit background tiles"
msgstr ""
-#: src/leveleditor.cpp:150
+#: src/leveleditor.cpp:154
msgid "Next sector"
msgstr ""
-#: src/leveleditor.cpp:151
+#: src/leveleditor.cpp:155
msgid "Prevous sector"
msgstr ""
-#: src/leveleditor.cpp:152
+#: src/leveleditor.cpp:156
msgid "Next level"
msgstr ""
-#: src/leveleditor.cpp:153
+#: src/leveleditor.cpp:157
msgid "Prevous level"
msgstr ""
-#: src/leveleditor.cpp:154
+#: src/leveleditor.cpp:158
#, fuzzy
msgid "Save level"
msgstr "Lagra spel"
-#: src/leveleditor.cpp:155
+#: src/leveleditor.cpp:159
msgid "Test level"
msgstr ""
-#: src/leveleditor.cpp:156
+#: src/leveleditor.cpp:160
#, fuzzy
msgid "Setup level"
msgstr "Speltastar"
-#: src/leveleditor.cpp:238 src/leveleditor.cpp:714 src/leveleditor.cpp:739
-#: src/leveleditor.cpp:830
+#: src/leveleditor.cpp:242 src/leveleditor.cpp:718 src/leveleditor.cpp:743
+#: src/leveleditor.cpp:834
msgid "Level not saved. Wanna to?"
msgstr ""
-#: src/leveleditor.cpp:353
+#: src/leveleditor.cpp:357
#, c-format
msgid "Level %d doesn't exist. Create it?"
msgstr ""
-#: src/leveleditor.cpp:556 src/misc.cpp:96
+#: src/leveleditor.cpp:560 src/misc.cpp:96
msgid "Level Editor"
msgstr "Lag brett"
-#: src/leveleditor.cpp:579
+#: src/leveleditor.cpp:583
msgid "F1 for help"
msgstr ""
-#: src/leveleditor.cpp:581
+#: src/leveleditor.cpp:585
msgid "Choose a level subset"
msgstr ""
-#: src/leveleditor.cpp:765
+#: src/leveleditor.cpp:769
msgid "No more sectors exist. Create another?"
msgstr ""
-#: src/leveleditor.cpp:917
+#: src/leveleditor.cpp:921
msgid ""
"This is the built-in level editor. It's aim is to be intuitive\n"
"and simple to use, so it should be pretty straight forward.\n"
"enemies and game objects in the bottom.\n"
msgstr ""
-#: src/leveleditor.cpp:953
+#: src/leveleditor.cpp:957
msgid ""
"The Foreground/Interactive/Background buttons may be used to\n"
"see and edit the respective layer. Level's have three tiles layers:\n"
"Webpage: http://pingus.seul.org/~grumbel/flexlay/"
msgstr ""
-#: src/leveleditor.cpp:993
+#: src/leveleditor.cpp:997
#, fuzzy
msgid "- Level Editor's Help -"
msgstr "Lag brett"
-#: src/leveleditor.cpp:997
+#: src/leveleditor.cpp:1001
#, c-format
msgid "Press any key to continue - Page %d/%d"
msgstr ""
msgstr ""
#: src/statistics.cpp:117
-#, c-format
msgid "Max score:"
msgstr ""
#: src/statistics.cpp:137
-#, c-format
msgid "Max coins collected:"
msgstr ""
#: src/statistics.cpp:139
-#, c-format
msgid "Max fragging:"
msgstr ""
#: src/statistics.cpp:141
-#, c-format
msgid "Min time needed:"
msgstr ""
msgid "Min time needed: %d / %d"
msgstr ""
-#: src/title.cpp:367
+#: src/title.cpp:374
msgid ""
"Copyright (c) 2003 SuperTux Devel Team\n"
"This game comes with ABSOLUTELY NO WARRANTY. This is free software, and you\n"
"og du kan kopiera det til andre under visse vilkår. Sjå fila «COPYING»\n"
"for meir informasjon.\n"
-#: src/title.cpp:419
+#: src/title.cpp:426
#, fuzzy
msgid "Are you sure you want to delete slot"
msgstr "Er du sikker på at du vil sletta plass %d?"
msgstr ""
"Project-Id-Version: pt\n"
"Report-Msgid-Bugs-To: super-tux-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2004-10-12 19:19+0100\n"
+"POT-Creation-Date: 2004-10-20 14:06-0600\n"
"PO-Revision-Date: 2004-10-12 19:44+0100\n"
"Last-Translator: Ricardo Cruz <rick2@aeiou.pt>\n"
"Language-Team: European Portuguese\n"
msgstr "PAUSA - Carrega no 'P' para continuar"
#: src/gameloop.cpp:675
-#, c-format
msgid "Playing: "
msgstr "Jogando: "
#: src/leveleditor.cpp:70 src/leveleditor.cpp:80 src/misc.cpp:125
#: src/misc.cpp:136 src/misc.cpp:149 src/misc.cpp:160 src/title.cpp:142
-#: src/title.cpp:213
+#: src/title.cpp:220
msgid "Back"
msgstr "Recuar"
msgid "Eraser"
msgstr "Borracha"
-#: src/leveleditor.cpp:137
+#: src/leveleditor.cpp:141
msgid "Trampoline"
msgstr "Trampolim"
-#: src/leveleditor.cpp:138
+#: src/leveleditor.cpp:142
msgid "Flying Platform"
msgstr "Plataforma Voadora"
-#: src/leveleditor.cpp:139
+#: src/leveleditor.cpp:143
msgid "Door"
msgstr "Porta"
-#: src/leveleditor.cpp:142
+#: src/leveleditor.cpp:146
msgid "Edtit foreground tiles"
msgstr "Editar camada da frente"
-#: src/leveleditor.cpp:144
+#: src/leveleditor.cpp:148
msgid "Edit interactive tiles"
msgstr "Editar camada interactiva"
-#: src/leveleditor.cpp:146
+#: src/leveleditor.cpp:150
msgid "Edit background tiles"
msgstr "Editar camada de fundo"
-#: src/leveleditor.cpp:150
+#: src/leveleditor.cpp:154
msgid "Next sector"
msgstr "Próximo sector"
-#: src/leveleditor.cpp:151
+#: src/leveleditor.cpp:155
msgid "Prevous sector"
msgstr "Sector anterior"
-#: src/leveleditor.cpp:152
+#: src/leveleditor.cpp:156
msgid "Next level"
msgstr "Próximo nível"
-#: src/leveleditor.cpp:153
+#: src/leveleditor.cpp:157
msgid "Prevous level"
msgstr "Nível anterior"
-#: src/leveleditor.cpp:154
+#: src/leveleditor.cpp:158
msgid "Save level"
msgstr "Gravar o nível"
-#: src/leveleditor.cpp:155
+#: src/leveleditor.cpp:159
msgid "Test level"
msgstr "Testar o nível"
-#: src/leveleditor.cpp:156
+#: src/leveleditor.cpp:160
msgid "Setup level"
msgstr "Configurar o nível"
-#: src/leveleditor.cpp:238 src/leveleditor.cpp:714 src/leveleditor.cpp:739
-#: src/leveleditor.cpp:830
+#: src/leveleditor.cpp:242 src/leveleditor.cpp:718 src/leveleditor.cpp:743
+#: src/leveleditor.cpp:834
msgid "Level not saved. Wanna to?"
msgstr "Nível não gravado. Gravá-lo?"
-#: src/leveleditor.cpp:353
+#: src/leveleditor.cpp:357
#, c-format
msgid "Level %d doesn't exist. Create it?"
msgstr "Nível %d não existe. Criá-lo?"
-#: src/leveleditor.cpp:556 src/misc.cpp:96
+#: src/leveleditor.cpp:560 src/misc.cpp:96
msgid "Level Editor"
msgstr "Editor de Níveis"
-#: src/leveleditor.cpp:579
+#: src/leveleditor.cpp:583
msgid "F1 for help"
msgstr "F1 para ajuda"
-#: src/leveleditor.cpp:581
+#: src/leveleditor.cpp:585
msgid "Choose a level subset"
msgstr "Escolhe um conjunto de níveis"
-#: src/leveleditor.cpp:765
+#: src/leveleditor.cpp:769
msgid "No more sectors exist. Create another?"
msgstr "Não existem mais sectores. Criar outro?"
-#: src/leveleditor.cpp:917
+#: src/leveleditor.cpp:921
msgid ""
"This is the built-in level editor. It's aim is to be intuitive\n"
"and simple to use, so it should be pretty straight forward.\n"
"Já deverás ter reparado no grupo de botões flutuante.\n"
"Cada um serve um propósito diferente. Para escolheres um certo botão\n"
"usa o botão esquerdo do rato no mesmo. Alguns botões tem uma tecla\n"
-"de atalho, que pode ser visualizada carregando com o botão do rato direito no\n"
+"de atalho, que pode ser visualizada carregando com o botão do rato direito "
+"no\n"
"mesmo. Isso irá mostrar o que o botão faz, também.\n"
"Os grupos de botões podem também ser movidos arrastando-os,\n"
"enquanto o botão esquerdo do rato é pressionado.\n"
"Para começares a introduzir 'tiles' e objectos usa o grupo de botões\n"
"maior. Cada botão é um 'tile' diferente. Para o pôres no nível,\n"
"carrega no mesmo e depois usa o botão esquerdo do rato no nível.\n"
-"Podes também copiar 'tiles' do nível usando o botão do meio do rato (a roda serve).\n"
+"Podes também copiar 'tiles' do nível usando o botão do meio do rato (a roda "
+"serve).\n"
"Usa a roda do rato para deslizares pelo grupo de botões. Irás encontrar\n"
"inimigos e elementos do jogo no fundo.\n"
-#: src/leveleditor.cpp:953
+#: src/leveleditor.cpp:957
msgid ""
"The Foreground/Interactive/Background buttons may be used to\n"
"see and edit the respective layer. Level's have three tiles layers:\n"
msgstr ""
"Da esquerda para a direita:\n"
"Mini setas - podem ser usadas para escolher outros sectores..\n"
-"Sectores são mini-níveis, por assim dizer, que podem ser acessíveis por portas.\n"
+"Sectores são mini-níveis, por assim dizer, que podem ser acessíveis por "
+"portas.\n"
"Setas grantes - permitem escolher outro nível no mesmo conjunto de níveis.\n"
"Disquete - gravar o nível.\n"
"Tux - testar o nível.\n"
-"Ferramentas - configura algumas definições do nível, incluíndo mudanças do tamanho do mesmo.\n"
+"Ferramentas - configura algumas definições do nível, incluíndo mudanças do "
+"tamanho do mesmo.\n"
"\n"
"Chegámos ao fim deste Howto.\n"
"\n"
"incluíndo o SuperTux. É um projecto independente.\n"
"Webpage: http://pingus.seul.org/~grumbel/flexlay/"
-#: src/leveleditor.cpp:993
+#: src/leveleditor.cpp:997
msgid "- Level Editor's Help -"
msgstr "- Ajuda do Editor de Níveis -"
-#: src/leveleditor.cpp:997
+#: src/leveleditor.cpp:1001
#, c-format
msgid "Press any key to continue - Page %d/%d"
msgstr "Carregar numa tecla para continuar - Página %d/%d"
msgstr "- Melhores Estatísticas do Nível -"
#: src/statistics.cpp:117
-#, c-format
msgid "Max score:"
msgstr "Máx pontos:"
#: src/statistics.cpp:137
-#, c-format
msgid "Max coins collected:"
msgstr "Máx moedas apanhadas:"
#: src/statistics.cpp:139
-#, c-format
msgid "Max fragging:"
msgstr "Max matança:"
#: src/statistics.cpp:141
-#, c-format
msgid "Min time needed:"
msgstr "Min tempo necessário:"
msgid "Min time needed: %d / %d"
msgstr "Min tempo necessário: %d / %d"
-#: src/title.cpp:367
+#: src/title.cpp:374
msgid ""
"Copyright (c) 2003 SuperTux Devel Team\n"
"This game comes with ABSOLUTELY NO WARRANTY. This is free software, and you\n"
"COPYING\n"
"para mais informações.\n"
-#: src/title.cpp:419
+#: src/title.cpp:426
msgid "Are you sure you want to delete slot"
msgstr "Tens a certeza que queres remover o slot"
#: lib/gui/menu.cpp:269
msgid "Left Alt"
msgstr "Alt esquerdo"
-
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: super-tux-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2004-10-12 19:19+0100\n"
+"POT-Creation-Date: 2004-10-20 14:06-0600\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgstr ""
#: src/gameloop.cpp:675
-#, c-format
msgid "Playing: "
msgstr ""
#: src/leveleditor.cpp:70 src/leveleditor.cpp:80 src/misc.cpp:125
#: src/misc.cpp:136 src/misc.cpp:149 src/misc.cpp:160 src/title.cpp:142
-#: src/title.cpp:213
+#: src/title.cpp:220
msgid "Back"
msgstr ""
msgid "Eraser"
msgstr ""
-#: src/leveleditor.cpp:137
+#: src/leveleditor.cpp:141
msgid "Trampoline"
msgstr ""
-#: src/leveleditor.cpp:138
+#: src/leveleditor.cpp:142
msgid "Flying Platform"
msgstr ""
-#: src/leveleditor.cpp:139
+#: src/leveleditor.cpp:143
msgid "Door"
msgstr ""
-#: src/leveleditor.cpp:142
+#: src/leveleditor.cpp:146
msgid "Edtit foreground tiles"
msgstr ""
-#: src/leveleditor.cpp:144
+#: src/leveleditor.cpp:148
msgid "Edit interactive tiles"
msgstr ""
-#: src/leveleditor.cpp:146
+#: src/leveleditor.cpp:150
msgid "Edit background tiles"
msgstr ""
-#: src/leveleditor.cpp:150
+#: src/leveleditor.cpp:154
msgid "Next sector"
msgstr ""
-#: src/leveleditor.cpp:151
+#: src/leveleditor.cpp:155
msgid "Prevous sector"
msgstr ""
-#: src/leveleditor.cpp:152
+#: src/leveleditor.cpp:156
msgid "Next level"
msgstr ""
-#: src/leveleditor.cpp:153
+#: src/leveleditor.cpp:157
msgid "Prevous level"
msgstr ""
-#: src/leveleditor.cpp:154
+#: src/leveleditor.cpp:158
msgid "Save level"
msgstr ""
-#: src/leveleditor.cpp:155
+#: src/leveleditor.cpp:159
msgid "Test level"
msgstr ""
-#: src/leveleditor.cpp:156
+#: src/leveleditor.cpp:160
msgid "Setup level"
msgstr ""
-#: src/leveleditor.cpp:238 src/leveleditor.cpp:714 src/leveleditor.cpp:739
-#: src/leveleditor.cpp:830
+#: src/leveleditor.cpp:242 src/leveleditor.cpp:718 src/leveleditor.cpp:743
+#: src/leveleditor.cpp:834
msgid "Level not saved. Wanna to?"
msgstr ""
-#: src/leveleditor.cpp:353
+#: src/leveleditor.cpp:357
#, c-format
msgid "Level %d doesn't exist. Create it?"
msgstr ""
-#: src/leveleditor.cpp:556 src/misc.cpp:96
+#: src/leveleditor.cpp:560 src/misc.cpp:96
msgid "Level Editor"
msgstr ""
-#: src/leveleditor.cpp:579
+#: src/leveleditor.cpp:583
msgid "F1 for help"
msgstr ""
-#: src/leveleditor.cpp:581
+#: src/leveleditor.cpp:585
msgid "Choose a level subset"
msgstr ""
-#: src/leveleditor.cpp:765
+#: src/leveleditor.cpp:769
msgid "No more sectors exist. Create another?"
msgstr ""
-#: src/leveleditor.cpp:917
+#: src/leveleditor.cpp:921
msgid ""
"This is the built-in level editor. It's aim is to be intuitive\n"
"and simple to use, so it should be pretty straight forward.\n"
"enemies and game objects in the bottom.\n"
msgstr ""
-#: src/leveleditor.cpp:953
+#: src/leveleditor.cpp:957
msgid ""
"The Foreground/Interactive/Background buttons may be used to\n"
"see and edit the respective layer. Level's have three tiles layers:\n"
"Webpage: http://pingus.seul.org/~grumbel/flexlay/"
msgstr ""
-#: src/leveleditor.cpp:993
+#: src/leveleditor.cpp:997
msgid "- Level Editor's Help -"
msgstr ""
-#: src/leveleditor.cpp:997
+#: src/leveleditor.cpp:1001
#, c-format
msgid "Press any key to continue - Page %d/%d"
msgstr ""
msgstr ""
#: src/statistics.cpp:117
-#, c-format
msgid "Max score:"
msgstr ""
#: src/statistics.cpp:137
-#, c-format
msgid "Max coins collected:"
msgstr ""
#: src/statistics.cpp:139
-#, c-format
msgid "Max fragging:"
msgstr ""
#: src/statistics.cpp:141
-#, c-format
msgid "Min time needed:"
msgstr ""
msgid "Min time needed: %d / %d"
msgstr ""
-#: src/title.cpp:367
+#: src/title.cpp:374
msgid ""
"Copyright (c) 2003 SuperTux Devel Team\n"
"This game comes with ABSOLUTELY NO WARRANTY. This is free software, and you\n"
"for details.\n"
msgstr ""
-#: src/title.cpp:419
+#: src/title.cpp:426
msgid "Are you sure you want to delete slot"
msgstr ""
void
Level::load(const std::string& filename)
{
- LispReader* level = LispReader::load(filename, "supertux-level");
+ std::string filepath;
+ filepath = st_dir + "/levels/" + filename;
+ if (access(filepath.c_str(), R_OK) != 0)
+ {
+ filepath = datadir + "/levels/" + filename;
+ if (access(filepath.c_str(), R_OK) != 0)
+ {
+ std::cerr << "Error: Level: couldn't find level: " << filename << std::endl;
+ return;
+ }
+ }
+
+ LispReader* level = LispReader::load(filepath, "supertux-level");
int version = 1;
level->read_int("version", version);
void
Level::save(const std::string& filename)
{
- ofstream file(filename.c_str(), ios::out);
+ std::string filepath = "levels/" + filename;
+ int last_slash = filepath.find_last_of('/');
+ FileSystem::fcreatedir(filepath.substr(0,last_slash).c_str());
+ filepath = st_dir + "/" + filepath;
+ ofstream file(filepath.c_str(), ios::out);
LispWriter* writer = new LispWriter(file);
writer->write_comment("Level made using SuperTux's built-in Level Editor");
// Check in which directory our subset is located (ie. ~/.supertux/
// or SUPERTUX_DATADIR)
std::string filename;
- filename = st_dir + "/levels/" + subset + "/";
- if (access(filename.c_str(), R_OK) == 0)
+ filename = st_dir + "/levels/" + subset + "/info";
+ if (access(filename.c_str(), R_OK) != 0)
{
- directory = filename;
- }
- else
- {
- filename = datadir + "/levels/" + subset + "/";
- if (access(filename.c_str(), R_OK) == 0)
- directory = filename;
- else
+ filename = datadir + "/levels/" + subset + "/info";
+ if (access(filename.c_str(), R_OK) != 0)
std::cout << "Error: LevelSubset: couldn't find subset: " << subset << std::endl;
}
- read_info_file(directory + "info");
+ read_info_file(filename);
if (levels.empty())
{ // Level info file doesn't define any levels, so read the
// directory to see what we can find
std::set<std::string> files;
+ filename = datadir + "/levels/" + subset + "/";
+ files = FileSystem::read_directory(filename);
+
filename = st_dir + "/levels/" + subset + "/";
- if(access(filename.c_str(), R_OK) == 0)
- {
- files = FileSystem::read_directory(filename);
- }
- else
- {
- filename = datadir + "/levels/" + subset + "/";
- files = FileSystem::read_directory(filename);
- }
+ std::set<std::string> user_files = FileSystem::read_directory(filename);
+ files.insert(user_files.begin(), user_files.end());
for(std::set<std::string>::iterator i = files.begin(); i != files.end(); ++i)
{
if (has_suffix(*i, ".stl"))
- levels.push_back(*i);
+ levels.push_back(subset+ "/" + *i);
}
}
}
LevelSubset::get_level_filename(unsigned int num)
{
assert(num < levels.size());
- return directory + levels[num];
+ return levels[num];
}
int
class LevelSubset
{
private:
- /** Directory in which the level subset is stored */
- std::string directory;
-
/** Level filenames without the leading path ("level1.stl",
"level3.stl", ...) */
std::vector<std::string> levels;
GameSession session(level_filename, ST_GL_TEST);
session.run();
// player_status.reset();
-sound_manager->halt_music();
+if(sound_manager)
+ sound_manager->halt_music();
}
void LevelEditor::change(int x, int y, int newtile, int layer)
/** get level's title */
std::string level_title = "<no title>";
- LispReader* reader = LispReader::load(subset.get_level_filename(i), "supertux-level");
+ std::string filename = subset.get_level_filename(i);
+ std::string filepath;
+ filepath = st_dir + "/levels/" + filename;
+ if (access(filepath.c_str(), R_OK) != 0)
+ {
+ filepath = datadir + "/levels/" + filename;
+ if (access(filepath.c_str(), R_OK) != 0)
+ {
+ std::cerr << "Error: Level: couldn't find level: " << filename << std::endl;
+ continue;
+ }
+ }
+
+ LispReader* reader = LispReader::load(filepath, "supertux-level");
if(!reader)
{
std::cerr << "Error: Could not open level file. Ignoring...\n";
random_timer.init(true);
Ticks::pause_init();
- titlesession = new GameSession(datadir + "/levels/misc/menu.stl", ST_GL_DEMO_GAME);
+ titlesession = new GameSession("misc/menu.stl", ST_GL_DEMO_GAME);
/* Load images: */
bkg_title = new Surface(datadir + "/images/background/arctis.jpg", false);
std::cerr << "Warning: no image specified for tile " << id
<< ".\nIgnoring...\n" << std::endl;
- for(int i = 0; i < filenames.size(); i++)
+ for(int i = 0; static_cast<unsigned int>(i) < filenames.size(); i++)
{
Surface* image = new Surface(
datadir + "/images/worldmap/" + filenames[i], true);
// do a shriking fade to the level
shrink_fade(Vector((level->pos.x*32 + 16 + offset.x),(level->pos.y*32 + 16
+ offset.y)), 500);
- GameSession session(datadir + "/levels/" + level->name,
+ GameSession session(level->name,
ST_GL_LOAD_LEVEL_FILE, level->vertical_flip,
&level->statistics);