mirror of
https://github.com/Relintai/sfw.git
synced 2024-12-20 21:06:49 +01:00
73 lines
1.5 KiB
C++
73 lines
1.5 KiB
C++
//--STRIP
|
|
#ifndef CORE_STRING_NAMES_H
|
|
#define CORE_STRING_NAMES_H
|
|
//--STRIP
|
|
|
|
/*************************************************************************/
|
|
/* core_string_names.h */
|
|
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
|
/*************************************************************************/
|
|
|
|
//--STRIP
|
|
#include "core/string_name.h"
|
|
//--STRIP
|
|
|
|
class CoreStringNames {
|
|
public:
|
|
static void create() { singleton = memnew(CoreStringNames); }
|
|
static void free() {
|
|
memdelete(singleton);
|
|
singleton = nullptr;
|
|
}
|
|
|
|
CoreStringNames();
|
|
|
|
_FORCE_INLINE_ static CoreStringNames *get_singleton() { return singleton; }
|
|
|
|
static CoreStringNames *singleton;
|
|
|
|
StringName _free;
|
|
StringName changed;
|
|
StringName _meta;
|
|
StringName _script;
|
|
StringName script_changed;
|
|
StringName ___pdcdata;
|
|
StringName __getvar;
|
|
StringName _iter_init;
|
|
StringName _iter_next;
|
|
StringName _iter_get;
|
|
StringName get_rid;
|
|
StringName _to_string;
|
|
#ifdef TOOLS_ENABLED
|
|
StringName _sections_unfolded;
|
|
#endif
|
|
StringName _custom_features;
|
|
|
|
StringName x;
|
|
StringName y;
|
|
StringName z;
|
|
StringName w;
|
|
StringName r;
|
|
StringName g;
|
|
StringName b;
|
|
StringName a;
|
|
StringName position;
|
|
StringName size;
|
|
StringName end;
|
|
StringName basis;
|
|
StringName origin;
|
|
StringName normal;
|
|
StringName d;
|
|
StringName h;
|
|
StringName s;
|
|
StringName v;
|
|
StringName r8;
|
|
StringName g8;
|
|
StringName b8;
|
|
StringName a8;
|
|
};
|
|
|
|
//--STRIP
|
|
#endif // SCENE_STRING_NAMES_H
|
|
//--STRIP
|