◆ CInstance()
CGameConsole::CInstance::CInstance |
( |
int |
t | ) |
|
◆ ClearBacklog()
void CGameConsole::CInstance::ClearBacklog |
( |
| ) |
|
◆ ClearHistory()
void CGameConsole::CInstance::ClearHistory |
( |
| ) |
|
◆ ClearSearch()
void CGameConsole::CInstance::ClearSearch |
( |
| ) |
|
◆ Dump()
void CGameConsole::CInstance::Dump |
( |
| ) |
|
◆ ExecuteLine()
void CGameConsole::CInstance::ExecuteLine |
( |
const char * |
pLine | ) |
|
◆ GetCommand()
void CGameConsole::CInstance::GetCommand |
( |
const char * |
pInput, |
|
|
char(&) |
aCmd[IConsole::CMDLINE_LENGTH] |
|
) |
| |
Gets the command at the current cursor including surrounding spaces. Commands are split by semicolons.
So if the current console input is for example "hello; world ;foo" ^ and the cursor is here ----------—/ The result would be " world "
- Parameters
-
pInput | the console input line |
aCmd | the command the cursor is at |
◆ GetLinesToScroll()
int CGameConsole::CInstance::GetLinesToScroll |
( |
int |
Direction, |
|
|
int |
LinesToScroll |
|
) |
| |
◆ GetString()
const char * CGameConsole::CInstance::GetString |
( |
| ) |
const |
|
inline |
◆ GUARDED_BY()
◆ Init()
void CGameConsole::CInstance::Init |
( |
CGameConsole * |
pGameConsole | ) |
|
◆ OnInput()
◆ PossibleArgumentsCompleteCallback()
void CGameConsole::CInstance::PossibleArgumentsCompleteCallback |
( |
int |
Index, |
|
|
const char * |
pStr, |
|
|
void * |
pUser |
|
) |
| |
|
static |
◆ PossibleCommandsCompleteCallback()
void CGameConsole::CInstance::PossibleCommandsCompleteCallback |
( |
int |
Index, |
|
|
const char * |
pStr, |
|
|
void * |
pUser |
|
) |
| |
|
static |
◆ PrintLine()
void CGameConsole::CInstance::PrintLine |
( |
const char * |
pLine, |
|
|
int |
Len, |
|
|
ColorRGBA |
PrintColor |
|
) |
| |
◆ PumpBacklogPending()
void CGameConsole::CInstance::PumpBacklogPending |
( |
| ) |
|
◆ Reset()
void CGameConsole::CInstance::Reset |
( |
| ) |
|
◆ ScrollToCenter()
void CGameConsole::CInstance::ScrollToCenter |
( |
int |
StartLine, |
|
|
int |
EndLine |
|
) |
| |
◆ UpdateBacklogTextAttributes()
void CGameConsole::CInstance::UpdateBacklogTextAttributes |
( |
| ) |
|
◆ UpdateEntryTextAttributes()
void CGameConsole::CInstance::UpdateEntryTextAttributes |
( |
CBacklogEntry * |
pEntry | ) |
const |
◆ UpdateSearch()
void CGameConsole::CInstance::UpdateSearch |
( |
| ) |
|
|
private |
◆ CGameConsole
◆ m_aCompletionBuffer
◆ m_aCompletionBufferArgument
◆ m_aCurrentSearchString
◆ m_aUser
char CGameConsole::CInstance::m_aUser[32] |
◆ m_Backlog
◆ m_BacklogCurLine
int CGameConsole::CInstance::m_BacklogCurLine |
◆ m_BacklogLastActiveLine
int CGameConsole::CInstance::m_BacklogLastActiveLine = -1 |
◆ m_BacklogPendingLock
CLock CGameConsole::CInstance::m_BacklogPendingLock |
◆ m_BoundingBox
STextBoundingBox CGameConsole::CInstance::m_BoundingBox = {0.0f, 0.0f, 0.0f, 0.0f} |
◆ m_CompletionArgumentPosition
int CGameConsole::CInstance::m_CompletionArgumentPosition |
◆ m_CompletionChosen
int CGameConsole::CInstance::m_CompletionChosen |
◆ m_CompletionChosenArgument
int CGameConsole::CInstance::m_CompletionChosenArgument |
◆ m_CompletionCommandEnd
int CGameConsole::CInstance::m_CompletionCommandEnd = 0 |
◆ m_CompletionCommandStart
int CGameConsole::CInstance::m_CompletionCommandStart = 0 |
◆ m_CompletionFlagmask
int CGameConsole::CInstance::m_CompletionFlagmask |
◆ m_CompletionRenderOffset
float CGameConsole::CInstance::m_CompletionRenderOffset |
◆ m_CompletionRenderOffsetChange
float CGameConsole::CInstance::m_CompletionRenderOffsetChange |
◆ m_CurrentMatchIndex
int CGameConsole::CInstance::m_CurrentMatchIndex |
◆ m_CurSelEnd
int CGameConsole::CInstance::m_CurSelEnd = 0 |
◆ m_CurSelStart
int CGameConsole::CInstance::m_CurSelStart = 0 |
◆ m_HasSelection
bool CGameConsole::CInstance::m_HasSelection = false |
◆ m_History
◆ m_Input
◆ m_IsCommand
bool CGameConsole::CInstance::m_IsCommand |
◆ m_LastInputHeight
float CGameConsole::CInstance::m_LastInputHeight = 0.0f |
◆ m_LinesRendered
int CGameConsole::CInstance::m_LinesRendered |
◆ m_MouseIsPress
bool CGameConsole::CInstance::m_MouseIsPress = false |
◆ m_MousePress
vec2 CGameConsole::CInstance::m_MousePress = vec2(0.0f, 0.0f) |
◆ m_MouseRelease
vec2 CGameConsole::CInstance::m_MouseRelease = vec2(0.0f, 0.0f) |
◆ m_NewLineCounter
int CGameConsole::CInstance::m_NewLineCounter = 0 |
◆ m_pCommandHelp
const char* CGameConsole::CInstance::m_pCommandHelp |
◆ m_pCommandName
const char* CGameConsole::CInstance::m_pCommandName |
◆ m_pCommandParams
const char* CGameConsole::CInstance::m_pCommandParams |
◆ m_pGameConsole
◆ m_pHistoryEntry
char* CGameConsole::CInstance::m_pHistoryEntry |
◆ m_pName
const char* CGameConsole::CInstance::m_pName |
◆ m_Searching
bool CGameConsole::CInstance::m_Searching = false |
◆ m_Type
int CGameConsole::CInstance::m_Type |
◆ m_UserGot
bool CGameConsole::CInstance::m_UserGot |
◆ m_UsernameReq
bool CGameConsole::CInstance::m_UsernameReq |
◆ m_vSearchMatches
std::vector<SSearchMatch> CGameConsole::CInstance::m_vSearchMatches |
The documentation for this class was generated from the following files: