Mercurial > hg > pub > prymula > com
view lamertetris/sources/hiscore_win.h @ 3:84e66ea83026
DPF-Prymula-audioplugins-0.231015-2
author | prymula <prymula76@outlook.com> |
---|---|
date | Mon, 16 Oct 2023 21:53:34 +0200 |
parents | 2787f5e749ae |
children |
line wrap: on
line source
/* * Lamer Tetris - moja implementacja kultowej gry * new version: 06-VIII-2021 * Przemysław R. Pietraszczyk * Licencja: Public Domain * Powered by: Geany */ #ifndef HISCORE_H #define HISCORE_H #include <SDL2/SDL.h> #include <SDL_ttf.h> #include <string> #include <cstdio> #include <iostream> #include <unistd.h> // sleep access #include <windows.h> class HiScore { public: HiScore(); ~HiScore(); SDL_bool file_exist(); void save_hiscore(int hi_score); int load_hiscore(); private: std::string FILE_NAME = "\\lamertetris.txt"; std::string HOME = "HOMEPATH"; }; #endif //HISCORE_H