the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 20 lines 433 B view raw
1#pragma once 2#include "AbstractContainerScreen.h" 3class Player; 4class Button; 5 6class InventoryScreen : public AbstractContainerScreen 7{ 8public: 9 InventoryScreen(shared_ptr<Player> player); 10 virtual void init(); 11protected: 12 virtual void renderLabels(); 13private: 14 float xMouse, yMouse; 15public: 16 virtual void render(int xm, int ym, float a); 17protected: 18 virtual void renderBg(float a); 19 virtual void buttonClicked(Button *button); 20};