forked from mirror/openmw-tes3mp
Merge pull request #246 from OpenMW/master
Add OpenMW commits up to 24 Jul 2017
This commit is contained in:
commit
3d1458b5a2
2 changed files with 4 additions and 1 deletions
|
@ -153,11 +153,11 @@ void CSMPrefs::State::declare()
|
|||
declareInt ("error-height", "Initial height of the error panel", 100).
|
||||
setRange (100, 10000);
|
||||
declareBool ("highlight-occurrences", "Highlight other occurrences of selected names", true);
|
||||
declareColour ("colour-highlight", "Colour of highlighted occurrences", QColor("lightcyan"));
|
||||
declareSeparator();
|
||||
declareColour ("colour-int", "Highlight Colour: Integer Literals", QColor ("darkmagenta"));
|
||||
declareColour ("colour-float", "Highlight Colour: Float Literals", QColor ("magenta"));
|
||||
declareColour ("colour-name", "Highlight Colour: Names", QColor ("grey"));
|
||||
declareColour ("colour-highlight", "Highlight Colour: Highlighting", QColor("palegreen"));
|
||||
declareColour ("colour-keyword", "Highlight Colour: Keywords", QColor ("red"));
|
||||
declareColour ("colour-special", "Highlight Colour: Special Characters", QColor ("darkorange"));
|
||||
declareColour ("colour-comment", "Highlight Colour: Comments", QColor ("green"));
|
||||
|
|
|
@ -146,6 +146,9 @@ void MWState::StateManager::newGame (bool bypass)
|
|||
MWBase::Environment::get().getWorld()->startNewGame (bypass);
|
||||
|
||||
mState = State_Running;
|
||||
|
||||
MWBase::Environment::get().getWindowManager()->fadeScreenOut(0);
|
||||
MWBase::Environment::get().getWindowManager()->fadeScreenIn(1);
|
||||
}
|
||||
catch (std::exception& e)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue