| 597 | }; |
| 598 | |
| 599 | PlayerSetupMenu::PlayerSetupMenu( MenuBase* parent, const Sound::SoundEnginePtr& sound_engine, HostCommands& host_commands ) |
| 600 | : MenuBase( parent, sound_engine ) |
| 601 | , settings_( host_commands.GetSettings() ) |
| 602 | { |
| 603 | std::strncpy( |
| 604 | nick_name_, |
| 605 | settings_.GetOrSetString( SettingsKeys::player_name, "n00b" ), |
| 606 | sizeof(nick_name_) ); |
| 607 | |
| 608 | color_= settings_.GetOrSetInt( SettingsKeys::player_color, 0 ); |
| 609 | } |
| 610 | |
| 611 | PlayerSetupMenu::~PlayerSetupMenu() |
| 612 | {} |
nothing calls this directly
no test coverage detected