forked from github/server
game-specific files for eressea 2 & 3
This commit is contained in:
parent
275476aaf6
commit
9cfb41d393
|
@ -1 +1,6 @@
|
|||
bin/
|
||||
|
||||
*.ncb
|
||||
*.suo
|
||||
*.ncb
|
||||
*.suo
|
|
@ -0,0 +1,17 @@
|
|||
[eressea]
|
||||
base = .
|
||||
load = setup.lua
|
||||
report = reports
|
||||
verbose = 0
|
||||
lomem = 0
|
||||
debug = 0
|
||||
memcheck = 0
|
||||
locales = de,en
|
||||
|
||||
[config]
|
||||
game = eressea
|
||||
source_dir = ../..
|
||||
maxnmrs = 10
|
||||
|
||||
[editor]
|
||||
color = 1
|
|
@ -0,0 +1,20 @@
|
|||
local srcpath = config.source_dir
|
||||
local respath = srcpath .. '/eressea/res'
|
||||
local paths = {
|
||||
'eressea/scripts/?.lua',
|
||||
'server/scripts/?.lua',
|
||||
'external/lunit/?.lua'
|
||||
}
|
||||
|
||||
tests = {
|
||||
srcpath .. '/server/scripts/tests/common.lua',
|
||||
srcpath .. '/eressea/scripts/tests/eressea.lua',
|
||||
}
|
||||
|
||||
for idx, path in pairs(paths) do
|
||||
package.path = srcpath .. '/' .. path .. ';' .. package.path
|
||||
end
|
||||
|
||||
read_xml(respath..'/config-eressea.xml', respath..'/catalog-eressea.xml')
|
||||
|
||||
require "init"
|
|
@ -0,0 +1,17 @@
|
|||
[eressea]
|
||||
base = .
|
||||
load = setup.lua
|
||||
report = reports
|
||||
verbose = 0
|
||||
lomem = 0
|
||||
debug = 0
|
||||
memcheck = 0
|
||||
locales = de,en
|
||||
|
||||
[config]
|
||||
game = e3a
|
||||
source_dir = ../..
|
||||
maxnmrs = 10
|
||||
|
||||
[editor]
|
||||
color = 1
|
|
@ -0,0 +1,20 @@
|
|||
local srcpath = config.source_dir
|
||||
local respath = srcpath .. '/example/res'
|
||||
local paths = {
|
||||
'eressea/scripts/?.lua',
|
||||
'server/scripts/?.lua',
|
||||
'external/lunit/?.lua'
|
||||
}
|
||||
|
||||
tests = {
|
||||
srcpath .. '/server/scripts/tests/common.lua',
|
||||
srcpath .. '/eressea/scripts/tests/e3a.lua',
|
||||
}
|
||||
|
||||
for idx, path in pairs(paths) do
|
||||
package.path = srcpath .. '/' .. path .. ';' .. package.path
|
||||
end
|
||||
|
||||
read_xml(respath..'/config-e3a.xml', respath..'/catalog-e3a.xml')
|
||||
|
||||
require "init"
|
Loading…
Reference in New Issue