| 71 | } |
| 72 | |
| 73 | float CConsole::CResult::GetFloat(unsigned Index) const |
| 74 | { |
| 75 | if(Index >= m_NumArgs) |
| 76 | return 0.0f; |
| 77 | float Out; |
| 78 | return str_tofloat(m_apArgs[Index], &Out) ? Out : 0.0f; |
| 79 | } |
| 80 | |
| 81 | ColorHSLA CConsole::CResult::GetColor(unsigned Index, float DarkestLighting) const |
| 82 | { |
no test coverage detected