A new user interface for you! Read more...

File cubosphere-music.patch of Package cubosphere

diff -Naur cubosphere-0.1/src/globals.cpp cubosphere-0.1-new//src/globals.cpp
--- cubosphere-0.1/src/globals.cpp	2011-07-17 23:06:38.000000000 +0200
+++ cubosphere-0.1-new//src/globals.cpp	2011-08-07 21:13:26.337941346 +0200
@@ -61,7 +61,7 @@
  else if (which=="themes")      { d=FILE_THEMEDEF; ext="themedef";}
  else if (which=="actordefs")   { d=FILE_ACTORDEF; ext="adef";}
  else if (which=="language")    { d=FILE_LANGDEF; ext="ldef";}
- else if (which=="music")       { d=FILE_MUSIC; ext="mp3";}
+ else if (which=="music")       { d=FILE_MUSIC; ext="ogg";}
  else if (which=="savegame")    { d=FILE_SAVEGAME; ext="sdef";}
  else if (which=="enemydefs")   { d=FILE_ENEMYDEF; ext="edef";}
  else if (which=="menudefs")   { d=FILE_MENUDEF; ext="mdef";}
diff -Naur cubosphere-0.1/src/luautils.cpp cubosphere-0.1-new//src/luautils.cpp
--- cubosphere-0.1/src/luautils.cpp	2011-08-02 23:32:35.000000000 +0200
+++ cubosphere-0.1-new//src/luautils.cpp	2011-08-07 21:13:38.201941353 +0200
@@ -3731,7 +3731,7 @@
 int TLuaCuboLib::SOUND_LoadMusic(lua_State *state)
 {
  string fname=LUA_GET_STRING;
- int res=g_Sounds()->LoadMusic(GetFileName(fname,FILE_MUSIC,".mp3"));
+ int res=g_Sounds()->LoadMusic(GetFileName(fname,FILE_MUSIC,".ogg"));
  LUA_SET_INT(res);
  return 1;
 }