Add to include's:
Add directly below the include's:
Code: userinterface.cpp
- #define CRYPT_MACRO(r, d, i, elem) ( elem ^ ( d - i ) )
- #define DEFINE_HIDDEN_STRING(NAME, SEED, SEQ)\
- static const char* BOOST_PP_CAT(Get, NAME)()\
- {\ static char data[] = {\ BOOST_PP_SEQ_ENUM(BOOST_PP_SEQ_FOR_EACH_I(CRYPT_MACRO, SEED, SEQ)),\ '\0'\ };\
- \ static bool isEncrypted = true;\ if ( isEncrypted )\ {\ for (unsigned i = 0; i < ( sizeof(data) / sizeof(data[0]) ) - 1; ++i)\ {\ data[i] = CRYPT_MACRO(_, SEED, i, data[i]);\ }\
- \ isEncrypted = false;\ }\
- \ return data;\
- }
- DEFINE_HIDDEN_STRING(BinName, 0x27, ('m')('e')('t')('i')('n')('2')('.')('e')('x')('e'))
- DEFINE_HIDDEN_STRING(LogBoxText, 0x27, ('D')('O')('-')('N')('O')('T')('-')('E')('D')('I')('T')('-')('N')('A')('M')('E'))
Add Below:
This:
I guess its kinda usefull sometimes