The images for my reactions to your bad code are now up. Went with a more 'pixel video' look than a pixel art hand drawn thing.
This commit is contained in:
parent
581e5b4a60
commit
e1c667d816
12 changed files with 40 additions and 36 deletions
9
gui.hpp
9
gui.hpp
|
@ -12,22 +12,23 @@ class GUI {
|
|||
std::vector<string> _lines;
|
||||
|
||||
SoundQuip you_died_sound;
|
||||
SoundQuip build_works_sound;
|
||||
SoundQuip build_success_sound;
|
||||
SoundQuip build_failed_sound;
|
||||
SoundQuip building_sound;
|
||||
SFMLBackend &gui;
|
||||
|
||||
public:
|
||||
|
||||
GUI();
|
||||
GUI(SFMLBackend &backend);
|
||||
|
||||
// prevent copy
|
||||
GUI(GUI &g) = delete;
|
||||
|
||||
void output(const string msg);
|
||||
|
||||
void main_loop(SFMLBackend &backend);
|
||||
void main_loop();
|
||||
|
||||
void build_works();
|
||||
void build_success();
|
||||
void build_failed(bool play_sound, const string &command);
|
||||
void you_died();
|
||||
void building();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue