97a053a540
This is the initial Terrain Gem. In this PR, it doesn't do anything, but it contains all of the initial code, icons, and build scripts for the gem to compile and build successfully. The follow-up PR will contain the first round of functioning code. Also, with the creation of the gem, the TerrainSurfaceDataSystemComponent is getting relocated from the SurfaceData Gem to the Terrain Gem. This should have no impact, as that component has provided no active functionality in o3de. (It will start working again with the initial terrain system code in the next PR) This also adds a couple of null guards to prefab code to prevent AP crashes, and fixed an incorrect service dependency in the VegetationSystemComponent that was exposed by moving the TerrainSurfaceDataSystemComponent. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>
27 lines
649 B
C++
27 lines
649 B
C++
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project.
|
|
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <TerrainModule.h>
|
|
|
|
namespace Terrain
|
|
{
|
|
class EditorTerrainModule
|
|
: public TerrainModule
|
|
{
|
|
public:
|
|
AZ_RTTI(EditorTerrainModule, "{68693F28-7051-4C14-85EA-DE6FD8CFCBD6}", TerrainModule);
|
|
AZ_CLASS_ALLOCATOR(EditorTerrainModule, AZ::SystemAllocator, 0);
|
|
|
|
EditorTerrainModule();
|
|
|
|
AZ::ComponentTypeList GetRequiredSystemComponents() const override;
|
|
};
|
|
}
|