combined = default

tolua = default
This commit is contained in:
Enno Rehling 2008-12-20 23:41:33 +00:00
parent ff8c715b4c
commit e3b7068bc9
5 changed files with 39 additions and 13 deletions

View File

@ -1,5 +1,7 @@
SubDir TOP ; SubDir TOP ;
SubInclude TOP common ;
SubInclude TOP eressea ; SubInclude TOP combined ;
# SubInclude TOP mapper ;
SubInclude TOP tools ; #SubInclude TOP common ;
#SubInclude TOP eressea ;
#SubInclude TOP tools ;

View File

@ -14,6 +14,11 @@ if $(BINDINGS) = LUABIND {
C++FLAGS += -DBINDINGS_LUABIND ; C++FLAGS += -DBINDINGS_LUABIND ;
} }
if $(BINDINGS) = TOLUA {
CCFLAGS += -DBINDINGS_TOLUA ;
C++FLAGS += -DBINDINGS_TOLUA ;
}
if ! $(LUA_VERSION) { if ! $(LUA_VERSION) {
LUA_VERSION = 5.0 ; LUA_VERSION = 5.0 ;
} }

View File

@ -59,5 +59,5 @@
#elif defined(BINDINGS_TOLUA) #elif defined(BINDINGS_TOLUA)
# undef BINDINGS_LUABIND # undef BINDINGS_LUABIND
#else #else
# define BINDINGS_LUABIND /* fallback */ # define BINDINGS_TOLUA /* new default */
#endif #endif

View File

@ -13,7 +13,7 @@ loadscript("default.lua")
function change_locales() function change_locales()
-- local localechange = { } -- local localechange = { }
local localechange = { de = { "bb" }, en = { "rtph" } } local localechange = { de = { "rtph" } }
for loc, flist in pairs(localechange) do for loc, flist in pairs(localechange) do
for index, name in pairs(flist) do for index, name in pairs(flist) do

View File

@ -1,18 +1,37 @@
local function kill_multis() local function kill_multis()
local multis = { local multis = {
-- ["Luna"]="Wird wegen Missbrauch von Sonnensegeln geloescht", ["u9bx"]="Doppelspiel-Partei von Tachlaar@web.de",
-- ["amam"]="Wird wegen Missbrauch von Sonnensegeln geloescht", ["7Lwz"]="Doppelspiel-Partei von Tachlaar@web.de",
-- ["jr81"]="Wird wegen Missbrauch von Sonnensegeln geloescht" ["ddr"]="Doppelspiel-Partei von Tachlaar@web.de",
["myrd"]="Doppelspiel-Partei von Tachlaar@web.de",
["2a4v"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["7oiw"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["brud"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["bzcm"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["crow"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["dino"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["fynd"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["Leer"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["moos"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["ogcL"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["paty"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["rd"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["seee"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["szem"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["uebL"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["uvzp"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["wzLp"]="Doppelspiel-Partei von Samurai_krieger@web.de",
["ziwe"]="Doppelspiel-Partei von Samurai_krieger@web.de"
} }
local k local k
local v local v
for k, v in pairs(multis) do for k, info in pairs(multis) do
local f = get_faction(atoi36(k)) local f = get_faction(atoi36(k))
if f~=nil then if f~=nil then
print("- marking " .. tostring(f) .. " as a multi-player.") print("- marking " .. tostring(f) .. " as a multi-player.")
f.email="doppelspieler@eressea.de" f.email = "doppelspieler@eressea.de"
f.password="" f.password = ""
f.info=v f.info = info
else else
print("- could not find faction " .. k) print("- could not find faction " .. k)
end end