2023-07-21 09:50:06 +00:00
|
|
|
/**
|
|
|
|
* limbo_string_names.h
|
|
|
|
* =============================================================================
|
2024-03-21 20:38:57 +00:00
|
|
|
* Copyright 2021-2024 Serhii Snitsaruk
|
2023-07-21 09:50:06 +00:00
|
|
|
*
|
|
|
|
* Use of this source code is governed by an MIT-style
|
|
|
|
* license that can be found in the LICENSE file or at
|
|
|
|
* https://opensource.org/licenses/MIT.
|
|
|
|
* =============================================================================
|
|
|
|
*/
|
2022-08-28 10:54:34 +00:00
|
|
|
|
|
|
|
#ifndef LIMBO_STRING_NAMES_H
|
|
|
|
#define LIMBO_STRING_NAMES_H
|
|
|
|
|
2024-01-06 20:04:34 +00:00
|
|
|
#ifdef LIMBOAI_MODULE
|
2024-05-01 21:20:17 +00:00
|
|
|
#include "core/string/node_path.h"
|
2022-12-15 07:26:52 +00:00
|
|
|
#include "core/string/string_name.h"
|
2022-08-28 10:54:34 +00:00
|
|
|
#include "core/typedefs.h"
|
2024-01-06 20:04:34 +00:00
|
|
|
#include "modules/register_module_types.h"
|
2024-01-13 16:10:42 +00:00
|
|
|
#endif // LIMBOAI_MODULE
|
2024-01-06 20:04:34 +00:00
|
|
|
|
|
|
|
#ifdef LIMBOAI_GDEXTENSION
|
2024-01-07 05:51:34 +00:00
|
|
|
#include "godot_cpp/variant/string.hpp"
|
2024-05-01 21:20:17 +00:00
|
|
|
#include <godot_cpp/variant/node_path.hpp>
|
2024-01-06 20:04:34 +00:00
|
|
|
#include <godot_cpp/variant/string_name.hpp>
|
|
|
|
using namespace godot;
|
2024-01-13 16:10:42 +00:00
|
|
|
#endif // LIMBOAI_GDEXTENSION
|
2022-08-28 10:54:34 +00:00
|
|
|
|
|
|
|
class LimboStringNames {
|
2022-12-15 07:26:52 +00:00
|
|
|
friend void initialize_limboai_module(ModuleInitializationLevel p_level);
|
|
|
|
friend void uninitialize_limboai_module(ModuleInitializationLevel p_level);
|
2022-08-28 10:54:34 +00:00
|
|
|
|
|
|
|
static LimboStringNames *singleton;
|
|
|
|
|
|
|
|
static void create() { singleton = memnew(LimboStringNames); }
|
|
|
|
static void free() {
|
|
|
|
memdelete(singleton);
|
|
|
|
singleton = nullptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
LimboStringNames();
|
|
|
|
|
|
|
|
public:
|
|
|
|
_FORCE_INLINE_ static LimboStringNames *get_singleton() { return singleton; }
|
|
|
|
|
|
|
|
StringName _enter;
|
|
|
|
StringName _exit;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName _generate_name;
|
2024-01-13 16:10:42 +00:00
|
|
|
StringName _get_configuration_warnings;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName _replace_task;
|
|
|
|
StringName _setup;
|
2022-08-28 10:54:34 +00:00
|
|
|
StringName _tick;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName _update_banners;
|
2024-08-21 15:30:30 +00:00
|
|
|
StringName _update_task_tree;
|
2024-01-06 23:47:46 +00:00
|
|
|
StringName _weight_;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName accent_color;
|
2024-02-08 16:10:31 +00:00
|
|
|
StringName ActionCopy;
|
|
|
|
StringName ActionCut;
|
|
|
|
StringName ActionPaste;
|
2024-03-05 11:58:55 +00:00
|
|
|
StringName active_state_changed;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName add_child_at_index;
|
|
|
|
StringName add_child;
|
2024-01-24 22:11:09 +00:00
|
|
|
StringName Add;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName AnimationFilter;
|
|
|
|
StringName Back;
|
|
|
|
StringName behavior_tree_finished;
|
2024-01-07 01:40:51 +00:00
|
|
|
StringName behavior_tree;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName BehaviorTree;
|
2024-01-07 05:51:34 +00:00
|
|
|
StringName bold;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName BTAlwaysFail;
|
|
|
|
StringName BTAlwaysSucceed;
|
2024-01-24 22:11:09 +00:00
|
|
|
StringName button_down;
|
|
|
|
StringName button_up;
|
2024-01-28 21:25:31 +00:00
|
|
|
StringName call_deferred;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName changed;
|
2024-01-07 12:45:27 +00:00
|
|
|
StringName connect;
|
2024-01-24 22:11:09 +00:00
|
|
|
StringName dark_color_1;
|
|
|
|
StringName dark_color_2;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName Debug;
|
|
|
|
StringName disabled_font_color;
|
|
|
|
StringName doc_italic;
|
|
|
|
StringName draw;
|
|
|
|
StringName Duplicate;
|
2024-01-25 21:01:14 +00:00
|
|
|
StringName Edit;
|
|
|
|
StringName EditAddRemove;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName Editor;
|
|
|
|
StringName EditorFonts;
|
|
|
|
StringName EditorIcons;
|
2024-01-09 20:47:22 +00:00
|
|
|
StringName EditorStyles;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName emit_changed;
|
|
|
|
StringName entered;
|
|
|
|
StringName error_value;
|
2024-03-04 14:53:39 +00:00
|
|
|
StringName EVENT_FAILURE;
|
|
|
|
StringName EVENT_FINISHED;
|
|
|
|
StringName EVENT_SUCCESS;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName exited;
|
|
|
|
StringName favorite_tasks_changed;
|
|
|
|
StringName Favorites;
|
2024-05-15 10:50:33 +00:00
|
|
|
StringName focus_exited;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName font_color;
|
|
|
|
StringName font_size;
|
|
|
|
StringName font;
|
|
|
|
StringName Forward;
|
2024-08-03 09:07:06 +00:00
|
|
|
StringName freed;
|
2024-01-07 16:33:05 +00:00
|
|
|
StringName gui_input;
|
2024-01-28 16:49:38 +00:00
|
|
|
StringName GuiOptionArrow;
|
2024-01-07 16:33:05 +00:00
|
|
|
StringName GuiTreeArrowDown;
|
|
|
|
StringName GuiTreeArrowRight;
|
2024-01-24 22:11:09 +00:00
|
|
|
StringName HeaderSmall;
|
2024-01-07 16:33:05 +00:00
|
|
|
StringName Help;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName icon_max_width;
|
|
|
|
StringName id_pressed;
|
2024-01-13 21:40:27 +00:00
|
|
|
StringName Info;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName item_collapsed;
|
2024-01-09 20:47:22 +00:00
|
|
|
StringName item_selected;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName LimboDeselectAll;
|
|
|
|
StringName LimboExtraClock;
|
|
|
|
StringName LimboExtractSubtree;
|
|
|
|
StringName LimboPercent;
|
|
|
|
StringName LimboSelectAll;
|
2024-01-28 16:49:38 +00:00
|
|
|
StringName LimboVarAdd;
|
2024-05-14 11:29:04 +00:00
|
|
|
StringName LimboVarEmpty;
|
|
|
|
StringName LimboVarError;
|
2024-01-28 16:49:38 +00:00
|
|
|
StringName LimboVarExists;
|
|
|
|
StringName LimboVarNotFound;
|
2024-01-28 20:58:18 +00:00
|
|
|
StringName LimboVarPrivate;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName LineEdit;
|
|
|
|
StringName Load;
|
|
|
|
StringName managed;
|
|
|
|
StringName mode_changed;
|
2024-01-28 16:49:38 +00:00
|
|
|
StringName mouse_entered;
|
|
|
|
StringName mouse_exited;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName MoveDown;
|
|
|
|
StringName MoveUp;
|
|
|
|
StringName New;
|
|
|
|
StringName NewRoot;
|
|
|
|
StringName NodeWarning;
|
2024-01-07 16:33:05 +00:00
|
|
|
StringName NonFavorite;
|
|
|
|
StringName normal;
|
2024-01-24 22:11:09 +00:00
|
|
|
StringName panel;
|
2024-04-01 14:34:36 +00:00
|
|
|
StringName plan_changed;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName popup_hide;
|
|
|
|
StringName pressed;
|
2024-01-07 20:04:18 +00:00
|
|
|
StringName probability_clicked;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName refresh;
|
|
|
|
StringName Reload;
|
|
|
|
StringName remove_child;
|
|
|
|
StringName Remove;
|
|
|
|
StringName Rename;
|
2024-01-09 20:47:22 +00:00
|
|
|
StringName request_open_in_screen;
|
2024-01-07 20:04:18 +00:00
|
|
|
StringName rmb_pressed;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName Save;
|
|
|
|
StringName Script;
|
|
|
|
StringName ScriptCreate;
|
|
|
|
StringName Search;
|
2024-01-24 22:11:09 +00:00
|
|
|
StringName separation;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName set_custom_name;
|
|
|
|
StringName set_root_task;
|
2024-01-28 21:25:31 +00:00
|
|
|
StringName set_v_scroll;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName setup;
|
2024-01-09 20:47:22 +00:00
|
|
|
StringName started;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName StatusWarning;
|
2024-01-09 20:47:22 +00:00
|
|
|
StringName stopped;
|
2024-01-07 20:04:18 +00:00
|
|
|
StringName task_activated;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName task_button_pressed;
|
|
|
|
StringName task_button_rmb;
|
2024-01-07 20:04:18 +00:00
|
|
|
StringName task_dragged;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName task_meta;
|
|
|
|
StringName task_selected;
|
|
|
|
StringName text_changed;
|
2024-01-24 22:11:09 +00:00
|
|
|
StringName text_submitted;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName timeout;
|
|
|
|
StringName toggled;
|
|
|
|
StringName Tools;
|
2024-01-24 22:11:09 +00:00
|
|
|
StringName Tree;
|
|
|
|
StringName TripleBar;
|
2024-07-31 12:40:30 +00:00
|
|
|
StringName update_mode;
|
2024-01-09 12:34:24 +00:00
|
|
|
StringName updated;
|
|
|
|
StringName visibility_changed;
|
2024-01-09 20:47:22 +00:00
|
|
|
StringName window_visibility_changed;
|
2024-01-06 23:47:46 +00:00
|
|
|
|
|
|
|
String repeat_forever;
|
2024-01-15 16:03:52 +00:00
|
|
|
String output_var_prefix;
|
2024-05-01 21:20:17 +00:00
|
|
|
|
|
|
|
NodePath node_pp;
|
2022-08-28 10:54:34 +00:00
|
|
|
};
|
|
|
|
|
2024-01-09 12:42:54 +00:00
|
|
|
#define LW_NAME(m_arg) LimboStringNames::get_singleton()->m_arg
|
2024-01-06 23:47:46 +00:00
|
|
|
|
2024-01-13 16:10:42 +00:00
|
|
|
#endif // LIMBO_STRING_NAMES_H
|