Rename to septadrop
This commit is contained in:
parent
186fb78a0b
commit
4ed0a1a841
5 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
set(ProjectName "elnutris")
|
set(ProjectName "septadrop")
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.10)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
set(CMAKE_CXX_STANDARD 20)
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# elnutris
|
# septadrop
|
||||||
|
|
||||||
A Tetris clone made in C++ and [SFML](https://www.sfml-dev.org/).
|
A Tetris clone made in C++ and [SFML](https://www.sfml-dev.org/).
|
||||||
|
|
||||||
|
|
|
@ -16,5 +16,5 @@ To compile and run:
|
||||||
|
|
||||||
To run:
|
To run:
|
||||||
```
|
```
|
||||||
./elnutris
|
./septadrop
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
./build.sh
|
./build.sh
|
||||||
./elnutris
|
./septadrop
|
|
@ -29,7 +29,7 @@ int main()
|
||||||
{
|
{
|
||||||
srand(time(NULL));
|
srand(time(NULL));
|
||||||
|
|
||||||
sf::RenderWindow window(sf::VideoMode(WINDOW_WIDTH, WINDOW_HEIGHT), "elnutris", sf::Style::Close);
|
sf::RenderWindow window(sf::VideoMode(WINDOW_WIDTH, WINDOW_HEIGHT), "septadrop", sf::Style::Close);
|
||||||
window.setFramerateLimit(60);
|
window.setFramerateLimit(60);
|
||||||
window.setKeyRepeatEnabled(false); // prevent keys from retriggering when held
|
window.setKeyRepeatEnabled(false); // prevent keys from retriggering when held
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ int main()
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string highscore_file_path = homedir;
|
std::string highscore_file_path = homedir;
|
||||||
highscore_file_path += "/.elnutris";
|
highscore_file_path += "/.septadrop";
|
||||||
|
|
||||||
if (!std::filesystem::exists(highscore_file_path)) {
|
if (!std::filesystem::exists(highscore_file_path)) {
|
||||||
std::ofstream highscore_file(highscore_file_path);
|
std::ofstream highscore_file(highscore_file_path);
|
||||||
|
|
Loading…
Add table
Reference in a new issue