ğ
may be made up of 2 bytes Console()->Register("team0mode", "?i['0'|'1']", CFGFLAG_CHAT | CFGFLAG_SERVER, ConTeam0Mode, this, "Toggle team between team 0 and team mode. This mode will make your team behave like team 0.");
// Important to only set a new team here, don't remove from an existing
// team since a newly joined player does by definition not have an old team
// to remove from. Doing so would destroy the count in m_MembersCount.
⸻
if
causes the assert to stop falsely flagging? (edited)if
causes the assert to stop falsely flagging? (edited)dbg_assert(false, "message")
in cases that always failTYPE_SAVE
though bool CreateFolder(const char *pFoldername, int Type) override
{
if(Type >= TYPE_SAVE && Type < m_NumPaths) // How does this do anything
dbg_assert(Type >= TYPE_SAVE && Type < m_NumPaths, "Type invalid");
char aBuffer[IO_MAX_PATH_LENGTH];
GetPath(Type, pFoldername, aBuffer, sizeof(aBuffer));
bool Success = !fs_makedir(aBuffer);
if(!Success)
dbg_msg("storage", "failed to create folder: %s", aBuffer);
return Success;
}
const char *GetPath(int Type, const char *pDir, char *pBuffer, unsigned BufferSize)
{
if(Type == TYPE_ABSOLUTE)
{
str_copy(pBuffer, pDir, BufferSize);
}
else
{
str_format(pBuffer, BufferSize, "%s%s%s", m_aaStoragePaths[Type], !m_aaStoragePaths[Type][0] ? "" : "/", pDir);
}
return pBuffer;
}
TYPE_ABSOLUTE
maybe, since creating folders in absolute locations might be wantedGetPath
functionTYPE_ALL
is would result in an out-of-bounds accesscl_limit_max_zoom_level
hehecmake
not installed?" (it is but i think its on a different drive so)audiopus_sys v0.2.2
wont workkkkk --no-default-features