Skip to content

Instantly share code, notes, and snippets.

#include "App.h"
#include "glad/glad.h"
#include <stb_image.h>
#include <stdio.h>
#include "Camera.h"
#include "imgui/imgui.h"
#include "imgui/imgui_impl_sdl.h"
#include "imgui/imgui_impl_opengl3.h"
#include "SDL/SDL.h"
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#include "GeoEditorEdMode.h"
#include "GeoEditorEdModeToolkit.h"
#include "GeoEditorCommands.h"
#include "Toolkits/ToolkitManager.h"
#include "Engine/Selection.h"
#include "EditorModeManager.h"
const FEditorModeID FGeoEditorEdMode::EM_GeoEditorEdModeId = TEXT("EM_GeoEditorEdMode");
#include "../Public/GeoEditorCommands.h"
#define LOCTEXT_NAMESPACE "MeshToolEditCommands"
void FGeoEditorCommands::RegisterCommands()
{
UI_COMMAND(AlignBrushVerticesToGrid, "Align Brush To Grid", "Align Vertices To Grid", EUserInterfaceActionType::Button, FInputChord(EModifierKey::Control, EKeys::G));
}
#undef LOCTEXT_NAMESPACE
#pragma once
#include "Framework/Commands/Commands.h"
#define LOCTEXT_NAMESPACE "GeoEditorCommands"
class FGeoEditorCommands : public TCommands<FGeoEditorCommands>
{
public:
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "EdMode.h"
class FGeoEditorEdMode : public FEdMode
{
public:
#pragma once
#include "Framework/Commands/Commands.h"
#define LOCTEXT_NAMESPACE "GeoEditorCommands"
class FGeoEditorCommands : public TCommands<FGeoEditorCommands>
{
public:
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#include "GeoEditorEdMode.h"
#include "GeoEditorEdModeToolkit.h"
#include "GeoEditorCommands.h"
#include "Toolkits/ToolkitManager.h"
#include "Engine/Selection.h"
#include "EditorModeManager.h"
const FEditorModeID FGeoEditorEdMode::EM_GeoEditorEdModeId = TEXT("EM_GeoEditorEdMode");
@jkinz3
jkinz3 / PortChar.h
Last active February 9, 2017 23:52
//==============================================================================//
/* //Copyright 2016 John Kinzel
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
//==============================================================================//
/* //Copyright 2016 John Kinzel
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
** Executing...
** Command: "G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vbsp.exe"
** Parameters: -game "G:\SourceMods\Portfolio\sp\game\mod_episodic" "G:\SourceMods\Portfolio\sp\game\mod_episodic\maps\OneRoomApartment.vmf"
Valve Software - vbsp.exe (Jun 12 2014)
4 threads
materialPath: G:\SourceMods\Portfolio\sp\game\mod_episodic\materials
Loading G:\SourceMods\Portfolio\sp\game\mod_episodic\maps\OneRoomApartment.vmf
Could not locate 'GameData' key in g:\sourcemods\portfolio\sp\game\mod_episodic\gameinfo.txt