msgstr ""
"Project-Id-Version: drnoksnes\n"
"Report-Msgid-Bugs-To: maemo@javispedro.com\n"
-"POT-Creation-Date: 2010-01-28 01:47+0100\n"
+"POT-Creation-Date: 2010-02-01 02:37+0100\n"
"PO-Revision-Date: 2010-01-28 09:50+0100\n"
"Last-Translator: Philipp Zabel <philipp.zabel@gmail.com>\n"
"Language-Team: German\n"
msgid "Display framerate"
msgstr "Bildwiederholrate anzeigen"
-#: plugin.c:334 settings.c:224
+#: plugin.c:334 settings.c:229
msgid "Accurate graphics"
msgstr "Akkurate Grafik"
msgid "Framerate:"
msgstr "Bildwiederholrate:"
-#: plugin.c:347 settings.c:249
+#: plugin.c:347 settings.c:261
msgid "No speedhacks"
msgstr "Keine Speedhacks"
-#: plugin.c:348 settings.c:250
+#: plugin.c:348 settings.c:262
msgid "Safe hacks only"
msgstr "Nur sichere Hacks"
-#: plugin.c:349 settings.c:251
+#: plugin.c:349 settings.c:263
msgid "All speedhacks"
msgstr "Alle Speedhacks"
msgid "About…"
msgstr "Über..."
-#: plugin.c:456 settings.c:177
+#: plugin.c:456 settings.c:182
msgid "Settings"
msgstr "Einstellungen"
msgid "No zoom"
msgstr "Kein Zoom"
-#: settings.c:196
+#: settings.c:201
msgid "Controls"
msgstr "Steuerung"
-#: settings.c:203
+#: settings.c:208
msgid "Player 1"
msgstr "Spieler 1"
-#: settings.c:212
+#: settings.c:217
msgid "Player 2"
msgstr "Spieler 2"
-#: settings.c:218
+#: settings.c:223
msgid "Advanced"
msgstr "Erweitert"
-#: settings.c:231
+#: settings.c:236
+msgid "Pause game in the background"
+msgstr ""
+
+#: settings.c:243
msgid "Zoom"
msgstr "Zoom"
-#: settings.c:243
+#: settings.c:255
msgid "Speedhacks"
msgstr "Speedhacks"
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: maemo@javispedro.com\n"
-"POT-Creation-Date: 2010-01-28 01:47+0100\n"
+"POT-Creation-Date: 2010-02-01 02:37+0100\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"
msgid "Display framerate"
msgstr ""
-#: plugin.c:334 settings.c:224
+#: plugin.c:334 settings.c:229
msgid "Accurate graphics"
msgstr ""
msgid "Framerate:"
msgstr ""
-#: plugin.c:347 settings.c:249
+#: plugin.c:347 settings.c:261
msgid "No speedhacks"
msgstr ""
-#: plugin.c:348 settings.c:250
+#: plugin.c:348 settings.c:262
msgid "Safe hacks only"
msgstr ""
-#: plugin.c:349 settings.c:251
+#: plugin.c:349 settings.c:263
msgid "All speedhacks"
msgstr ""
msgid "About…"
msgstr ""
-#: plugin.c:456 settings.c:177
+#: plugin.c:456 settings.c:182
msgid "Settings"
msgstr ""
msgid "No zoom"
msgstr ""
-#: settings.c:196
+#: settings.c:201
msgid "Controls"
msgstr ""
-#: settings.c:203
+#: settings.c:208
msgid "Player 1"
msgstr ""
-#: settings.c:212
+#: settings.c:217
msgid "Player 2"
msgstr ""
-#: settings.c:218
+#: settings.c:223
msgid "Advanced"
msgstr ""
-#: settings.c:231
-msgid "Zoom"
+#: settings.c:236
+msgid "Pause game in the background"
msgstr ""
#: settings.c:243
+msgid "Zoom"
+msgstr ""
+
+#: settings.c:255
msgid "Speedhacks"
msgstr ""
msgstr ""
"Project-Id-Version: DrNokSnes 1.2.5\n"
"Report-Msgid-Bugs-To: maemo@javispedro.com\n"
-"POT-Creation-Date: 2010-01-28 01:46+0100\n"
+"POT-Creation-Date: 2010-02-01 02:37+0100\n"
"PO-Revision-Date: 2010-01-07 03:11+0100\n"
"Last-Translator: Javier <javier@javispedro.com>\n"
"Language-Team: Spanish <maemo@javispedro.com>\n"
msgid "Display framerate"
msgstr "Mostrar velocidad"
-#: plugin.c:334 settings.c:224
+#: plugin.c:334 settings.c:229
msgid "Accurate graphics"
msgstr "Mejores gráficos"
msgid "Framerate:"
msgstr "Velocidad:"
-#: plugin.c:347 settings.c:249
+#: plugin.c:347 settings.c:261
msgid "No speedhacks"
msgstr "Sin speedhacks"
-#: plugin.c:348 settings.c:250
+#: plugin.c:348 settings.c:262
msgid "Safe hacks only"
msgstr "Sólo hacks seguros"
-#: plugin.c:349 settings.c:251
+#: plugin.c:349 settings.c:263
msgid "All speedhacks"
msgstr "Todos los hacks"
msgid "About…"
msgstr "Acerca de…"
-#: plugin.c:456 settings.c:177
+#: plugin.c:456 settings.c:182
msgid "Settings"
msgstr "Ajustes"
msgid "No zoom"
msgstr "Sin zoom"
-#: settings.c:196
+#: settings.c:201
msgid "Controls"
msgstr "Controles"
-#: settings.c:203
+#: settings.c:208
msgid "Player 1"
msgstr "Jugador 1"
-#: settings.c:212
+#: settings.c:217
#, fuzzy
msgid "Player 2"
msgstr "Jugador 1"
-#: settings.c:218
+#: settings.c:223
msgid "Advanced"
msgstr "Avanzado"
-#: settings.c:231
+#: settings.c:236
+msgid "Pause game in the background"
+msgstr ""
+
+#: settings.c:243
msgid "Zoom"
msgstr "Zoom"
-#: settings.c:243
+#: settings.c:255
msgid "Speedhacks"
msgstr "Speedhacks"
msgstr ""
"Project-Id-Version: drnoksnes\n"
"Report-Msgid-Bugs-To: maemo@javispedro.com\n"
-"POT-Creation-Date: 2010-01-28 01:47+0100\n"
+"POT-Creation-Date: 2010-02-01 02:37+0100\n"
"PO-Revision-Date: 2010-01-28 00:42+0100\n"
"Last-Translator: Tomasz Dominikowski <dominikowski@gmail.com>\n"
"Language-Team: Polish <dominikowski@gmail.com>\n"
msgid "Display framerate"
msgstr "Wyświetlaj liczbę klatek/s"
-#: plugin.c:334 settings.c:224
+#: plugin.c:334 settings.c:229
msgid "Accurate graphics"
msgstr "Dokładna grafika"
msgid "Framerate:"
msgstr "Klatek/s:"
-#: plugin.c:347 settings.c:249
+#: plugin.c:347 settings.c:261
msgid "No speedhacks"
msgstr "Bez sztuczek z prędkością"
-#: plugin.c:348 settings.c:250
+#: plugin.c:348 settings.c:262
msgid "Safe hacks only"
msgstr "Tylko bezpieczne sztuczki"
-#: plugin.c:349 settings.c:251
+#: plugin.c:349 settings.c:263
msgid "All speedhacks"
msgstr "Wszystkie sztuczki z prędkością"
msgid "About…"
msgstr "O programie..."
-#: plugin.c:456 settings.c:177
+#: plugin.c:456 settings.c:182
msgid "Settings"
msgstr "Ustawienia"
msgid "No zoom"
msgstr "Bez przybliżenia"
-#: settings.c:196
+#: settings.c:201
msgid "Controls"
msgstr "Sterowanie"
-#: settings.c:203
+#: settings.c:208
msgid "Player 1"
msgstr "Gracz 1"
-#: settings.c:212
+#: settings.c:217
msgid "Player 2"
msgstr "Gracz 2"
-#: settings.c:218
+#: settings.c:223
msgid "Advanced"
msgstr "Zaawansowane"
-#: settings.c:231
+#: settings.c:236
+msgid "Pause game in the background"
+msgstr ""
+
+#: settings.c:243
msgid "Zoom"
msgstr "Przybliżenie"
-#: settings.c:243
+#: settings.c:255
msgid "Speedhacks"
msgstr "Sztuczki z prędkością"
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: maemo@javispedro.com\n"
-"POT-Creation-Date: 2010-01-28 01:47+0100\n"
+"POT-Creation-Date: 2010-02-01 02:37+0100\n"
"PO-Revision-Date: 2010-01-28 05:00+0100\n"
"Last-Translator: Robert Hägerström <rofo1000@gmail.com>\n"
"Language-Team: Swedish\n"
msgid "Display framerate"
msgstr "Visa bildhastighet"
-#: plugin.c:334 settings.c:224
+#: plugin.c:334 settings.c:229
msgid "Accurate graphics"
msgstr "Exakt grafik"
msgid "Framerate:"
msgstr "Bildhastighet:"
-#: plugin.c:347 settings.c:249
+#: plugin.c:347 settings.c:261
msgid "No speedhacks"
msgstr "Inga speedhacks"
-#: plugin.c:348 settings.c:250
+#: plugin.c:348 settings.c:262
msgid "Safe hacks only"
msgstr "Enbart säkra hack"
-#: plugin.c:349 settings.c:251
+#: plugin.c:349 settings.c:263
msgid "All speedhacks"
msgstr "Alla speedhacks"
msgid "About…"
msgstr "Om…"
-#: plugin.c:456 settings.c:177
+#: plugin.c:456 settings.c:182
msgid "Settings"
msgstr "Inställningar"
msgid "No zoom"
msgstr "Ingen zoom"
-#: settings.c:196
+#: settings.c:201
msgid "Controls"
msgstr "Kontroller"
-#: settings.c:203
+#: settings.c:208
msgid "Player 1"
msgstr "Spelare 1"
-#: settings.c:212
+#: settings.c:217
msgid "Player 2"
msgstr "Spelare 2"
-#: settings.c:218
+#: settings.c:223
msgid "Advanced"
msgstr "Avancerad"
-#: settings.c:231
+#: settings.c:236
+msgid "Pause game in the background"
+msgstr ""
+
+#: settings.c:243
msgid "Zoom"
msgstr "Zoom"
-#: settings.c:243
+#: settings.c:255
msgid "Speedhacks"
msgstr "Speedhacks"
#if MAEMO_VERSION >= 5
static HildonButton* player1_btn, * player2_btn;
static HildonCheckButton* accu_check;
+static HildonCheckButton* saver_check;
static HildonPickerButton* scaler_picker;
static HildonPickerButton* speedhacks_picker;
#else
settings_update_controls(1);
hildon_check_button_set_active(accu_check,
gconf_client_get_bool(gcc, kGConfTransparency, NULL));
+ hildon_check_button_set_active(saver_check,
+ gconf_client_get_bool(gcc, kGConfSaver, NULL));
hildon_picker_button_set_active(scaler_picker, scaler_num);
hildon_picker_button_set_active(speedhacks_picker,
gconf_client_get_int(gcc, kGConfSpeedhacks, NULL));
#if MAEMO_VERSION >= 5
gconf_client_set_bool(gcc, kGConfTransparency,
hildon_check_button_get_active(accu_check), NULL);
+ gconf_client_set_bool(gcc, kGConfSaver,
+ hildon_check_button_get_active(saver_check), NULL);
scaler_num = hildon_picker_button_get_active(scaler_picker);
gconf_client_set_int(gcc, kGConfSpeedhacks,
hildon_picker_button_get_active(speedhacks_picker), NULL);
set_button_layout(HILDON_BUTTON(accu_check),
titles_size_group, values_size_group);
+ saver_check = HILDON_CHECK_BUTTON(hildon_check_button_new(
+ HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_FINGER_HEIGHT));
+ gtk_button_set_label(GTK_BUTTON(saver_check),
+ _("Pause game in the background"));
+ set_button_layout(HILDON_BUTTON(saver_check),
+ titles_size_group, values_size_group);
+
scaler_picker = HILDON_PICKER_BUTTON(hildon_picker_button_new(
HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_FINGER_HEIGHT,
HILDON_BUTTON_ARRANGEMENT_HORIZONTAL));
FALSE, FALSE, HILDON_MARGIN_HALF);
gtk_box_pack_start(box, GTK_WIDGET(accu_check),
FALSE, FALSE, 0);
+ gtk_box_pack_start(box, GTK_WIDGET(saver_check),
+ FALSE, FALSE, 0);
gtk_box_pack_start(box, GTK_WIDGET(scaler_picker),
FALSE, FALSE, 0);
gtk_box_pack_start(box, GTK_WIDGET(speedhacks_picker),
"enable safe subset of speedhacks", 0 },
{ "all-hacks", 'H', POPT_ARG_NONE, 0, 19,
"enable all speedhacks (may break sound)", 0 },
+ { "saver", 'R', POPT_ARG_NONE, 0, 20,
+ "save&exit when the emulator window is unfocused", 0 },
POPT_TABLEEND
};
Settings.HacksEnabled = TRUE;
Settings.HacksFilter = FALSE;
break;
+ case 20:
+ Config.saver = true;
+ break;
case 100:
scancode = atoi(poptGetOptArg(optCon));
break;
{
if (!OssoOk()) return;
- //g_main_context_iteration(mainContext, FALSE);
+ g_main_context_iteration(mainContext, FALSE);
}
typedef struct ButtonEntry {