Compare commits
No commits in common. "160eeba0544ec2d10c61c5449331cdd651ba7da0" and "0230e4e1098bbf9d4d28bc6ff4174d1c8051d140" have entirely different histories.
160eeba054
...
0230e4e109
|
@ -1,9 +1,6 @@
|
||||||
#ifndef UC_GODOT_MACROS_H
|
#ifndef UC_GODOT_MACROS_H
|
||||||
#define UC_GODOT_MACROS_H
|
#define UC_GODOT_MACROS_H
|
||||||
|
|
||||||
#include "godot_cpp/classes/engine.hpp"
|
|
||||||
#include "godot_cpp/core/class_db.hpp"
|
|
||||||
|
|
||||||
#define MACRO_STRING_INNER(_Arg) #_Arg
|
#define MACRO_STRING_INNER(_Arg) #_Arg
|
||||||
#define MACRO_STRING(_Arg) MACRO_STRING_INNER(_Arg)
|
#define MACRO_STRING(_Arg) MACRO_STRING_INNER(_Arg)
|
||||||
|
|
||||||
|
@ -31,7 +28,4 @@
|
||||||
|
|
||||||
#define GDRESOURCETYPE(_Class) vformat("%s/%s:%s", Variant::OBJECT, PROPERTY_HINT_RESOURCE_TYPE, #_Class)
|
#define GDRESOURCETYPE(_Class) vformat("%s/%s:%s", Variant::OBJECT, PROPERTY_HINT_RESOURCE_TYPE, #_Class)
|
||||||
|
|
||||||
#define GDEDITORONLY() if(!Engine::get_singleton()->is_editor_hint()) return
|
|
||||||
#define GDGAMEONLY() if(Engine::get_singleton()->is_editor_hint()) return
|
|
||||||
|
|
||||||
#endif // !UC_GODOT_MACROS_H
|
#endif // !UC_GODOT_MACROS_H
|
||||||
|
|
Loading…
Reference in New Issue