/
Metallist64
/
rbfx
Обзор
Документация
Войти
/
Metallist64
/
rbfx
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Source/Player/Player.cpp
35 строк
877 B
Eugene Kozlov
Make plugins more consistent between static and shared builds. Minor cleanup.
16 фев 2024, 21:48
16 фев 2024, 21:48
a366618
Код
Авторство
О чём код?
// Copyright (c) 2017-2024 the rbfx project. // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT> or the accompanying LICENSE file. #include "PlayerApplication.h" #include <Urho3D/Engine/EngineDefs.h> namespace Urho3D { class PlayerApplicationWithPlugins : public PlayerApplication { public: using PlayerApplication::PlayerApplication; /// Implement PlayerApplication. /// @{ void Setup() override { PlayerApplication::Setup(); engineParameters_[EP_PLUGINS] = ea::string::joined(LinkedPlugins::GetLinkedPlugins(), ";"); LinkedPlugins::RegisterStaticPlugins(); } /// @} }; } #if URHO3D_CSHARP URHO3D_DEFINE_APPLICATION_MAIN_CSHARP(Urho3D::PlayerApplicationWithPlugins); #else URHO3D_DEFINE_APPLICATION_MAIN(Urho3D::PlayerApplicationWithPlugins); #endif