very early prototype of a spaceshooter in SFML
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.hpp 468B

123456789101112131415161718192021
  1. #include <string>
  2. #include <SFML/System.hpp>
  3. #include <SFML/Window.hpp>
  4. #pragma once
  5. namespace Proto4 {
  6. enum class AppState { Game, MainMenu, Exit };
  7. // configuration
  8. const int colorDepth = 32;
  9. const int xResolution = 1150;
  10. const int yResolution = 750;
  11. const float middleX = xResolution / 2;
  12. const float middleY = yResolution / 2;
  13. const std::string gameTitle = "Proto4";
  14. const sf::Time updateTimestep = sf::seconds(0.0004);
  15. }