Compare commits
114 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
ab97876deb | ||
|
63afd63572 | ||
|
8990f58bc0 | ||
|
b4e5ea555d | ||
|
7338747158 | ||
|
4862f0af70 | ||
|
a851f3341d | ||
|
b793fe1603 | ||
|
76a1bd729e | ||
|
f715c4ee3e | ||
|
36d51781c5 | ||
|
128d0f8372 | ||
|
96bcf090e5 | ||
|
9a463dbb41 | ||
|
71d6bc4c3a | ||
|
630ef682b5 | ||
|
a5cb163675 | ||
|
ade3e7a9b9 | ||
|
9b1b95b889 | ||
|
d5a1f79ff1 | ||
|
260aedd41d | ||
|
1895ebb35d | ||
|
e8bbb5e078 | ||
|
b7f809ba62 | ||
|
c83b90a947 | ||
|
dbea050053 | ||
|
8e275b673e | ||
|
f699ba25fe | ||
|
3f50f5caa1 | ||
|
0eb853942e | ||
|
aa97a564e5 | ||
|
a536869003 | ||
|
cf42a8761e | ||
|
d97023ab91 | ||
|
eb9188dd40 | ||
|
e081cf9eef | ||
|
b2fc91dc8c | ||
|
182f6c25ec | ||
|
e2b5c502fc | ||
|
6836da6b42 | ||
|
7567edfe90 | ||
|
3ef55eb5d7 | ||
|
09512f784e | ||
|
8bd9159e5c | ||
|
ea8703035d | ||
|
050ab08abf | ||
|
60173a552d | ||
|
307b23d33f | ||
|
1e23d65898 | ||
|
ec13f7925c | ||
|
bd6ab97dba | ||
|
384a531066 | ||
|
17175df4ee | ||
|
1e2364bd7b | ||
|
8fb07afa0a | ||
|
5e9d506e08 | ||
|
79699f5589 | ||
|
b16e28a2a4 | ||
|
7b6a6161c4 | ||
|
63c3fb920d | ||
|
9cf9c66c4e | ||
|
400f0391dc | ||
|
0abd5b9c8c | ||
|
f7fb016a21 | ||
|
2b119e16e1 | ||
|
a3a34151c3 | ||
|
07a8944fa5 | ||
|
690980604a | ||
|
f52cad6198 | ||
|
3b066e1eb7 | ||
|
8d7d64d589 | ||
|
a33173308d | ||
|
767d15d933 | ||
|
03e5bdcac3 | ||
|
7d2ef0a2d8 | ||
|
cad318f789 | ||
|
69729f47f2 | ||
|
01953e08ac | ||
|
5f106d1a93 | ||
|
fcb88498df | ||
|
e2776d7466 | ||
|
17c339f386 | ||
|
02f8d716cd | ||
|
7943f7d941 | ||
|
907e9fbfae | ||
|
2752dddbba | ||
|
bf8294cedf | ||
|
b57f2f6b9c | ||
|
c85e1dc247 | ||
|
a04cc9972c | ||
|
57b8c628e4 | ||
|
48e0487ad7 | ||
|
94f4d141b9 | ||
|
d2afad6bad | ||
|
fb646c37d3 | ||
|
dd8a47ddff | ||
|
f6b54d9f50 | ||
|
79f597dd64 | ||
|
ce23c2869d | ||
|
3605faf257 | ||
|
a76ba38b88 | ||
|
cb2862f9d2 | ||
|
b91dd6ad85 | ||
|
e1e68276f8 | ||
|
fa66b86f22 | ||
|
aca529d1d3 | ||
|
c77d1377ea | ||
|
4e74868058 | ||
|
221d752501 | ||
|
80b0b58758 | ||
|
9bab103e21 | ||
|
7e3aa76a06 | ||
|
bd531d8933 | ||
|
d8d3f7fc81 |
43
ChangeLog
@@ -1,12 +1,41 @@
|
||||
SuperTuxKart SVN
|
||||
~~~~~~~~~~~~~~~~
|
||||
SuperTuxKart 0.7 (December 2010)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Too many to list them all. Main points:
|
||||
* Irrlicht:
|
||||
- Renamed global scene object to stk_scene (to avoid a name clash with
|
||||
irrlicht's namespace 'scene').
|
||||
- Ported from plib to irrlicht
|
||||
- Added animations to karts and some tracks
|
||||
* GUI
|
||||
- Completely new designed GUI
|
||||
* Other improvements
|
||||
- Allowed alternative ways/shortcuts in tracks
|
||||
- New item 'switch'
|
||||
* New art:
|
||||
* Bugfixes:
|
||||
* Code cleanup:
|
||||
- Removed all snprintfs and constants defining a maximum message size.
|
||||
- New tracks farm, hacienda, scotland, secret garden
|
||||
|
||||
SuperTuxKart 0.6.2a (October 2009)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* Bugfix: STK would crash while trying to save the config file
|
||||
on Windows Vista.
|
||||
|
||||
SuperTuxKart 0.6.2 (July 2009)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* Bugfix: Game could crash in rare circumstances.
|
||||
* Bugfix: Restarting a GP (with the in-race menu ESC) would
|
||||
not subtract already allocated points.
|
||||
* Bugfix: A race could be finished with an invalid shortcut.
|
||||
* Bugfix: Playing a challenge after a splitscreen game would
|
||||
play the challenge in split screen.
|
||||
* Bugfix: Items explode over void.
|
||||
* Bugfix: Grass in castle arena slowed down the kart.
|
||||
* Bugfix: GP result showed kart identifier instead of name.
|
||||
* Improvement: there is now 1 1 sec. wait period for the race
|
||||
result screen, avoiding the problem that someone
|
||||
presses space/enter at the end of a race, immediately
|
||||
quitting the menu before it can be read.
|
||||
|
||||
SuperTuxKart 0.6.1a (February 2009)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* Bugfix: battle mode would not display track groups.
|
||||
|
||||
SuperTuxKart 0.6.1 (February 2009)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
25
NEWS
@@ -1,3 +1,28 @@
|
||||
SuperTuxKart 0.7 (December 2010)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* New graphics using the irrlicht engine
|
||||
* New GUI
|
||||
* Animated karts, tracks, items
|
||||
|
||||
SuperTuxkart 0.6.2a (October 2009)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* Bugfix: STK would crash while trying to save the config file
|
||||
on Windows Vista.
|
||||
|
||||
SuperTuxkart 0.6.2 (July 2009)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* Bugfix: battle mode would not display track groups.
|
||||
|
||||
SuperTuxkart 0.6.1 (Feburary 2009)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* Added new kart ("Puffy"), new battle map ("Cave"), and new music
|
||||
for Snow Mountain.
|
||||
* Added slow-down for karts driving backwards.
|
||||
* Somewhat reduced 'shaking' of AI driven karts.
|
||||
* Fixed several bugs, including incorrect rescues, and track
|
||||
and kart selection issues.
|
||||
|
||||
|
||||
SuperTuxKart 0.5 (May 2008)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* Six new tracks and one improved track: Fort Magma, SnowTux Peak, Amazonian Journey, City,
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# Process this file with autogen.sh to produce a configure script.
|
||||
|
||||
AC_INIT(supertuxkart, SVN)
|
||||
AC_INIT(supertuxkart, 0.7)
|
||||
AC_CONFIG_SRCDIR([src/main.cpp])
|
||||
|
||||
AC_PREREQ(2.61)
|
||||
|
BIN
data/CREDITS
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 46 KiB |
BIN
data/fonts/StkChineseFont.xml
Executable file
BIN
data/fonts/wqyMicroHei0.png
Executable file
After Width: | Height: | Size: 64 KiB |
BIN
data/fonts/wqyMicroHei1.png
Executable file
After Width: | Height: | Size: 73 KiB |
BIN
data/fonts/wqyMicroHei2.png
Executable file
After Width: | Height: | Size: 78 KiB |
BIN
data/fonts/wqyMicroHei3.png
Executable file
After Width: | Height: | Size: 72 KiB |
BIN
data/fonts/wqyMicroHei4.png
Executable file
After Width: | Height: | Size: 40 KiB |
BIN
data/fonts/wqyMicroHei5.png
Executable file
After Width: | Height: | Size: 15 KiB |
@@ -1,8 +0,0 @@
|
||||
|
||||
<supertuxkart_grand_prix name="Test">
|
||||
|
||||
<track id="lighthouse" laps="0" />
|
||||
<track id="lighthouse" laps="0" />
|
||||
<track id="lighthouse" laps="0" />
|
||||
<track id="lighthouse" laps="0" />
|
||||
</supertuxkart_grand_prix>
|
@@ -7,18 +7,16 @@
|
||||
<buttonbar id="menu_toprow" proportion="3" width="75%" align="center">
|
||||
<icon-button id="new" width="128" height="128" icon="gui/main_race.png"
|
||||
I18N="Main menu button" text="Race"/>
|
||||
<icon-button id="network" width="128" height="128" icon="gui/main_options.png"
|
||||
I18N="Main menu button" text="DEBUG"/>
|
||||
<icon-button id="challenges" width="128" height="128"
|
||||
icon="gui/challenge.png"
|
||||
I18N="Main menu button" text="Challenges"/>
|
||||
<icon-button id="options" width="128" height="128" icon="gui/main_options.png"
|
||||
I18N="Main menu button" text="Options"/>
|
||||
</buttonbar>
|
||||
|
||||
<spacer width="10" proportion="1"/>
|
||||
|
||||
<buttonbar id="menu_bottomrow" proportion="3" width="85%" align="center">
|
||||
<icon-button id="options" width="128" height="128" icon="gui/main_options.png"
|
||||
I18N="Main menu button" text="Options"/>
|
||||
<icon-button id="help" width="128" height="128" icon="gui/main_help.png"
|
||||
I18N="Main menu button" text="Help"/>
|
||||
<icon-button id="about" width="128" height="128" icon="gui/main_about.png"
|
||||
|
BIN
data/gui/screen169.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
data/gui/screen_other.png
Normal file
After Width: | Height: | Size: 12 KiB |
@@ -84,8 +84,8 @@ when the border that intersect at this corner are enabled.
|
||||
hborder_out_portion="0.1" vborder_out_portion="0.1" />
|
||||
|
||||
<element type="progress" state="fill" image="peach/glasssgauge_fill.png"
|
||||
left_border="20" right_border="20" top_border="0" bottom_border="0"
|
||||
preserve_h_aspect_ratios="true" />
|
||||
left_border="15" right_border="15" top_border="15" bottom_border="15"
|
||||
preserve_h_aspect_ratios="false" />
|
||||
|
||||
<element type="progress" state="neutral" image="peach/scrollbar_bg.png"
|
||||
left_border="31" right_border="31" top_border="15" bottom_border="15"
|
||||
|
Before Width: | Height: | Size: 257 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 7.8 KiB |
BIN
data/models/reset-attach-icon.png
Normal file
After Width: | Height: | Size: 18 KiB |
1743
data/po/bg.po
Normal file
916
data/po/ca.po
890
data/po/cs.po
1016
data/po/da.po
1045
data/po/de.po
1125
data/po/es.po
851
data/po/eu.po
1033
data/po/fi.po
1092
data/po/fr.po
1098
data/po/ga.po
1003
data/po/gl.po
948
data/po/he.po
1838
data/po/hu.po
Normal file
BIN
data/po/hu/LC_MESSAGES/supertuxkart.mo
Normal file
854
data/po/is.po
1031
data/po/it.po
1741
data/po/ja.po
Normal file
1049
data/po/ko.po
1028
data/po/nb.po
1027
data/po/nl.po
1013
data/po/pl.po
1268
data/po/pt.po
1343
data/po/pt_BR.po
985
data/po/ro.po
1004
data/po/ru.po
1030
data/po/sk.po
1039
data/po/sl.po
1814
data/po/sr.po
Normal file
BIN
data/po/sr/LC_MESSAGES/supertuxkart.mo
Normal file
@@ -1,20 +1,17 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: supertuxkart\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2010-11-20 21:30-0500\n"
|
||||
"POT-Creation-Date: 2010-11-30 18:42-0500\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"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-12-14 21:48+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. I18N: Do NOT literally translate this string!! Please enter Y as the translation if your language is a RTL (right-to-left) language, N (or nothing) otherwise
|
||||
#: src/utils/translation.cpp:94 src/utils/translation.cpp:97
|
||||
@@ -82,7 +79,7 @@ msgid "%1 tests a tractor beam on %0"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: In the track setup screen (number of laps choice, where %i is the number)
|
||||
#: src/states_screens/dialogs/track_info_dialog.cpp:124
|
||||
#: src/states_screens/dialogs/track_info_dialog.cpp:125
|
||||
#, c-format
|
||||
msgid "%i laps"
|
||||
msgstr ""
|
||||
@@ -96,7 +93,7 @@ msgid "%i. %s : survived for %s"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: as in "fastest lap: 60 seconds by Wilber"
|
||||
#: src/modes/linear_world.cpp:363
|
||||
#: src/modes/linear_world.cpp:369
|
||||
#, c-format
|
||||
msgid "%s by %s"
|
||||
msgstr ""
|
||||
@@ -112,7 +109,7 @@ msgstr ""
|
||||
msgid "%s is practicing with a blue, big, spheric yo-yo"
|
||||
msgstr ""
|
||||
|
||||
#: src/states_screens/kart_selection.cpp:507
|
||||
#: src/states_screens/kart_selection.cpp:508
|
||||
#, c-format
|
||||
msgid "%s is ready"
|
||||
msgstr ""
|
||||
@@ -134,13 +131,13 @@ msgstr ""
|
||||
msgid "%s should play (rubber) darts instead of bowling"
|
||||
msgstr ""
|
||||
|
||||
#: src/modes/world.cpp:675
|
||||
#: src/modes/world.cpp:682
|
||||
#, c-format
|
||||
msgid "'%s' has been eliminated."
|
||||
msgstr ""
|
||||
|
||||
#. I18N: for empty highscores entries
|
||||
#: src/states_screens/dialogs/track_info_dialog.cpp:261
|
||||
#: src/states_screens/dialogs/track_info_dialog.cpp:262
|
||||
msgid "(Empty)"
|
||||
msgstr ""
|
||||
|
||||
@@ -179,7 +176,7 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#. I18N: Game mode
|
||||
#: src/race/race_manager.hpp:150
|
||||
#: src/race/race_manager.hpp:149
|
||||
msgid "3 Strikes Battle"
|
||||
msgstr ""
|
||||
|
||||
@@ -191,7 +188,7 @@ msgid ""
|
||||
"they lose all their lives."
|
||||
msgstr ""
|
||||
|
||||
#: src/states_screens/dialogs/track_info_dialog.cpp:186
|
||||
#: src/states_screens/dialogs/track_info_dialog.cpp:187
|
||||
msgid "= Highscores ="
|
||||
msgstr ""
|
||||
|
||||
@@ -247,7 +244,7 @@ msgid "Addons"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/karts/adiumy/kart.xml
|
||||
#: data/po/gui_strings.h:771
|
||||
#: data/po/gui_strings.h:750
|
||||
msgid "Adiumy"
|
||||
msgstr ""
|
||||
|
||||
@@ -272,7 +269,7 @@ msgid "All blows allowed, so catch weapons and make clever use of them!"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/grandprix/alltracks.grandprix
|
||||
#: data/po/gui_strings.h:741
|
||||
#: data/po/gui_strings.h:732
|
||||
msgid "All tracks"
|
||||
msgstr ""
|
||||
|
||||
@@ -300,7 +297,7 @@ msgid "Apply new resolution"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: shown before deleting an input configuration
|
||||
#: src/states_screens/options_screen_input2.cpp:410
|
||||
#: src/states_screens/options_screen_input2.cpp:416
|
||||
msgid "Are you sure you want to permanently delete this configuration?"
|
||||
msgstr ""
|
||||
|
||||
@@ -323,7 +320,7 @@ msgid "Assign to ESC key"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/grandprix/atworldsend.grandprix
|
||||
#: data/po/gui_strings.h:744
|
||||
#: data/po/gui_strings.h:735
|
||||
msgid "At World's End"
|
||||
msgstr ""
|
||||
|
||||
@@ -492,7 +489,7 @@ msgid "Choose a Kart"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/crescentcrossing/crescentcrossing.challenge
|
||||
#: data/po/gui_strings.h:684
|
||||
#: data/po/gui_strings.h:678
|
||||
msgid "Collect Nitro in Math Class"
|
||||
msgstr ""
|
||||
|
||||
@@ -503,12 +500,12 @@ msgid "Collect blue boxes : they will give you weapons or other powerups"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/mines/mines.challenge
|
||||
#: data/po/gui_strings.h:714
|
||||
#: data/po/gui_strings.h:708
|
||||
msgid "Collect fuel for your rocket"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/grandprix/tothemoonandback.challenge
|
||||
#: data/po/gui_strings.h:666
|
||||
#: data/po/gui_strings.h:660
|
||||
msgid "Collect the Pharaohs Treasure"
|
||||
msgstr ""
|
||||
|
||||
@@ -522,7 +519,7 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/grandprix/alltracks.challenge
|
||||
#: data/po/gui_strings.h:651
|
||||
#: data/po/gui_strings.h:645
|
||||
msgid "Come first in the At World's End Grand Prix with 3 Expert AI karts."
|
||||
msgstr ""
|
||||
|
||||
@@ -575,6 +572,14 @@ msgstr ""
|
||||
msgid "Credits"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/gui/main.stkgui
|
||||
#. I18N: Main menu button
|
||||
#. I18N: ./data/gui/mainaddons.stkgui
|
||||
#. I18N: Main menu button
|
||||
#: data/po/gui_strings.h:315 data/po/gui_strings.h:347
|
||||
msgid "DEBUG"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/gui/options_device.stkgui
|
||||
#. I18N: To delete a keyboard configuration
|
||||
#: data/po/gui_strings.h:441
|
||||
@@ -593,7 +598,7 @@ msgstr ""
|
||||
|
||||
#. I18N: button to disable a gamepad configuration
|
||||
#: src/states_screens/options_screen_input2.cpp:72
|
||||
#: src/states_screens/options_screen_input2.cpp:420
|
||||
#: src/states_screens/options_screen_input2.cpp:426
|
||||
msgid "Disable Device"
|
||||
msgstr ""
|
||||
|
||||
@@ -613,13 +618,13 @@ msgid "Down"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/karts/elephpant/kart.xml
|
||||
#: data/po/gui_strings.h:774
|
||||
#: data/po/gui_strings.h:753
|
||||
msgid "Elephpant"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: button to enable a gamepad configuration
|
||||
#: src/states_screens/options_screen_input2.cpp:74
|
||||
#: src/states_screens/options_screen_input2.cpp:421
|
||||
#: src/states_screens/options_screen_input2.cpp:427
|
||||
msgid "Enable Device"
|
||||
msgstr ""
|
||||
|
||||
@@ -655,57 +660,57 @@ msgstr ""
|
||||
msgid "Feature Unlocked"
|
||||
msgstr ""
|
||||
|
||||
#: src/modes/linear_world.cpp:293
|
||||
#: src/modes/linear_world.cpp:294
|
||||
msgid "Final lap!"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/hacienda/hacienda.challenge
|
||||
#: data/po/gui_strings.h:699
|
||||
#: data/po/gui_strings.h:693
|
||||
msgid "Finish 3 laps in Farm with 3 easy AI karts in under 2:30 minutes."
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/tuxtollway/tollway.challenge
|
||||
#: data/po/gui_strings.h:729
|
||||
#: data/po/gui_strings.h:723
|
||||
msgid ""
|
||||
"Finish 3 laps in Lighthouse with 3 Expert AI karts in under 1:30 minutes."
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/fortmagma/fortmagma.challenge
|
||||
#: data/po/gui_strings.h:693
|
||||
#: data/po/gui_strings.h:687
|
||||
msgid "Finish 3 laps in mines with 3 expert AI karts in under 3:00 minutes."
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/hacienda/hacienda.challenge
|
||||
#: data/po/gui_strings.h:696
|
||||
#: data/po/gui_strings.h:690
|
||||
msgid "Finish Farm in 2:30"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/tuxtollway/tollway.challenge
|
||||
#: data/po/gui_strings.h:726
|
||||
#: data/po/gui_strings.h:720
|
||||
msgid "Finish Lighthouse in 1:30"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/fortmagma/fortmagma.challenge
|
||||
#: data/po/gui_strings.h:690
|
||||
#: data/po/gui_strings.h:684
|
||||
msgid "Finish Mines in 3:00"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/grandprix/tothemoonandback.challenge
|
||||
#: data/po/gui_strings.h:669
|
||||
#: data/po/gui_strings.h:663
|
||||
msgid ""
|
||||
"Finish with at least 12 nitro points on 3 laps of Shifting Sands in under "
|
||||
"2:20 minutes."
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/mines/mines.challenge
|
||||
#: data/po/gui_strings.h:717
|
||||
#: data/po/gui_strings.h:711
|
||||
msgid ""
|
||||
"Finish with at least 16 nitro points on 2 laps of XR591 in under 2:30 "
|
||||
"minutes."
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/crescentcrossing/crescentcrossing.challenge
|
||||
#: data/po/gui_strings.h:687
|
||||
#: data/po/gui_strings.h:681
|
||||
msgid ""
|
||||
"Finish with at least 6 points of nitro on three laps of Oliver's Math Class "
|
||||
"in under 52 seconds."
|
||||
@@ -729,17 +734,17 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#. I18N: Game mode
|
||||
#: src/race/race_manager.hpp:148
|
||||
#: src/race/race_manager.hpp:147
|
||||
msgid "Follow the Leader"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/lighthouse/lighthouse.challenge
|
||||
#: data/po/gui_strings.h:708
|
||||
#: data/po/gui_strings.h:702
|
||||
msgid "Follow the Leader around the Solar System"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/grandprix/atworldsend.challenge
|
||||
#: data/po/gui_strings.h:654
|
||||
#: data/po/gui_strings.h:648
|
||||
msgid "Follow the Leader on a Desert Island"
|
||||
msgstr ""
|
||||
|
||||
@@ -811,7 +816,7 @@ msgid "Geronimo!!!"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/karts/gnu/kart.xml
|
||||
#: data/po/gui_strings.h:777
|
||||
#: data/po/gui_strings.h:756
|
||||
msgid "Gnu"
|
||||
msgstr ""
|
||||
|
||||
@@ -820,7 +825,7 @@ msgid "Go!"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/karts/gooey/kart.xml
|
||||
#: data/po/gui_strings.h:780
|
||||
#: data/po/gui_strings.h:759
|
||||
msgid "Gooey"
|
||||
msgstr ""
|
||||
|
||||
@@ -864,7 +869,7 @@ msgid "Help"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/karts/hexley/kart.xml
|
||||
#: data/po/gui_strings.h:783
|
||||
#: data/po/gui_strings.h:762
|
||||
msgid "Hexley"
|
||||
msgstr ""
|
||||
|
||||
@@ -887,7 +892,7 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#. I18N: message shown when an input device is used but is not associated to any player
|
||||
#: src/input/input_manager.cpp:477
|
||||
#: src/input/input_manager.cpp:492
|
||||
#, c-format
|
||||
msgid "Ignoring '%s', you needed to join earlier to play!"
|
||||
msgstr ""
|
||||
@@ -924,7 +929,7 @@ msgid "Keep up with the leader kart but don't overtake it!"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/karts/konqi/kart.xml
|
||||
#: data/po/gui_strings.h:786
|
||||
#: data/po/gui_strings.h:765
|
||||
msgid "Konqi"
|
||||
msgstr ""
|
||||
|
||||
@@ -933,6 +938,11 @@ msgstr ""
|
||||
msgid "Lap"
|
||||
msgstr ""
|
||||
|
||||
#: src/modes/linear_world.cpp:311
|
||||
#, c-format
|
||||
msgid "Lap %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/modes/follow_the_leader.cpp:190
|
||||
msgid "Leader"
|
||||
msgstr ""
|
||||
@@ -942,7 +952,7 @@ msgstr ""
|
||||
msgid "Left"
|
||||
msgstr ""
|
||||
|
||||
#: src/guiengine/engine.cpp:1057
|
||||
#: src/guiengine/engine.cpp:1061
|
||||
msgid "Loading"
|
||||
msgstr ""
|
||||
|
||||
@@ -955,8 +965,8 @@ msgstr ""
|
||||
#: src/states_screens/arenas_screen.cpp:188
|
||||
#: src/states_screens/arenas_screen.cpp:211
|
||||
#: src/states_screens/challenges.cpp:95
|
||||
#: src/states_screens/kart_selection.cpp:1644
|
||||
#: src/states_screens/kart_selection.cpp:1689
|
||||
#: src/states_screens/kart_selection.cpp:1639
|
||||
#: src/states_screens/kart_selection.cpp:1684
|
||||
#: src/states_screens/race_setup_screen.cpp:212
|
||||
#: src/states_screens/tracks_screen.cpp:261
|
||||
#: src/states_screens/tracks_screen.cpp:285
|
||||
@@ -1000,7 +1010,7 @@ msgid "Mouse button %d"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/karts/mozilla/kart.xml
|
||||
#: data/po/gui_strings.h:789
|
||||
#: data/po/gui_strings.h:768
|
||||
msgid "Mozilla"
|
||||
msgstr ""
|
||||
|
||||
@@ -1043,7 +1053,7 @@ msgstr ""
|
||||
msgid "New difficulty '%s' now available"
|
||||
msgstr ""
|
||||
|
||||
#: src/modes/linear_world.cpp:357
|
||||
#: src/modes/linear_world.cpp:363
|
||||
msgid "New fastest lap"
|
||||
msgstr ""
|
||||
|
||||
@@ -1068,12 +1078,12 @@ msgid "Nitro"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/karts/nolok/kart.xml
|
||||
#: data/po/gui_strings.h:792
|
||||
#: data/po/gui_strings.h:771
|
||||
msgid "Nolok"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: Game mode
|
||||
#: src/race/race_manager.hpp:144
|
||||
#: src/race/race_manager.hpp:143
|
||||
msgid "Normal Race"
|
||||
msgstr ""
|
||||
|
||||
@@ -1089,9 +1099,13 @@ msgstr ""
|
||||
msgid "Number of AI karts"
|
||||
msgstr ""
|
||||
|
||||
#: src/states_screens/dialogs/message_dialog.cpp:57
|
||||
msgid "OK"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: message shown when a player that isn't game master tries to modify options that
|
||||
#. I18N: only the game master is allowed to
|
||||
#: src/input/input_manager.cpp:502
|
||||
#: src/input/input_manager.cpp:517
|
||||
msgid "Only the Game Master may act at this point!"
|
||||
msgstr ""
|
||||
|
||||
@@ -1121,18 +1135,18 @@ msgid "Penalty time!!"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/grandprix/penguinplayground.grandprix
|
||||
#: data/po/gui_strings.h:759
|
||||
#: data/po/gui_strings.h:738
|
||||
msgid "Penguin Playground"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/karts/pidgin/kart.xml
|
||||
#: data/po/gui_strings.h:795
|
||||
#: data/po/gui_strings.h:774
|
||||
msgid "Pidgin"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: In kart selection screen (Will read like 'Player 1 (foobartech gamepad)')
|
||||
#: src/states_screens/kart_selection.cpp:260
|
||||
#: src/states_screens/kart_selection.cpp:410
|
||||
#: src/states_screens/kart_selection.cpp:259
|
||||
#: src/states_screens/kart_selection.cpp:409
|
||||
#, c-format
|
||||
msgid "Player %i (%s)"
|
||||
msgstr ""
|
||||
@@ -1154,7 +1168,7 @@ msgid "Players"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: shown when config file is too old
|
||||
#: src/input/device_manager.cpp:387
|
||||
#: src/input/device_manager.cpp:399
|
||||
msgid "Please re-configure your key bindings."
|
||||
msgstr ""
|
||||
|
||||
@@ -1191,7 +1205,7 @@ msgid "Press enter or double-click on a player to edit him/her"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/karts/puffy/kart.xml
|
||||
#: data/po/gui_strings.h:798
|
||||
#: data/po/gui_strings.h:777
|
||||
msgid "Puffy"
|
||||
msgstr ""
|
||||
|
||||
@@ -1229,7 +1243,7 @@ msgid "Random Arena"
|
||||
msgstr ""
|
||||
|
||||
#: src/states_screens/kart_selection.cpp:781
|
||||
#: src/states_screens/kart_selection.cpp:1703
|
||||
#: src/states_screens/kart_selection.cpp:1698
|
||||
msgid "Random Kart"
|
||||
msgstr ""
|
||||
|
||||
@@ -1333,7 +1347,7 @@ msgid "Skin"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/grandprix/snagdrive.grandprix
|
||||
#: data/po/gui_strings.h:762
|
||||
#: data/po/gui_strings.h:741
|
||||
msgid "Snag Drive"
|
||||
msgstr ""
|
||||
|
||||
@@ -1353,7 +1367,7 @@ msgstr ""
|
||||
msgid "Start Grand Prix"
|
||||
msgstr ""
|
||||
|
||||
#: src/states_screens/dialogs/track_info_dialog.cpp:140
|
||||
#: src/states_screens/dialogs/track_info_dialog.cpp:141
|
||||
msgid "Start Race"
|
||||
msgstr ""
|
||||
|
||||
@@ -1411,7 +1425,7 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/grandprix/test.grandprix
|
||||
#: data/po/gui_strings.h:765
|
||||
#: data/po/gui_strings.h:744
|
||||
msgid "Test"
|
||||
msgstr ""
|
||||
|
||||
@@ -1442,7 +1456,7 @@ msgid "Time"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: Game mode
|
||||
#: src/race/race_manager.hpp:146
|
||||
#: src/race/race_manager.hpp:145
|
||||
msgid "Time Trial"
|
||||
msgstr ""
|
||||
|
||||
@@ -1471,7 +1485,7 @@ msgid "To help you win, there are some powerups you can collect :"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/grandprix/tothemoonandback.grandprix
|
||||
#: data/po/gui_strings.h:768
|
||||
#: data/po/gui_strings.h:747
|
||||
msgid "To the Moon and Back"
|
||||
msgstr ""
|
||||
|
||||
@@ -1496,7 +1510,7 @@ msgid "Tracks"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/karts/tux/kart.xml
|
||||
#: data/po/gui_strings.h:801
|
||||
#: data/po/gui_strings.h:780
|
||||
msgid "Tux"
|
||||
msgstr ""
|
||||
|
||||
@@ -1540,10 +1554,17 @@ msgstr ""
|
||||
msgid "Volume"
|
||||
msgstr ""
|
||||
|
||||
#: src/modes/linear_world.cpp:815
|
||||
#: src/modes/linear_world.cpp:821
|
||||
msgid "WRONG WAY!"
|
||||
msgstr ""
|
||||
|
||||
#: src/states_screens/options_screen_input2.cpp:335
|
||||
msgid ""
|
||||
"Warning, 'Shift' is not a recommended key : when shift is pressed down, all "
|
||||
"keys that contain a character that is different in upper-case will stop "
|
||||
"working."
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/gui/help1.stkgui
|
||||
#. I18N: Tab in help menu
|
||||
#. I18N: ./data/gui/help2.stkgui
|
||||
@@ -1570,93 +1591,94 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/karts/wilber/kart.xml
|
||||
#: data/po/gui_strings.h:804
|
||||
#: data/po/gui_strings.h:783
|
||||
msgid "Wilber"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/followtheleader.challenge
|
||||
#: data/po/gui_strings.h:642
|
||||
#: data/po/gui_strings.h:636
|
||||
msgid "Win Penguin Playground Grand Prix"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/followtheleader.challenge
|
||||
#: data/po/gui_strings.h:645
|
||||
#: data/po/gui_strings.h:639
|
||||
msgid "Win Penguin Playground Grand Prix with 3 Expert Level AI karts."
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/grandprix/snagdrive.challenge
|
||||
#: data/po/gui_strings.h:660
|
||||
#: data/po/gui_strings.h:654
|
||||
msgid "Win To the Moon and Back Grand Prix"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/skyline/skyline.challenge
|
||||
#: data/po/gui_strings.h:723
|
||||
#: data/po/gui_strings.h:717
|
||||
msgid ""
|
||||
"Win a 1 lap Head to Head in the Secret Garden against 1 Expert level AI kart."
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/xr591/xr591.challenge
|
||||
#: data/po/gui_strings.h:735
|
||||
#: data/po/gui_strings.h:729
|
||||
msgid "Win a 3 lap race on Canyon against 4 Expert level AI karts."
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/karts/gnu/gnu.challenge
|
||||
#: data/po/gui_strings.h:675
|
||||
#: data/po/gui_strings.h:669
|
||||
msgid "Win a 3 lap race on Fort Magma against 3 Expert level AI karts."
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/islandtrack/island.challenge
|
||||
#: data/po/gui_strings.h:705
|
||||
msgid "Win a 3 lap race on Snow Mountain under 3:05 against 3 medium AI karts."
|
||||
#: data/po/gui_strings.h:699
|
||||
msgid ""
|
||||
"Win a 3 lap race on Snow Mountain under 3:05 against 3 medium AI karts."
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/canyon/canyon.challenge
|
||||
#: data/po/gui_strings.h:681
|
||||
#: data/po/gui_strings.h:675
|
||||
msgid "Win a 3 lap race on Tux Tollway against 4 Expert level AI karts."
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/grandprix/atworldsend.challenge
|
||||
#: data/po/gui_strings.h:657
|
||||
#: data/po/gui_strings.h:651
|
||||
msgid "Win a Follow the Leader race with 3 AI karts on a Desert Island."
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/lighthouse/lighthouse.challenge
|
||||
#: data/po/gui_strings.h:711
|
||||
#: data/po/gui_strings.h:705
|
||||
msgid "Win a Follow the Leader race with 5 AI karts on Star track"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/skyline/skyline.challenge
|
||||
#: data/po/gui_strings.h:720
|
||||
#: data/po/gui_strings.h:714
|
||||
msgid "Win a Head to Head in the Secret Garden"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/xr591/xr591.challenge
|
||||
#: data/po/gui_strings.h:732
|
||||
#: data/po/gui_strings.h:726
|
||||
msgid "Win a race on Canyon"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/karts/gnu/gnu.challenge
|
||||
#: data/po/gui_strings.h:672
|
||||
#: data/po/gui_strings.h:666
|
||||
msgid "Win a race on Fort Magma"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/islandtrack/island.challenge
|
||||
#: data/po/gui_strings.h:702
|
||||
#: data/po/gui_strings.h:696
|
||||
msgid "Win a race on Snow Mountain"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/tracks/canyon/canyon.challenge
|
||||
#: data/po/gui_strings.h:678
|
||||
#: data/po/gui_strings.h:672
|
||||
msgid "Win a race on Tux Tollway"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/grandprix/alltracks.challenge
|
||||
#: data/po/gui_strings.h:648
|
||||
#: data/po/gui_strings.h:642
|
||||
msgid "Win the At World's End Grand Prix"
|
||||
msgstr ""
|
||||
|
||||
#. I18N: ./data/grandprix/snagdrive.challenge
|
||||
#: data/po/gui_strings.h:663
|
||||
#: data/po/gui_strings.h:657
|
||||
msgid "Win the To the Moon and Back Grand Prix with 3 Expert Level AI karts."
|
||||
msgstr ""
|
||||
|
||||
@@ -1670,11 +1692,11 @@ msgstr ""
|
||||
msgid "You completed the Grand Prix!"
|
||||
msgstr ""
|
||||
|
||||
#: src/karts/kart.cpp:531 src/karts/kart.cpp:550
|
||||
#: src/karts/kart.cpp:523 src/karts/kart.cpp:542
|
||||
msgid "You finished the race!"
|
||||
msgstr ""
|
||||
|
||||
#: src/modes/world.cpp:671
|
||||
#: src/modes/world.cpp:678
|
||||
msgid "You have been eliminated!"
|
||||
msgstr ""
|
||||
|
||||
@@ -1683,23 +1705,23 @@ msgstr ""
|
||||
msgid "You unlocked a new feature!"
|
||||
msgstr ""
|
||||
|
||||
#: src/karts/kart.cpp:531 src/karts/kart.cpp:550
|
||||
#: src/karts/kart.cpp:523 src/karts/kart.cpp:542
|
||||
msgid "You won the race!"
|
||||
msgstr ""
|
||||
|
||||
#: src/config/user_config.cpp:423
|
||||
#: src/config/user_config.cpp:424
|
||||
msgid ""
|
||||
"Your config file was malformed, so it was deleted and a new one will be "
|
||||
"created."
|
||||
msgstr ""
|
||||
|
||||
#: src/config/user_config.cpp:433
|
||||
#: src/config/user_config.cpp:434
|
||||
msgid ""
|
||||
"Your config file was too old, so it was deleted and a new one will be "
|
||||
"created."
|
||||
msgstr ""
|
||||
|
||||
#: src/input/device_manager.cpp:389
|
||||
#: src/input/device_manager.cpp:401
|
||||
msgid "Your input config file is not compatible with this version of STK."
|
||||
msgstr ""
|
||||
|
||||
|
887
data/po/sv.po
862
data/po/tr.po
1116
data/po/uk.po
1008
data/po/zh_CN.po
897
data/po/zh_TW.po
@@ -281,7 +281,7 @@
|
||||
duration is the duration a rubber band acts. -->
|
||||
<plunger band-max-length="50" band-force="1500" band-duration="1"
|
||||
band-speed-increase="7" band-fade-out-time="3"
|
||||
in-face-time="5 7 10"/>
|
||||
in-face-time="4 6 7"/>
|
||||
|
||||
<!-- Kart-specific explosion parameters. Height: how high this
|
||||
this kart is being pushed in the sky by an explosion.
|
||||
|
@@ -118,6 +118,15 @@ MusicInformation::MusicInformation(const std::string& filename) throw (std::runt
|
||||
} // MusicInformation
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
MusicInformation::~MusicInformation()
|
||||
{
|
||||
delete m_normal_music;
|
||||
delete m_fast_music;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
void MusicInformation::addMusicToTracks()
|
||||
{
|
||||
for(int i=0; i<(int)m_all_tracks.size(); i++)
|
||||
@@ -146,6 +155,8 @@ void MusicInformation::startMusic()
|
||||
m_normal_filename.c_str());
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_normal_music != NULL) delete m_normal_music;
|
||||
m_normal_music = new MusicOggStream();
|
||||
|
||||
if((m_normal_music->load(m_normal_filename)) == false)
|
||||
@@ -161,7 +172,8 @@ void MusicInformation::startMusic()
|
||||
|
||||
// Then (if available) load the music for the last track
|
||||
// -----------------------------------------------------
|
||||
if(m_fast_filename=="")
|
||||
if (m_fast_music != NULL) delete m_fast_music;
|
||||
if (m_fast_filename == "")
|
||||
{
|
||||
m_fast_music = NULL;
|
||||
return; // no fast music
|
||||
|
@@ -69,6 +69,7 @@ public:
|
||||
#pragma warning(disable:4290)
|
||||
#endif
|
||||
MusicInformation (const std::string& filename) throw (std::runtime_error);
|
||||
~MusicInformation ();
|
||||
const std::string& getComposer () const {return m_composer; }
|
||||
const std::string& getTitle () const {return m_title; }
|
||||
const std::string& getNormalFilename() const {return m_normal_filename; }
|
||||
|
@@ -29,6 +29,7 @@
|
||||
#endif
|
||||
|
||||
#include "audio/music_manager.hpp"
|
||||
#include "audio/sfx_manager.hpp"
|
||||
#include "config/user_config.hpp"
|
||||
#include "utils/constants.hpp"
|
||||
|
||||
@@ -366,37 +367,7 @@ bool MusicOggStream::check(const char* what)
|
||||
|
||||
if (error != AL_NO_ERROR)
|
||||
{
|
||||
const char* errMessage;
|
||||
switch (error)
|
||||
{
|
||||
case AL_INVALID_NAME:
|
||||
errMessage = "AL_INVALID_NAME";
|
||||
break;
|
||||
|
||||
case AL_ILLEGAL_ENUM:
|
||||
//case AL_INVALID_ENUM:
|
||||
errMessage = "AL_ILLEGAL_ENUM";
|
||||
break;
|
||||
|
||||
case AL_INVALID_VALUE:
|
||||
errMessage = "AL_INVALID_VALUE";
|
||||
break;
|
||||
|
||||
case AL_ILLEGAL_COMMAND:
|
||||
//case AL_INVALID_OPERATION:
|
||||
errMessage = "AL_ILLEGAL_COMMAND";
|
||||
break;
|
||||
|
||||
case AL_OUT_OF_MEMORY:
|
||||
errMessage = "AL_OUT_OF_MEMORY";
|
||||
break;
|
||||
|
||||
default:
|
||||
errMessage = "other error";
|
||||
break;
|
||||
|
||||
}
|
||||
fprintf(stderr, "OpenAL error %d at %s : %s\n", error, what, errMessage);
|
||||
fprintf(stderr, "[MusicOggStream] OpenAL error at %s : %s (%i)\n", what, SFXManager::getErrorString(error).c_str(), error);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@@ -52,7 +52,7 @@ SFXManager::SFXManager()
|
||||
{
|
||||
// The sound manager initialises OpenAL
|
||||
m_initialized = music_manager->initialized();
|
||||
m_master_gain = 1.0f;
|
||||
m_master_gain = UserConfigParams::m_sfx_volume;
|
||||
|
||||
loadSfx();
|
||||
if (!sfxAllowed()) return;
|
||||
@@ -306,10 +306,20 @@ SFXBase* SFXManager::createSoundSource(SFXBuffer* buffer,
|
||||
sfx->volume(m_master_gain);
|
||||
|
||||
if (add_to_SFX_list) m_all_sfx.push_back(sfx);
|
||||
|
||||
|
||||
return sfx;
|
||||
} // createSoundSource
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
void SFXManager::dump()
|
||||
{
|
||||
for(int n=0; n<(int)m_all_sfx.size(); n++)
|
||||
{
|
||||
printf("Sound %i : %s \n", n, ((SFXOpenAL*)m_all_sfx[n])->getBuffer()->getFileName().c_str());
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
SFXBase* SFXManager::createSoundSource(const std::string &name,
|
||||
const bool addToSFXList)
|
||||
|
@@ -129,6 +129,9 @@ public:
|
||||
|
||||
/** Called when sound was muted/unmuted */
|
||||
void soundToggled(const bool newValue);
|
||||
|
||||
/** Prints the list of currently loaded sounds to stdout. Useful to debug audio leaks */
|
||||
void dump();
|
||||
|
||||
};
|
||||
|
||||
|
@@ -72,6 +72,8 @@ public:
|
||||
virtual SFXManager::SFXStatus getStatus();
|
||||
virtual void onSoundEnabledBack();
|
||||
|
||||
const SFXBuffer* getBuffer() const { return m_soundBuffer; }
|
||||
|
||||
}; // SFXOpenAL
|
||||
|
||||
#endif // HEADER_SFX_OPENAL_HPP
|
||||
|