Skip to content
Snippets Groups Projects
Select Git revision
  • 54667ec4ac2bb8961510b4b35565872335c6b75e
  • master default protected
  • develop protected
  • deprecated/4-22-tdw
  • deprecated/4-22
5 results

CAVELaunchButtonCommands.cpp

Blame
  • Sebastian Pape's avatar
    Sebastian Pape authored
    Implemented the ROLV mode, switched to Unreal CreateProc instead of system, added minimizing and maximizing to the editor
    54667ec4
    History
    CAVELaunchButtonCommands.cpp 612 B
    // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
    
    #include "CAVELaunchButtonCommands.h"
    #include "CAVELaunchButtonSettings.h"
    
    #define LOCTEXT_NAMESPACE "FCAVELaunchButtonModule"
    
    void FCAVELaunchButtonCommands::RegisterCommands()
    {
    	if(GetDefault<UCAVELaunchButtonSettings>()->StartROLVInsteadOfCAVE)
    	{
    		UI_COMMAND(PluginAction, "PlayOnROLV", "Launch current project on ROLV", EUserInterfaceActionType::Button, FInputGesture());
    	}else
    	{
    		UI_COMMAND(PluginAction, "PlayInCAVE", "Launch current project in CAVE", EUserInterfaceActionType::Button, FInputGesture());
    	}
    }
    
    #undef LOCTEXT_NAMESPACE