




ye that's a good idea


CMassFileLoader FileLoader(client->m_pStorage, IMassFileLoader::LOAD_FLAGS_ABSOLUTE_PATH);
FileLoader.SetOperationFailedCallback([](IMassFileLoader::LOAD_ERROR Error, const void *pUser) -> bool {
char Message[64];
switch(Error)
{
case IMassFileLoader::LOAD_ERROR_NOT_INIT:
strcpy(Message, "Not init");
break;
case IMassFileLoader::LOAD_ERROR_INVALID_PATH:
strcpy(Message, "Invalid path");
break;
case IMassFileLoader::LOAD_ERROR_DIRECTORY_UNREADABLE:
strcpy(Message, "Directory unreadable");
break;
case IMassFileLoader::LOAD_ERROR_UNWANTED_SYMLINK:
strcpy(Message, "Unwanted symlink");
break;
case IMassFileLoader::LOAD_ERROR_FILE_UNREADABLE:
strcpy(Message, "File unreadable");
break;
case IMassFileLoader::LOAD_ERROR_FILE_TOO_LARGE:
strcpy(Message, "File too large");
break;
case IMassFileLoader::LOAD_ERROR_INVALID_REGEX:
strcpy(Message, "Invalid regex");
break;
case IMassFileLoader::LOAD_ERROR_UNKNOWN:
[[fallthrough]];
default:
strcpy(Message, "Unknown error");
break;
}
dbg_msg("test", "%s", Message);
return false;
});
FileLoader.SetFileLoadedCallback([](const std::string &ItemName, const unsigned char *pData, const unsigned int Size) {
dbg_msg("test", "text file found, %d bytes; '%s'", Size, ItemName.c_str());
});
FileLoader.SetPaths("skins");
FileLoader.SetMatchExpression("\\.[Tt][Xx][Tt]$");
FileLoader.Load(); (edited)2023-06-04 19:12:36 I test: text file found, 1517 bytes; 'license.txt'
2023-06-04 19:12:36 I test: text file found, 2 bytes; 'test.txt' (edited)
STORAGETYPE_BASIC paths are prepended with : and STORAGETYPE_CLIENT paths aren't


logfile "client.log"
logappend 1
I'm not sure if it should be the default.


STORAGETYPE_BASIC paths are prepended with : and STORAGETYPE_CLIENT paths aren't STORAGETYPE_BASIC vs STORAGETYPE_CLIENT?





BASIC is used for tools, it seemsCLIENT for the client











1









Use system proxy settings
















































































gfx_gl_texture_lod_bias
set this to 0 and u should™️ have "normal" mipmapping calculations
lod_bias









































R_b = 2 * R_s * log_2(1 + GSNR * R_s/B_n) this formula really baffles me but it's what's given in the docs for this exercise. R_s is the "symbol-rate of the light-path" and B_n is the noise bandwidth
symbol-rate of the light-path ?

symbol-rate of the light-path ? 



R_b = B log_2(1 + gsnr) but I could not figure out what they are doing here and how it relates for the life of me





























































































3






















2be3ecf Add str_toint64_base - Robyt3
dd3dd4e Add PRIX64 define for MinGW - Robyt3
2359e38 Add CLineInputNumber::GetInteger64/SetInteger64, add prefix - Robyt3
351dc88 Disable resolution list box when popup is open - Robyt3
a5f94ec Allow maximum number of debug dummies - Robyt3
4c80af7 Fix crash when enabling dbg_dummies on running server - Robyt3
68ea55e Move DoValueSelector to UI and refactor - Robyt3
ef217b6 Track updated mouse position in UI instead of menus - Robyt3
938c57e Support mouse position locking in menus UI - Robyt3
e50bd4b Add generic color picker popup to UI, add alpha support - Robyt3
b21e98a Use color picker popup for UI color setting - Robyt3
17c0642 Merge #6711 #6712 - bors[bot]