OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4Game.h File Reference
#include "landscape/C4Scenario.h"
#include "landscape/C4PathFinder.h"
#include "c4group/C4Extra.h"
#include "gui/C4Scoreboard.h"
#include "control/C4PlayerControl.h"
#include "landscape/C4TransferZone.h"
#include <memory>
Include dependency graph for C4Game.h:

Go to the source code of this file.

Classes

class  C4Game
 

Functions

StdStrBuf GetKeyboardInputName (const char *szKeyName, bool fShort=false, int32_t iIndex=0)
 

Variables

C4Game Game
 

Function Documentation

StdStrBuf GetKeyboardInputName ( const char *  szKeyName,
bool  fShort = false,
int32_t  iIndex = 0 
)
inline

Definition at line 299 of file C4Game.h.

References C4KeyboardInput::GetKeyCodeNameByKeyName(), and C4Game::KeyboardInput.

300 {
301  return Game.KeyboardInput.GetKeyCodeNameByKeyName(szKeyName, fShort, iIndex);
302 }
C4Game Game
Definition: C4Globals.cpp:52
StdStrBuf GetKeyCodeNameByKeyName(const char *szKeyName, bool fShort=false, int32_t iIndex=0)
C4KeyboardInput & KeyboardInput
Definition: C4Game.h:98

Here is the call graph for this function:

Variable Documentation

C4Game Game

Definition at line 52 of file C4Globals.cpp.

Referenced by C4Game::Abort(), C4Command::Acquire(), C4MainMenu::ActivateMain(), C4MainMenu::ActivateNewPlayer(), C4MainMenu::ActivateSavegame(), C4PlayerInfoList::AddInfo(), C4Team::AddPlayer(), C4GameSaveRecord::AdjustCore(), C4Network2::AllowJoin(), C4Object::AssignDeath(), C4PlayerInfoList::AssignPlayerIDs(), C4Object::AssignRemoval(), C4PlayerInfoList::AssignTeams(), C4Landscape::P::BlastMaterial2Objects(), C4MouseControl::ButtonUpDragScript(), C4ControlReInitScenario::C4ControlReInitScenario(), C4GameOptionButtons::C4GameOptionButtons(), C4GameOptionsList::C4GameOptionsList(), C4GameOverDlg::C4GameOverDlg(), C4ScenarioSection::C4ScenarioSection(), C4StartupNetDlg::C4StartupNetDlg(), C4Viewport::CalculateZoom(), C4TeamList::CanLocalSeeTeam(), C4GameControl::ChangeToLocal(), C4Playback::Check(), C4GameControlNetwork::CheckCompleteCtrl(), C4Network2::CheckStatusReached(), C4Landscape::P::ChunkOZoom(), C4Application::Clear(), C4Application::ClearCommandLine(), C4Network2Client::ClearGraphs(), C4Player::ClearGraphs(), C4FullScreen::Close(), C4ValueProviderLinear::CompileFunc(), C4Network2Reference::CompileFunc(), C4PlayerInfo::CompileFunc(), C4RoundResults::CompileFunc(), C4Object::CompileFunc(), ConsoleDlgProc(), ConsoleHandleWin32KeyboardMessage(), ConstructionCheck(), C4Object::CreateContents(), C4Network2::CreateDynamic(), C4Network2Client::CreateGraphs(), C4Player::CreateGraphs(), C4Landscape::P::CreateMap(), C4Landscape::P::CreateMapS2(), C4PlayerInfoList::CreateRestoreInfosForJoinedScriptPlayers(), C4GameObjects::CrossCheck(), C4PlayerList::CtrlRemove(), C4GameControl::CtrlTickReached(), C4GameControl::DbgRec(), C4Network2::DeactivateInactiveClients(), DebugLog(), C4AulDebug::DebugStep(), C4GameControlNetwork::DecideControlDelivery(), C4Network2::DeinitLeague(), C4ObjectList::DeleteObjects(), DialogWinProc(), C4Landscape::DigFreeShape(), C4Landscape::P::DigMaterial2Objects(), C4Console::DoHalt(), C4Game::DoKeyboardInput(), C4Network2::DoLobby(), C4PlayerInfoList::DoLocalNonNetworkPlayerInfoUpdate(), C4GUI::Dialog::DoModal(), C4PlayerControl::DoMouseInput(), C4StartupNetDlg::DoOK(), C4Console::DoPlay(), C4MainMenu::DoRefillInternal(), C4Startup::DoStartup(), C4GameControl::DoSyncCheck(), C4UpperBoard::Draw(), C4LoaderScreen::Draw(), C4MessageBoard::Draw(), C4GameMessage::Draw(), C4Viewport::Draw(), C4LandscapeRenderGL::Draw(), C4Landscape::DrawChunks(), C4Landscape::DrawMap(), C4Viewport::DrawOverlay(), C4Object::DrawSelectMark(), C4Viewport::DropFile(), C4Network2::EndVote(), C4GameParameters::EnforceLeagueRules(), C4Startup::EnsureLoaded(), C4ScenarioSection::EnsureTempStore(), C4Player::Evaluate(), C4RoundResults::EvaluateGame(), C4RoundResults::EvaluateLeague(), C4Object::ExecAction(), C4GameControl::ExecControl(), C4GameControl::ExecControlPacket(), C4Object::ExecLife(), C4Object::ExecMovement(), C4Game::ExecObjects(), C4GameControlNetwork::ExecQueuedSyncCtrl(), C4UpperBoard::Execute(), C4Weather::Execute(), C4MusicSystem::Execute(), C4Viewport::Execute(), C4GraphicsSystem::Execute(), C4Landscape::Execute(), C4ValueProviderLinear::Execute(), C4EditCursor::Execute(), C4GameControlNetwork::Execute(), C4ScriptGuiWindowAction::Execute(), C4ApplicationGameTimer::Execute(), C4MouseControl::Execute(), C4GameControl::Execute(), C4Menu::Execute(), C4Player::Execute(), C4PlayerControl::Execute(), C4Network2Stats::ExecuteSecond(), C4PlayerList::FileInUse(), C4Console::FileNew(), C4Console::FileOpen(), C4Console::FileOpenWPlrs(), C4Console::FileRecord(), C4Console::FileSaveAs(), C4Network2::FinalInit(), FindConSiteSpot(), C4Player::FindNewOwner(), C4PlayerInfoList::FindSavegameResumePlayerInfo(), FnPlaceAnimal(), FnPlaceVegetation(), C4ViewportList::FreeScroll(), C4Application::FullScreenMode(), FullScreenWinProc(), C4Player::GainScenarioAchievement(), C4Game::GameOverCheck(), C4Application::GameTick(), C4Network2Players::GetClientChatColor(), C4GameControl::getCtrlTick(), C4ControlVote::getDesc(), C4Team::GetFirstUnjoinedPlayerID(), C4PlayerInfoList::GetFreePlayerSlotCount(), C4GameParameters::GetGameGoalString(), C4ScenarioSection::GetGroupfile(), C4Player::GetInfo(), C4PlayerInfo::GetLobbyColor(), C4Network2Players::GetLocalPlayerInfoPacket(), C4Team::GetNameWithParticipants(), C4GameControl::getNextControlTick(), C4Language::GetPackGroups(), C4PlayerControlAssignmentSet::GetPicture(), C4TeamList::GetScriptPlayerName(), C4MouseControl::GetTargetObject(), C4Player::GetType(), C4Network2::HandleActivateReq(), C4Network2::HandleJoinData(), C4Network2Players::HandlePacket(), C4GameLobby::MainDlg::HandlePacket(), C4Network2Players::HandlePlayerInfo(), C4Network2Players::HandlePlayerInfoUpdRequest(), C4PlayerInfo::HasTeamWon(), C4Team::HasWon(), C4Network2::HostConnect(), C4UpperBoard::Init(), C4Extra::Init(), C4LoaderScreen::Init(), C4Sky::Init(), C4Weather::Init(), C4Network2Players::Init(), C4Viewport::Init(), C4Landscape::Init(), C4StartupGraphics::Init(), C4ScriptGuiWindowAction::Init(), C4GraphicsResource::Init(), C4RoundResults::Init(), C4Player::Init(), C4Player::InitControl(), C4StartupGraphics::InitFonts(), C4GraphicsResource::InitFonts(), C4MusicSystem::InitForScenario(), C4Console::InitGame(), C4Network2::InitHost(), C4Game::InitKeyboard(), C4Network2::InitLeague(), C4Network2Reference::InitLocal(), C4PlayerInfoList::InitLocal(), C4Game::InitMaterialTexture(), C4Network2::InitNetIO(), C4GameControl::InitNetwork(), C4Game::InitPlayers(), C4GameControl::InitReplay(), C4Game::InitScriptEngine(), C4Landscape::P::InitTopAndBottomRowPix(), C4Landscape::InsertDeadMaterial(), C4Landscape::InsertMaterial(), C4AppDelegate::isEditorAndGameRunning, C4Player::IsInvisible(), C4PlayerList::Join(), C4Network2Players::JoinLocalPlayer(), C4PlayerList::JoinNew(), C4StartupMainDlg::KeyEnterDown(), C4StartupMainDlg::KeyEnterUp(), C4Network2::LeagueEnd(), C4Network2::LeagueNotifyDisconnect(), C4Network2::LeaguePlrAuthCheck(), C4Network2::LeagueSignupDisable(), C4Network2::LeagueStart(), C4Network2::LeagueUpdateProcessReply(), C4EditCursor::LeftButtonDown(), C4MouseControl::LeftUpDragNone(), C4DefList::Load(), C4Landscape::Load(), C4GameResList::Load(), C4GameParameters::Load(), C4Game::LoadAdditionalSystemGroup(), C4Extra::LoadDef(), C4GraphicsResource::LoadFile(), C4GameResList::LoadFoldersWithLocalDefs(), C4PlayerInfo::LoadFromLocalFile(), C4PlayerInfo::LoadResource(), C4Player::LoadRuntimeData(), C4Game::LoadScenarioSection(), C4PlayerInfoList::LocalJoinUnjoinedPlayersInQueue(), C4Player::LocalSync(), main(), C4GameLobby::MainDlg::MainDlg(), C4MainMenu::MenuCommand(), C4EditCursor::Move(), C4MouseControl::Move(), C4Command::MoveTo(), C4ObjectInfoList::New(), C4Viewport::NextPlayer(), C4GameOptionButtons::OnBtnLeague(), C4StartupNetDlg::OnBtnRecord(), C4GameOptionButtons::OnBtnRecord(), C4GameLobby::MainDlg::OnClientAddPlayer(), C4Network2::OnClientDisconnect(), C4Network2Players::OnClientPart(), C4AbortGameDialog::OnClosed(), C4GameOverDlg::OnClosed(), C4Application::OnCommand(), C4StartupPlrPropertiesDlg::OnCtrlChangeLeft(), C4StartupPlrPropertiesDlg::OnCtrlChangeRight(), C4Network2::OnGameSynchronized(), C4Application::OnKeyboardLayoutChanged(), C4GameLobby::MainDlg::OnMessage(), C4StartupMainDlg::OnNetJoin(), C4GameLobby::MainDlg::OnReadyCheck(), C4Application::OnResolutionChanged(), C4GameLobby::MainDlg::OnRightTabContext(), C4GameSaveSavegame::OnSaving(), C4GameSec1Timer::OnSec1Timer(), C4GameLobby::Countdown::OnSec1Timer(), C4AbortGameDialog::OnShown(), C4GameOverDlg::OnShown(), C4StartupScenSelDlg::OnShown(), C4Network2::OnStatusAck(), C4Network2Players::OnStatusGoReached(), C4Network2::OnStatusReached(), C4ObjectMenu::OnUserClose(), C4ObjectMenu::OnUserEnter(), C4ObjectMenu::OnUserSelectItem(), C4Playback::Open(), C4Application::OpenGame(), C4Game::OpenScenario(), C4Network2::OpenVoteDialog(), C4Application::ParseCommandLine(), C4Game::Pause(), C4EditCursor::PerformDuplicationLegacy(), C4Player::PlaceReadyBase(), C4Player::PlaceReadyCrew(), C4Player::PlaceReadyMaterial(), C4Player::PlaceReadyVehic(), C4MusicSystem::Play(), C4Landscape::PostInitMap(), C4ControlJoinPlayer::PreExecute(), C4Application::PreInit(), C4Game::PreInit(), C4GameControl::Prepare(), C4PlayerControl::PrepareInput(), C4MessageInput::ProcessCommand(), C4MessageInput::ProcessInput(), PropertyDlgProc(), C4Object::Push(), C4SolidMask::Put(), C4TeamList::ReassignAllTeams(), C4ViewportList::RecalculateViewports(), C4PlayerInfoList::RecheckAutoGeneratedTeams(), C4TeamList::RecheckPlayerInfoTeams(), C4Team::RecheckPlayers(), C4TeamList::RecheckTeams(), C4PlayerInfoList::RecreatePlayerFiles(), C4PlayerInfoList::RecreatePlayers(), C4ObjectInfo::Recruit(), C4GraphicsResource::RegisterMainGroups(), C4PlayerList::Remove(), C4GameControl::RemoveOldSyncChecks(), C4Network2::RequestActivate(), C4PlayerInfoList::ResolvePlayerAttributeConflicts(), C4Object::Resort(), C4GameObjects::ResortUnsorted(), C4PlayerInfoList::RestoreSavegameInfos(), C4ObjectInfo::Retire(), C4Network2::RetrieveScenario(), C4MouseControl::RightUpDragNone(), C4PlayerList::Save(), C4GameSaveSavegame::SaveComponents(), C4GameSaveRecord::SaveComponents(), C4GameSave::SaveDesc(), C4Console::SaveScenario(), C4Player::ScenarioAndTeamInit(), C4Landscape::ScenarioInit(), C4Player::ScenarioInit(), C4ScenarioSection::ScenarioLoad(), C4Network2::SendJoinData(), C4ControlSyncCheck::Set(), C4Client::SetActivated(), C4PlayerInfoList::SetAsRestoreInfos(), C4Player::SetHostility(), C4PlayerInfo::SetJoined(), C4ToolsDlg::SetLandscapeMode(), C4PlayerInfo::SetRemoved(), C4GameControlNetwork::SetRunning(), C4TeamList::SetTeamColors(), C4Player::SetWealth(), C4AppDelegate::simulateKeyPressed:, C4GameLobby::MainDlg::Start(), C4Record::Start(), C4GameControl::StartRecord(), C4StartupScenSelDlg::StartScenario(), C4Record::StartStreaming(), C4Object::StatusDeactivate(), C4Record::Stop(), C4Network2::StreamOut(), C4AppDelegate::suggestQuitting:, C4GameControl::Ticks(), C4MusicSystem::ToggleOnOff(), C4Console::TogglePause(), C4GraphicsSystem::ToggleShow8BitSurface(), C4GraphicsSystem::ToggleShowAction(), C4GraphicsSystem::ToggleShowVertices(), C4Command::Transfer(), C4Game::Unpause(), C4FoWLightSection::Update(), C4Network2ClientListBox::Update(), C4PlayerInfoListBox::Update(), C4Network2ClientList::UpdateClientActivity(), C4MouseControl::UpdateCursorTarget(), C4Console::UpdateNetMenu(), C4PlayerInfoList::UpdatePlayerAttributes(), C4Console::UpdateStatusBars(), C4Network2ClientDlg::UpdateText(), C4FullScreen::ViewportCheck(), C4ViewportList::ViewportNextPlayer(), ViewportWinProc(), C4Network2::Vote(), C4GameSaveRecord::WriteDesc(), C4GameSave::WriteDescDefinitions(), C4GameSave::WriteDescGameTime(), C4GameSave::WriteDescPlayers(), and C4KeyBinding::~C4KeyBinding().