-f config_file.cfg
"sv_register 0" "sv_tournament_mode 1"
"sv_name \"some name\"" "sv_register 1"
'sv_name "some name"'
DDNet-Server [OPTION]... [-f CONFIG_FILE]...
?.adoc
files and then run generate.sh
You need asciidoc package to generate the manpages.
sudo apt install asciidoc
http://asciidoc.org/
Writing plain troff is a pain in the ass.str_comp
if(str_comp(pMsg->m_pMessage, ":hi") == 0)
{
// do stuff
}
#include <string>
at the top of your file?std::string
?fname.c_str()
$ git log --oneline 11.4.4..HEAD | grep -i sound
5ad48da41 Merge pull request #1372 from Ryozuki/pr_fix_windows_sound
d9d3ed783 fix windows sound
657e86990 Handle Tile and Sound layers
void gen_random(char *s, const int len) {
static const char alphanum[] =
"0123456789"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz";
for (int i = 0; i < len; ++i) {
s[i] = alphanum[rand() % (sizeof(alphanum) - 1)];
}
s[len] = 0;
for examples[len-1] = 0
. otherwise, the function looks good name1: name2: hello...g rg.. (any text, no difference)
name2: afk
str_startswith
if(str_startswith(fname.c_str(), pMsg->m_pMessage))
if(str_startswith(pMsg->m_pMessage, fname.c_str()))
if(str_endswith(pMsg->m_pMessage, fname.c_str()))