Home
last modified time | relevance | path

Searched refs:COMMAND_HISTORY (Results 1 – 25 of 92) sorted by relevance

1234

/dports/games/dhewm3/dhewm3-1.5.1/neo/sys/posix/
H A Dposix_main.cpp52 #define COMMAND_HISTORY 64 macro
59 static idStr history[ COMMAND_HISTORY ]; // cycle buffer
259 for ( int i = 0; i < COMMAND_HISTORY; i++ ) { in Posix_Shutdown()
670 if ( history_count < COMMAND_HISTORY ) { in Sys_ConsoleInput()
676 history_start %= COMMAND_HISTORY; in Sys_ConsoleInput()
798 history_current = Min( COMMAND_HISTORY, history_count ); in Sys_ConsoleInput()
800 history_current %= Min( COMMAND_HISTORY, history_count ) + 1; in Sys_ConsoleInput()
806 index = history_start + Min( COMMAND_HISTORY, history_count ) - history_current; in Sys_ConsoleInput()
807 index %= COMMAND_HISTORY; in Sys_ConsoleInput()
808 assert( index >= 0 && index < COMMAND_HISTORY ); in Sys_ConsoleInput()
/dports/games/dhewm3/dhewm3-1.5.1/neo/framework/
H A DConsole.cpp55 #define COMMAND_HISTORY 64 macro
121 idEditField historyEditLines[COMMAND_HISTORY];
386 for ( i = 0 ; i < COMMAND_HISTORY ; i++ ) { in Init()
526 for ( int i=0; i < COMMAND_HISTORY; ++i ) { in SaveHistory()
528 int line = (nextHistoryLine + i) % COMMAND_HISTORY; in SaveHistory()
544 for ( int i=0; i < COMMAND_HISTORY; ++i ) { in LoadHistory()
638 … historyEditLines[(nextHistoryLine + COMMAND_HISTORY - 1) % COMMAND_HISTORY].GetBuffer()) != 0 ) in KeyDownEvent()
640 historyEditLines[nextHistoryLine % COMMAND_HISTORY] = consoleField; in KeyDownEvent()
646 historyEditLines[nextHistoryLine % COMMAND_HISTORY].Clear(); in KeyDownEvent()
670 consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in KeyDownEvent()
[all …]
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/client/
H A Dcl_keys.c31 field_t historyEditLines[COMMAND_HISTORY];
515 historyEditLines[nextHistoryLine % COMMAND_HISTORY] = g_consoleField; in Console_Key()
542 if ( nextHistoryLine - historyLine < COMMAND_HISTORY in Console_Key()
546 g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in Console_Key()
559 g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in Console_Key()
1326 for( i = COMMAND_HISTORY - 1; i >= 0; i-- ) in CL_LoadConsoleHistory()
1358 for( i = numLines; i < COMMAND_HISTORY; i++ ) in CL_LoadConsoleHistory()
1379 i = ( nextHistoryLine - 1 ) % COMMAND_HISTORY; in CL_SaveConsoleHistory()
1402 i = ( i - 1 + COMMAND_HISTORY ) % COMMAND_HISTORY; in CL_SaveConsoleHistory()
1404 while( i != ( nextHistoryLine - 1 ) % COMMAND_HISTORY ); in CL_SaveConsoleHistory()
H A Dkeys.h42 #define COMMAND_HISTORY 32 macro
43 extern field_t historyEditLines[COMMAND_HISTORY];
/dports/games/openarena/openarena-engine-source-0.8.8/code/client/
H A Dcl_keys.c30 field_t historyEditLines[COMMAND_HISTORY];
619 historyEditLines[nextHistoryLine % COMMAND_HISTORY] = g_consoleField; in Console_Key()
646 if ( nextHistoryLine - historyLine < COMMAND_HISTORY in Console_Key()
650 g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in Console_Key()
663 g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in Console_Key()
1428 for( i = COMMAND_HISTORY - 1; i >= 0; i-- ) in CL_LoadConsoleHistory()
1460 for( i = numLines; i < COMMAND_HISTORY; i++ ) in CL_LoadConsoleHistory()
1487 i = ( nextHistoryLine - 1 ) % COMMAND_HISTORY; in CL_SaveConsoleHistory()
1510 i = ( i - 1 + COMMAND_HISTORY ) % COMMAND_HISTORY; in CL_SaveConsoleHistory()
1512 while( i != ( nextHistoryLine - 1 ) % COMMAND_HISTORY ); in CL_SaveConsoleHistory()
H A Dkeys.h39 #define COMMAND_HISTORY 32 macro
40 extern field_t historyEditLines[COMMAND_HISTORY];
/dports/games/openarena-server/openarena-engine-source-0.8.8/code/client/
H A Dcl_keys.c30 field_t historyEditLines[COMMAND_HISTORY];
619 historyEditLines[nextHistoryLine % COMMAND_HISTORY] = g_consoleField; in Console_Key()
646 if ( nextHistoryLine - historyLine < COMMAND_HISTORY in Console_Key()
650 g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in Console_Key()
663 g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in Console_Key()
1428 for( i = COMMAND_HISTORY - 1; i >= 0; i-- ) in CL_LoadConsoleHistory()
1460 for( i = numLines; i < COMMAND_HISTORY; i++ ) in CL_LoadConsoleHistory()
1487 i = ( nextHistoryLine - 1 ) % COMMAND_HISTORY; in CL_SaveConsoleHistory()
1510 i = ( i - 1 + COMMAND_HISTORY ) % COMMAND_HISTORY; in CL_SaveConsoleHistory()
1512 while( i != ( nextHistoryLine - 1 ) % COMMAND_HISTORY ); in CL_SaveConsoleHistory()
H A Dkeys.h39 #define COMMAND_HISTORY 32 macro
40 extern field_t historyEditLines[COMMAND_HISTORY];
/dports/games/iortcw/iortcw-1.51c/MP/code/client/
H A Dkeys.h47 #define COMMAND_HISTORY 32 macro
48 extern field_t historyEditLines[COMMAND_HISTORY];
/dports/games/iortcw/iortcw-1.51c/SP/code/client/
H A Dkeys.h47 #define COMMAND_HISTORY 32 macro
48 extern field_t historyEditLines[COMMAND_HISTORY];
/dports/games/ioquake3/ioquake3-1.36/code/client/
H A Dkeys.h39 #define COMMAND_HISTORY 32 macro
40 extern field_t historyEditLines[COMMAND_HISTORY];
H A Dcl_keys.c30 field_t historyEditLines[COMMAND_HISTORY];
614 historyEditLines[nextHistoryLine % COMMAND_HISTORY] = g_consoleField; in Console_Key()
641 if ( nextHistoryLine - historyLine < COMMAND_HISTORY in Console_Key()
645 g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in Console_Key()
658 g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in Console_Key()
1449 for( i = COMMAND_HISTORY - 1; i >= 0; i-- ) in CL_LoadConsoleHistory()
1481 for( i = numLines; i < COMMAND_HISTORY; i++ ) in CL_LoadConsoleHistory()
1508 i = ( nextHistoryLine - 1 ) % COMMAND_HISTORY; in CL_SaveConsoleHistory()
1531 i = ( i - 1 + COMMAND_HISTORY ) % COMMAND_HISTORY; in CL_SaveConsoleHistory()
1533 while( i != ( nextHistoryLine - 1 ) % COMMAND_HISTORY ); in CL_SaveConsoleHistory()
/dports/games/ioquake3-server/ioquake3-1.36/code/client/
H A Dkeys.h39 #define COMMAND_HISTORY 32 macro
40 extern field_t historyEditLines[COMMAND_HISTORY];
H A Dcl_keys.c30 field_t historyEditLines[COMMAND_HISTORY];
614 historyEditLines[nextHistoryLine % COMMAND_HISTORY] = g_consoleField; in Console_Key()
641 if ( nextHistoryLine - historyLine < COMMAND_HISTORY in Console_Key()
645 g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in Console_Key()
658 g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in Console_Key()
1449 for( i = COMMAND_HISTORY - 1; i >= 0; i-- ) in CL_LoadConsoleHistory()
1481 for( i = numLines; i < COMMAND_HISTORY; i++ ) in CL_LoadConsoleHistory()
1508 i = ( nextHistoryLine - 1 ) % COMMAND_HISTORY; in CL_SaveConsoleHistory()
1531 i = ( i - 1 + COMMAND_HISTORY ) % COMMAND_HISTORY; in CL_SaveConsoleHistory()
1533 while( i != ( nextHistoryLine - 1 ) % COMMAND_HISTORY ); in CL_SaveConsoleHistory()
/dports/games/evq3/evq3/code/client/
H A Dkeys.h39 #define COMMAND_HISTORY 32 macro
40 extern field_t historyEditLines[COMMAND_HISTORY];
H A Dcl_keys.c30 field_t historyEditLines[COMMAND_HISTORY];
614 historyEditLines[nextHistoryLine % COMMAND_HISTORY] = g_consoleField; in Console_Key()
641 if ( nextHistoryLine - historyLine < COMMAND_HISTORY in Console_Key()
645 g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in Console_Key()
658 g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in Console_Key()
1426 for( i = COMMAND_HISTORY - 1; i >= 0; i-- ) in CL_LoadConsoleHistory()
1458 for( i = numLines; i < COMMAND_HISTORY; i++ ) in CL_LoadConsoleHistory()
1485 i = ( nextHistoryLine - 1 ) % COMMAND_HISTORY; in CL_SaveConsoleHistory()
1508 i = ( i - 1 + COMMAND_HISTORY ) % COMMAND_HISTORY; in CL_SaveConsoleHistory()
1510 while( i != ( nextHistoryLine - 1 ) % COMMAND_HISTORY ); in CL_SaveConsoleHistory()
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/client/
H A Dkeys.h39 #define COMMAND_HISTORY 32 macro
40 extern field_t historyEditLines[COMMAND_HISTORY];
H A Dcl_keys.c30 field_t historyEditLines[COMMAND_HISTORY];
614 historyEditLines[nextHistoryLine % COMMAND_HISTORY] = g_consoleField; in Console_Key()
641 if ( nextHistoryLine - historyLine < COMMAND_HISTORY in Console_Key()
645 g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in Console_Key()
658 g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ]; in Console_Key()
1426 for( i = COMMAND_HISTORY - 1; i >= 0; i-- ) in CL_LoadConsoleHistory()
1458 for( i = numLines; i < COMMAND_HISTORY; i++ ) in CL_LoadConsoleHistory()
1485 i = ( nextHistoryLine - 1 ) % COMMAND_HISTORY; in CL_SaveConsoleHistory()
1508 i = ( i - 1 + COMMAND_HISTORY ) % COMMAND_HISTORY; in CL_SaveConsoleHistory()
1510 while( i != ( nextHistoryLine - 1 ) % COMMAND_HISTORY ); in CL_SaveConsoleHistory()
/dports/games/dhewm3/dhewm3-1.5.1/neo/sys/win32/
H A Dwin_syscon.cpp57 #define COMMAND_HISTORY 64 macro
89 idEditField historyEditLines[COMMAND_HISTORY];
218 if ( s_wcd.nextHistoryLine - s_wcd.historyLine < COMMAND_HISTORY && s_wcd.historyLine > 0 ) {
221 s_wcd.consoleField = s_wcd.historyEditLines[ s_wcd.historyLine % COMMAND_HISTORY ];
233 s_wcd.consoleField = s_wcd.historyEditLines[ s_wcd.historyLine % COMMAND_HISTORY ];
257 s_wcd.historyEditLines[s_wcd.nextHistoryLine % COMMAND_HISTORY] = s_wcd.consoleField;
419 for ( i = 0 ; i < COMMAND_HISTORY ; i++ ) {
/dports/mail/claws-mail-vcalendar/claws-mail-3.18.0/src/common/
H A Ddefs.h109 # define COMMAND_HISTORY "command_history_win" macro
114 # define COMMAND_HISTORY "command_history" macro
/dports/mail/claws-mail-pgp/claws-mail-3.18.0/src/common/
H A Ddefs.h109 # define COMMAND_HISTORY "command_history_win" macro
114 # define COMMAND_HISTORY "command_history" macro
/dports/mail/claws-mail-rssyl/claws-mail-3.18.0/src/common/
H A Ddefs.h109 # define COMMAND_HISTORY "command_history_win" macro
114 # define COMMAND_HISTORY "command_history" macro
/dports/mail/claws-mail-notification/claws-mail-3.18.0/src/common/
H A Ddefs.h109 # define COMMAND_HISTORY "command_history_win" macro
114 # define COMMAND_HISTORY "command_history" macro
/dports/mail/claws-mail-perl/claws-mail-3.18.0/src/common/
H A Ddefs.h109 # define COMMAND_HISTORY "command_history_win" macro
114 # define COMMAND_HISTORY "command_history" macro
/dports/mail/claws-mail-spam_report/claws-mail-3.18.0/src/common/
H A Ddefs.h109 # define COMMAND_HISTORY "command_history_win" macro
114 # define COMMAND_HISTORY "command_history" macro

1234