Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 27, 2010, 2:53:06 PM (14 years ago)
Author:
landauf
Message:

implemented command cache in CommandExecutor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/consolecommands3/src/libraries/core/command/Shell.cc

    r7228 r7229  
    4646    _SetConsoleCommand("debug",   OutputHandler::debug  );
    4747
     48    unsigned int Shell::cacheSize_s;
     49
    4850    Shell::Shell(const std::string& consoleName, bool bScrollable)
    4951        : OutputListener(consoleName)
     
    99101            .callback(this, &Shell::commandHistoryOffsetChanged);
    100102        setConfigValueGeneric(this, &commandHistory_, ConfigFileType::CommandHistory, "Shell", "commandHistory_", std::vector<std::string>());
     103        SetConfigValue(cacheSize_s, 32);
    101104
    102105#ifdef ORXONOX_RELEASE
Note: See TracChangeset for help on using the changeset viewer.