Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
603 B · 27 lines
C++
at main
123456789101112131415161718192021222324252627#include "stdafx.h"#include "ErrorScreen.h"
ErrorScreen::ErrorScreen(const wstring& title, const wstring& message){ this->title = title; this->message = message;}
void ErrorScreen::init(){}
void ErrorScreen::render(int xm, int ym, float a){ // fill(0, 0, width, height, 0x40000000); fillGradient(0, 0, width, height, 0xff402020, 0xff501010);
drawCenteredString(font, title, width/2, 90, 0xffffff); drawCenteredString(font, message, width/2, 110, 0xffffff);
Screen::render(xm, ym, a);}
void ErrorScreen::keyPressed(wchar_t eventCharacter, int eventKey){}