share/hedgewars/Data/Names/CMakeLists.txt
author Wuzzy <Wuzzy2@mail.ru>
Tue, 02 Apr 2019 01:03:39 +0200
changeset 14740 7b2bd37d7503
parent 8443 2debc9b9f917
permissions -rw-r--r--
Fix inconsistencies in guest nick name generation When the setting net/nick is empty, HW generates a guest name. But there were several problems: - Team name did not match guest name - Random guest number was re-rolled multiple times, causing inconsistencies - Guest number was often too large (now capped at 99999)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1945
b997bcf86c39 patch by TheXception:
unc0rr
parents: 1840
diff changeset
     1
file(GLOB txtnames *.txt)
b997bcf86c39 patch by TheXception:
unc0rr
parents: 1840
diff changeset
     2
file(GLOB cfgnames *.cfg)
b997bcf86c39 patch by TheXception:
unc0rr
parents: 1840
diff changeset
     3
1840
4747f0232b88 ttsmj2's random teams patch
unc0rr
parents:
diff changeset
     4
install(FILES
8443
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 1945
diff changeset
     5
    types.ini
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 1945
diff changeset
     6
    ${txtnames}
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 1945
diff changeset
     7
    ${cfgnames}
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 1945
diff changeset
     8
    DESTINATION ${SHAREPATH}Data/Names)