diff --git a/source/code/os.cpp b/source/code/os.cpp index 103bcf8..e04bb4a 100644 --- a/source/code/os.cpp +++ b/source/code/os.cpp @@ -25,17 +25,10 @@ http://blockattack.net #include #include #include "sago/platform_folders.h" +#include "version.h" static sago::PlatformFolders pf; - -/* - *Files will be saved in: - * HOME/.local/share/"+GAMENAME (unix) - *or DOCUMENTS/My Games/GAMENAME (Windows) - */ -#define GAMENAME "blockattack" - static std::string overrideSavePath = ""; /** diff --git a/source/code/version.h b/source/code/version.h index 1813bb5..c070d10 100644 --- a/source/code/version.h +++ b/source/code/version.h @@ -17,10 +17,18 @@ You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/ Source information and contacts persons can be found at -http://www.blockattack.net +https://blockattack.net =========================================================================== */ + +/* + *Files will be saved in: + * HOME/.local/share/"+GAMENAME (unix) + *or DOCUMENTS/My Games/GAMENAME (Windows) + */ +#define GAMENAME "blockattack" + #ifndef VERSION_NUMBER #define VERSION_NUMBER "2.4.0-SNAPSHOT" #endif