Add Mac platform
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#include "Android/AndroidGame.h"
|
||||
#elif PLATFORM_SWITCH
|
||||
#include "Platforms/Switch/Engine/Engine/SwitchGame.h"
|
||||
#elif PLATFORM_MAC
|
||||
#include "Mac/MacGame.h"
|
||||
#else
|
||||
#error Missing Game implementation!
|
||||
#endif
|
||||
|
||||
19
Source/Engine/Engine/Mac/MacGame.h
Normal file
19
Source/Engine/Engine/Mac/MacGame.h
Normal file
@@ -0,0 +1,19 @@
|
||||
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#if PLATFORM_MAC && !USE_EDITOR
|
||||
|
||||
#include "../Base/GameBase.h"
|
||||
|
||||
/// <summary>
|
||||
/// The game class implementation for Mac platform.
|
||||
/// </summary>
|
||||
/// <seealso cref="Game" />
|
||||
class MacGame : public GameBase
|
||||
{
|
||||
};
|
||||
|
||||
typedef MacGame Game;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user