Re #435 Fixes the race select menu for en/disablind online race mode at compile time (through the OPTION_OFFICIAL_ONLY CMake cache variable)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3812 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: dbfade41668a414521b8d993866d1ebc6ff6124d Former-commit-id: c687a7f2af26dd93333f6734463f76c6d74a17cc
This commit is contained in:
parent
97db5ff680
commit
7c82355358
2 changed files with 19 additions and 8 deletions
|
@ -1,10 +1,21 @@
|
||||||
INCLUDE(../../cmake/macros.cmake)
|
INCLUDE(../../cmake/macros.cmake)
|
||||||
|
|
||||||
FILE(GLOB files_xml *.xml)
|
SD_INSTALL_FILES(DATA config/raceman USER config/raceman
|
||||||
FILE(GLOB files_xmls *.xmls)
|
FILES practice.xml quickrace.xml
|
||||||
|
singleevent-challenge.xml singleevent-endurance.xml
|
||||||
|
championship.xml championship-supercars.xml
|
||||||
|
career.xml
|
||||||
|
career_supercars.xmls)
|
||||||
|
|
||||||
SD_INSTALL_FILES(DATA config/raceman USER config/raceman FILES ${files_xml}
|
SD_INSTALL_FILES(DATA config/raceman/extra USER config/raceman/extra
|
||||||
${files_xmls})
|
FILES extra/skill.xml)
|
||||||
SD_INSTALL_FILES(DATA config/raceman/extra USER config/raceman/extra FILES
|
|
||||||
extra/skill.xml)
|
# Work-in-progress / unofficial race modes.
|
||||||
|
IF(NOT OPTION_OFFICIAL_ONLY)
|
||||||
|
|
||||||
|
SD_INSTALL_FILES(DATA config/raceman USER config/raceman
|
||||||
|
FILES networkrace.xml
|
||||||
|
championship-mpa1.xml
|
||||||
|
career_ls1.xmls)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
|
|
@ -15,13 +15,13 @@
|
||||||
|
|
||||||
<!DOCTYPE params SYSTEM "../params.dtd">
|
<!DOCTYPE params SYSTEM "../params.dtd">
|
||||||
|
|
||||||
<params name="Online Race" version="1.20">
|
<params name="Online Race" version="1.21">
|
||||||
|
|
||||||
<section name="Header">
|
<section name="Header">
|
||||||
<attstr name="name" val="Online Race"/>
|
<attstr name="name" val="Online Race"/>
|
||||||
<attstr name="type" val="Online"/>
|
<attstr name="type" val="Online"/>
|
||||||
<attstr name="description" val="Online Race"/>
|
<attstr name="description" val="Online Race"/>
|
||||||
<attnum name="priority" val="80"/>
|
<attnum name="priority" val="20"/>
|
||||||
<attstr name="menu image" val="data/img/splash-networkrace.jpg"/>
|
<attstr name="menu image" val="data/img/splash-networkrace.jpg"/>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue