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.
18 lines
417 B
18 lines
417 B
|
3 weeks ago
|
#pragma once
|
||
|
|
#include <SFML/System/Vector2.hpp>
|
||
|
|
#include <string>
|
||
|
|
#include "constants.hpp"
|
||
|
|
|
||
|
|
struct Options {
|
||
|
|
std::string deck_file{};
|
||
|
|
bool deck_given{false};
|
||
|
|
bool help{false};
|
||
|
|
sf::Vector2u pres_size{WINDOW_WIDTH, WINDOW_HEIGHT};
|
||
|
|
sf::Vector2u control_size{CONTROL_WIDTH, CONTROL_HEIGHT};
|
||
|
|
bool error{false};
|
||
|
|
unsigned short port=9898;
|
||
|
|
};
|
||
|
|
|
||
|
|
void print_usage();
|
||
|
|
Options parse_options(int argc, char* argv[]);
|