[BROKEN] This build is totally broken. DONOT USE.
This commit is contained in:
parent
8dc70ad1ed
commit
f3f2e90cd2
15 changed files with 123 additions and 81 deletions
|
@ -1,14 +1,13 @@
|
|||
#include "sfml/backend.hpp"
|
||||
#include "sfml/components.hpp"
|
||||
#include "sfml/sound.hpp"
|
||||
#include "sfml/shaders.hpp"
|
||||
#include "sfml/textures.hpp"
|
||||
#include "guecs.hpp"
|
||||
#include "constants.hpp"
|
||||
#include <fmt/xchar.h>
|
||||
#include <deque>
|
||||
|
||||
constexpr const int WINDOW_WIDTH=300;
|
||||
constexpr const int WINDOW_HEIGHT=400;
|
||||
constexpr const int FRAME_LIMIT=60;
|
||||
constexpr const bool VSYNC=true;
|
||||
|
||||
using std::string, std::wstring;
|
||||
|
||||
|
@ -193,9 +192,8 @@ struct CalculatorUI {
|
|||
};
|
||||
|
||||
int main() {
|
||||
sound::init();
|
||||
shaders::init();
|
||||
textures::init();
|
||||
sfml::Backend backend;
|
||||
guecs::init(&backend);
|
||||
|
||||
sf::RenderWindow window(sf::VideoMode({WINDOW_WIDTH, WINDOW_HEIGHT}), "LEL-GUECS Calculator");
|
||||
window.setFramerateLimit(FRAME_LIMIT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue