git repos / blockattack-game

blame: source/code/os.hpp

normal view · raw

1899da11 sago007 2015-12-30 19:04 1
/*
1899da11 sago007 2015-12-30 19:04 2
===========================================================================
1899da11 sago007 2015-12-30 19:04 3
blockattack - Block Attack - Rise of the Blocks
1899da11 sago007 2015-12-30 19:04 4
Copyright (C) 2005-2015 Poul Sander
1899da11 sago007 2015-12-30 19:04 5
1899da11 sago007 2015-12-30 19:04 6
This program is free software: you can redistribute it and/or modify
1899da11 sago007 2015-12-30 19:04 7
it under the terms of the GNU General Public License as published by
1899da11 sago007 2015-12-30 19:04 8
the Free Software Foundation, either version 2 of the License, or
1899da11 sago007 2015-12-30 19:04 9
(at your option) any later version.
1899da11 sago007 2015-12-30 19:04 10
1899da11 sago007 2015-12-30 19:04 11
This program is distributed in the hope that it will be useful,
1899da11 sago007 2015-12-30 19:04 12
but WITHOUT ANY WARRANTY; without even the implied warranty of
1899da11 sago007 2015-12-30 19:04 13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1899da11 sago007 2015-12-30 19:04 14
GNU General Public License for more details.
1899da11 sago007 2015-12-30 19:04 15
1899da11 sago007 2015-12-30 19:04 16
You should have received a copy of the GNU General Public License
1899da11 sago007 2015-12-30 19:04 17
along with this program.  If not, see http://www.gnu.org/licenses/
1899da11 sago007 2015-12-30 19:04 18
1899da11 sago007 2015-12-30 19:04 19
Source information and contacts persons can be found at
1899da11 sago007 2015-12-30 19:04 20
http://blockattack.net
1899da11 sago007 2015-12-30 19:04 21
===========================================================================
1899da11 sago007 2015-12-30 19:04 22
*/
1899da11 sago007 2015-12-30 19:04 23
1899da11 sago007 2015-12-30 19:04 24
#if defined(_WIN32) 
1899da11 sago007 2015-12-30 19:04 25
#include "windows.h"
1899da11 sago007 2015-12-30 19:04 26
#include "shlobj.h"
1899da11 sago007 2015-12-30 19:04 27
#endif
1899da11 sago007 2015-12-30 19:04 28
#include <string>
1899da11 sago007 2015-12-30 19:04 29
1899da11 sago007 2015-12-30 19:04 30
std::string getPathToSaveFiles() __attribute__((pure));
1899da11 sago007 2015-12-30 19:04 31
#if defined(_WIN32)
1899da11 sago007 2015-12-30 19:04 32
std::string getMyDocumentsPath();
1f50b970 sago007 2015-12-30 21:00 33
#endif
1f50b970 sago007 2015-12-30 21:00 34
1f50b970 sago007 2015-12-30 21:00 35
std::string getPathToHighscoresEndless();
1f50b970 sago007 2015-12-30 21:00 36
std::string getPathToHighscoresTimetrial();
1970-01-01 00:00 37