mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
13a8dfa307
and fix occurences
10 lines
297 B
Python
10 lines
297 B
Python
print("#ifndef GENERATED_WORDLIST_H")
|
|
print("#define GENERATED_WORDLIST_H")
|
|
print("const char g_aFallbackWordlist[][32] = {")
|
|
with open("data/wordlist.txt") as f:
|
|
for line in f:
|
|
word = line.strip().split("\t")[1]
|
|
print("\t\"%s\", " % word)
|
|
print("};")
|
|
print("#endif // GENERATED_WORDLIST_H")
|