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.
562 B · 27 lines
C
at main
123456789101112131415161718192021222324252627#pragma once#include "Screen.h"
class NameEntryScreen : public Screen{private: Screen *lastScreen;protected: wstring title;private: int slot; wstring name; int frame;public: NameEntryScreen(Screen *lastScreen, const wstring& oldName, int slot); virtual void init(); virtual void removed(); virtual void tick();protected: virtual void buttonClicked(Button button);private: static const wstring allowedChars;protected: virtual void keyPressed(wchar_t ch, int eventKey);public: virtual void render(int xm, int ym, float a);};