mirror of
https://github.com/jorio/Pomme.git
synced 2024-06-28 22:29:37 +00:00
25 lines
367 B
C++
25 lines
367 B
C++
#pragma once
|
|
|
|
namespace Pomme
|
|
{
|
|
// Throw this exception to interrupt the game's main loop
|
|
class QuitRequest : public std::exception
|
|
{
|
|
public:
|
|
virtual const char* what() const noexcept;
|
|
};
|
|
|
|
struct InitParams
|
|
{
|
|
const char* windowName;
|
|
int windowWidth;
|
|
int windowHeight;
|
|
int msaaSamples;
|
|
};
|
|
|
|
void Init(const InitParams& params);
|
|
|
|
void Shutdown();
|
|
}
|
|
|