Mercurial > projects > dil
comparison src/Settings.d @ 839:4063da6f3edd default tip
Refactored the config file and how it is loaded.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Thu, 21 Aug 2008 17:51:04 +0200 |
parents | bcb74c9b895c |
children |
comparison
equal
deleted
inserted
replaced
838:1ecf05e680ba | 839:4063da6f3edd |
---|---|
7 | 7 |
8 /// Global application settings. | 8 /// Global application settings. |
9 struct GlobalSettings | 9 struct GlobalSettings |
10 { | 10 { |
11 static: | 11 static: |
12 /// Path to the data directory. | |
13 string dataDir = "data/"; | |
12 /// Predefined version identifiers. | 14 /// Predefined version identifiers. |
13 string[] versionIds; | 15 string[] versionIds; |
14 /// Path to the language file. | 16 /// Path to the language file. |
15 string langFile = "lang_en.d"; | 17 string langFile = "lang_en.d"; |
16 /// Language code of loaded messages catalogue. | 18 /// Language code of loaded messages catalogue. |