mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-16 20:02:35 +03:00
3e8f7a119c
- added sounds - changed gameplay mode to time attack Added this game to menu. git-svn-id: svn://kolibrios.org@5251 a494cfbc-eb01-0410-851d-a64ba20cac60
22 lines
1.0 KiB
Lua
22 lines
1.0 KiB
Lua
if tup.getconfig("NO_FASM") ~= "" or tup.getconfig("NO_GCC") ~= "" then return end
|
|
-- tup.rule("echo \"#define LANG_" .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. "\" > lang.h", {"lang.h"})
|
|
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
|
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
|
tup.include(HELPERDIR .. "/use_sound.lua")
|
|
LDFLAGS = LDFLAGS .. " -T kolibri.ld"
|
|
tup.append_table(OBJS, tup.rule("start.asm", "fasm %f %o", "start.o"))
|
|
|
|
if tup.getconfig("LANG") == "ru"
|
|
then C_LANG = "LANG_RU"
|
|
|
|
elseif tup.getconfig("LANG") == "sp"
|
|
then C_LANG = "LANG_SP" -- just for example, other languages are not implemented
|
|
|
|
else C_LANG = "LANG_EN" -- default language is English
|
|
end
|
|
|
|
CFLAGS = CFLAGS .. " -DRS_KOS -D" .. C_LANG .. " "
|
|
|
|
compile_gcc{ "system/kolibri.c", "game/rs/rsmicrolibc.c", "game/rs/rsplatform_kos.c", "game/rs/rsmx.c", "game/rsnoise.c", "game/rssoundgen.c", "game/rsgentex.c", "game/rsgame.c", "game/rsgamedraw.c", "game/rskos.c", "game/rsgametext.c", "game/rsgamemenu.c"}
|
|
link_gcc ("marblematch3")
|