the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 33 lines 922 B view raw
1#pragma once 2using namespace std; 3#include "Class.h" 4 5class SharedConstants 6{ 7 public: 8 static void staticCtor(); 9 static const wstring VERSION_STRING; 10 static const int NETWORK_PROTOCOL_VERSION = 78; 11 static const bool INGAME_DEBUG_OUTPUT = false; 12 13 // NOT texture resolution. How many sub-blocks each block face is made up of. 14 // 4J Added for texture packs 15 static const int WORLD_RESOLUTION = 16; 16 17 static bool isAllowedChatCharacter(char ch); 18 19 private: 20 static wstring readAcceptableChars(); 21 22 public: 23 static const int maxChatLength = 100; 24 static wstring acceptableLetters; 25 26 static const int ILLEGAL_FILE_CHARACTERS_LENGTH = 15; 27 static const wchar_t ILLEGAL_FILE_CHARACTERS[ILLEGAL_FILE_CHARACTERS_LENGTH]; 28 29 static const bool TEXTURE_LIGHTING; // 4J - change brought forward from 1.8.2 30 static const int TICKS_PER_SECOND = 20; 31 32 static const int FULLBRIGHT_LIGHTVALUE = 15 << 20 | 15 << 4; 33};