mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00

* Update all CMakeLists of extensions to use clang-format * Run clang-format on all Extensions * Update GDCore CMakeLists.txt to add clang-format * Run clang-format on GDCore files * Update GDJS and GDCpp CMakeLists.txt to add clang-format * Run clang-format on GDCpp and GDJS files
37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
/*
|
|
* GDevelop Core
|
|
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights
|
|
* reserved. This project is released under the MIT License.
|
|
*/
|
|
#include "AllBuiltinExtensions.h"
|
|
#include "GDCore/Tools/Localization.h"
|
|
|
|
using namespace std;
|
|
namespace gd {
|
|
|
|
void GD_CORE_API BuiltinExtensionsImplementer::ImplementsAdvancedExtension(
|
|
gd::PlatformExtension& extension) {
|
|
extension.SetExtensionInformation(
|
|
"BuiltinAdvanced",
|
|
_("Advanced control features"),
|
|
_("Built-in extension providing advanced control features."),
|
|
"Florian Rival",
|
|
"Open source (MIT License)");
|
|
|
|
#if defined(GD_IDE_ONLY)
|
|
extension
|
|
.AddCondition("Toujours",
|
|
_("Always"),
|
|
_("This condition always returns true (or always false, if "
|
|
"the condition is inverted)."),
|
|
_("Always"),
|
|
_("Other"),
|
|
"res/conditions/toujours24.png",
|
|
"res/conditions/toujours.png")
|
|
.AddCodeOnlyParameter("conditionInverted", "")
|
|
.MarkAsAdvanced();
|
|
#endif
|
|
}
|
|
|
|
} // namespace gd
|