Searched refs:CONSOLE_LINELENGTH (Results 1 – 5 of 5) sorted by relevance
/dports/games/cake/cake_src/cake/ |
H A D | console.cpp | 155 char tmp[CONSOLE_LINELENGTH]; in GetContent() 366 char buffer[CONSOLE_LINELENGTH] = { '\0' }; in Insert() 381 char final[CONSOLE_LINELENGTH] = { '\0' }; in Insert() 413 memset(final, '\0', CONSOLE_LINELENGTH); in Insert() 466 if (l >= CONSOLE_LINELENGTH) in Insert() 467 final[CONSOLE_LINELENGTH-1] = '\0'; in Insert() 503 char buffer[CONSOLE_LINELENGTH] = { '\0' }; in Insertln() 621 char buffer[CONSOLE_LINELENGTH] = { '\0' }; in SetCurrentCommand() 718 if ((l = (int) strlen(buffer)) < CONSOLE_LINELENGTH-1) strncat(buffer, s, CONSOLE_LINELENGTH-l-1); in AddToLastMessageLine() 964 memset(title, '\0', CONSOLE_LINELENGTH); in SetTitle() [all …]
|
H A D | console.h | 42 C_EXTREM_LEFT = -(CONSOLE_LINELENGTH+1), /**< go to extrem left */ 43 C_EXTREM_RIGHT = CONSOLE_LINELENGTH+1 /**< go to extrem right */ 52 char buffer[CONSOLE_LINELENGTH]; 55 char content[CONSOLE_LINELENGTH]; /**< Line content. */ 125 char MessageLines[C_NMESSAGELINES][CONSOLE_LINELENGTH]; /**< console lines */ 166 char title[CONSOLE_LINELENGTH];
|
H A D | definitions.h | 40 #define CONSOLE_LINELENGTH 4096 /**< Maximum length for a console line */ macro 41 #define COMMAND_LINELENGTH CONSOLE_LINELENGTH
|
H A D | commands.cpp | 104 …r (int i = 0; i < NbrAllocatedHistLines; ++i) memset(CommandsHistory[i], '\0', CONSOLE_LINELENGTH); in Commands() 617 memset(CommandsHistory[NbrCommHistLines-1], '\0', CONSOLE_LINELENGTH); in AddToCommHistory() 618 strncpy(CommandsHistory[NbrCommHistLines-1], s, CONSOLE_LINELENGTH); in AddToCommHistory()
|
/dports/games/cake/cake_src/ |
H A D | main.cpp | 250 char ConsoleBufferCommand[CONSOLE_LINELENGTH]; in Keyboard() 251 strncpy(ConsoleBufferCommand, gConsole->GetCurrentCommand(), CONSOLE_LINELENGTH); in Keyboard()
|