e9a2adc
A Best of Three, M First Try, M pedeuliar - ddnet-mapselse
and let it compare all the way through, but i don't really want to./room 1 ctf
AddGameType
when is this called? Second: Would you ever want to register the same gamecontroller with 2 different names?add_gametype dm;add_gametype ctf
in config, then the rooms can only be dm or ctf, can't be anything else.add_gametype 1v1dm dm sv_player_slots 2
/room 1 1v1dm
and /room 1 dm
are both dm types but with different settings.gamemodes.h
if(false)
do { ... } while(false)
and break out of itdo {} while(false)
seems like it is in the same ballpark as if (false)
CLASS
out with the goto i don't thinkelse
and goto a label after the #undef
do { ... } while(false);
is better, but it only makes your code more crypticfor(int i = 0; i == 0; i ++)
break <n>;
pattern that will break out of n blocksbreak <n>
very much nglfor(;;break)
was a thing.vec2 m_MousePos[NUM_DUMMIES]
and
vec2 m_TargetPos[NUM_DUMMIES]
m_MousePos
changes mouse position, but i dont see any m_TargetPos
changes, even as another playerif (false)
be stupid?