the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 81 lines 2.0 kB view raw
1#pragma once 2 3#include "SenClientCulture.h" 4 5namespace Sentient 6{ 7 8//enum 9//{ 10// // Note that these include a terminating nul. 11// SenCulture_DescSizeMax = 80, 12// SenCulture_NameSizeMax = 12, 13//}; 14 15struct SenCultureInfo 16{ 17 wchar_t name[12]; // e.g. { L"en", L"en-CA", L"en-GB", L"" } 18 wchar_t desc[80]; // e.g. L"English (United States)" 19 size_t nameCount; // e.g. 1 20 const SenCultureInfo *parent; 21}; 22 23static SenCultureInfo s_defaultculture; 24 25__declspec(deprecated("This function is deprecated, and should not be used")) 26__inline const wchar_t *SenCultureGetSystemLanguageString() 27{ 28 return L"en"; 29} 30 31__declspec(deprecated("This function is deprecated, and should not be used")) 32__inline const wchar_t *SenCultureGetSystemLocaleString() 33{ 34 return L"US"; 35} 36 37__declspec(deprecated("This function is deprecated, and should not be used")) 38const wchar_t *SenCultureGetSystemCultureString(); 39//{ 40// return L"en-US"; 41//} 42 43__declspec(deprecated("This function is deprecated, and should not be used")) 44__inline const SenCultureInfo *SenCultureFind( const wchar_t *name ) 45{ 46 return &s_defaultculture; 47} 48 49__declspec(deprecated("This function is deprecated, and should not be used")) 50__inline const SenCultureInfo *SenCultureGetParent( const SenCultureInfo *culture ) 51{ 52 return &s_defaultculture; 53} 54 55__declspec(deprecated("This function is deprecated, and should not be used")) 56__inline HRESULT SenCultureSetCurrent( const wchar_t name[] ) 57{ 58 return E_FAIL; 59} 60 61__declspec(deprecated("This function is deprecated, and should not be used")) 62__inline const SenCultureInfo *SenCultureGetCurrent() 63{ 64 return &s_defaultculture; 65} 66 67 68__declspec(deprecated("This function is deprecated, and should not be used")) 69__inline HRESULT SenCultureSetDefault( const wchar_t name[] ) 70{ 71 return E_FAIL; 72} 73 74 75__declspec(deprecated("This function is deprecated, and should not be used")) 76__inline const SenCultureInfo *SenCultureGetDefault() 77{ 78 return &s_defaultculture; 79} 80 81}