Remvoe redundancy
This commit is contained in:
parent
d366dd84cd
commit
e50d295c87
@ -29,7 +29,6 @@ static PtrVector<UserConfigParam, REF> all_params;
|
||||
// X-macros
|
||||
#define PARAM_PREFIX
|
||||
#define PARAM_DEFAULT(X) = X
|
||||
|
||||
#include "config/user_config.hpp"
|
||||
|
||||
#include "config/saved_grand_prix.hpp"
|
||||
|
@ -183,7 +183,6 @@ public:
|
||||
return m_elements[key];
|
||||
}
|
||||
}; // ListUserConfigParam
|
||||
typedef MapUserConfigParam<const char*, const char*> StringToStringUserConfigParam;
|
||||
typedef MapUserConfigParam<int, int> IntToIntUserConfigParam;
|
||||
// ============================================================================
|
||||
class IntUserConfigParam : public UserConfigParam
|
||||
@ -418,10 +417,6 @@ namespace UserConfigParams
|
||||
PARAM_PREFIX StringUserConfigParam m_last_used_kart_group
|
||||
PARAM_DEFAULT( StringUserConfigParam("all", "last_kart_group",
|
||||
"Last selected kart group") );
|
||||
// ---- Gamemode setup
|
||||
|
||||
|
||||
|
||||
|
||||
// ---- Wiimote data
|
||||
PARAM_PREFIX GroupUserConfigParam m_wiimote_group
|
||||
@ -758,12 +753,15 @@ namespace UserConfigParams
|
||||
"stun.voxalot.com",
|
||||
"stun.voxgratia.org",
|
||||
"stun.xten.com") );
|
||||
|
||||
// ---- Gamemode setup
|
||||
PARAM_PREFIX IntToIntUserConfigParam m_karts_per_gamemode
|
||||
PARAM_DEFAULT(IntToIntUserConfigParam("karts_per_gamemode",
|
||||
"The Number of karts per gamemode.",
|
||||
1,
|
||||
std::make_pair(1100, 4)
|
||||
));
|
||||
|
||||
PARAM_PREFIX BoolUserConfigParam m_log_packets
|
||||
PARAM_DEFAULT( BoolUserConfigParam(false, "log-network-packets",
|
||||
"If all network packets should be logged") );
|
||||
|
Loading…
Reference in New Issue
Block a user