MCPcopy Create free account
hub / github.com/ZDoom/Raze / SetDefaultStrings

Function SetDefaultStrings

source/core/gamecontrol.cpp:676–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

674//==========================================================================
675
676void SetDefaultStrings()
677{
678 // Blood hard codes its skill names, so we have to define them manually.
679 if (isBlood())
680 {
681 gSkillNames[0] = "$STILL KICKING";
682 gSkillNames[1] = "$PINK ON THE INSIDE";
683 gSkillNames[2] = "$LIGHTLY BROILED";
684 gSkillNames[3] = "$WELL DONE";
685 gSkillNames[4] = "$EXTRA CRISPY";
686 }
687 // Exhumed has no skills, but we still need a menu with one entry.
688 else if (isExhumed())
689 {
690 gSkillNames[0] = "Default";
691 }
692
693 //Set a few quotes which are used for common handling of a few status messages
694 quoteMgr.InitializeQuote(23, "$MSGON");
695 quoteMgr.InitializeQuote(24, "$MSGOFF");
696 quoteMgr.InitializeQuote(83, "$FOLLOW MODE OFF");
697 quoteMgr.InitializeQuote(84, "$FOLLOW MODE ON");
698 quoteMgr.InitializeQuote(85, "$AUTORUNOFF");
699 quoteMgr.InitializeQuote(86, "$AUTORUNON");
700}
701
702//==========================================================================
703//

Callers 1

RunGameFunction · 0.85

Calls 3

isBloodFunction · 0.85
isExhumedFunction · 0.85
InitializeQuoteMethod · 0.80

Tested by

no test coverage detected