This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ecs = require("flecs"):init() | |
local ID = ecs.ID | |
local SYSTEM = ecs.SYSTEM | |
ecs:import("flecs_components_input") | |
ecs:import("flecs_components_graphics") | |
ecs:import("flecs_components_geometry") | |
ecs:import("flecs_components_transform") | |
ecs:new_component{"setup"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "flecs_backup.h" | |
typedef uint32_t ecs_type_index_t; | |
bool ecs_type_next_index(ecs_type_t type, ecs_entity_t mask, ecs_type_index_t* index) | |
{ | |
ecs_entity_t *array = (ecs_entity_t *)ecs_vector_first(type); | |
ecs_type_index_t count = ecs_vector_count(type); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <any> | |
#include <cmath> | |
#include <imgui.h> | |
#include <imgui_internal.h> | |
#include "NodeGraph.hpp" | |
namespace | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ENTT_ENTITY_EXPORTER_HPP | |
#define ENTT_ENTITY_EXPORTER_HPP | |
#include <array> | |
#include <cstddef> | |
#include <utility> | |
#include <cassert> | |
#include <iterator> | |
#include <type_traits> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ENTT_RESOURCE_REGISTRY_HPP | |
#define ENTT_RESOURCE_REGISTRY_HPP | |
#include <entt/resource/cache.hpp> | |
#include <entt/core/family.hpp> | |
#include <string> | |
#include <vector> | |
namespace entt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ENTT_CORE_PROPERTY_HPP | |
#define ENTT_CORE_PROPERTY_HPP | |
namespace entt { | |
template<typename, typename, char...> | |
class Property; | |
template<typename Registry> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ENTT_CORE_GROUP_HPP | |
#define ENTT_CORE_GROUP_HPP | |
#include "family.hpp" | |
#include <vector> | |
namespace entt { | |
/*! @brief TODO */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include "vm.hpp" | |
namespace entt | |
{ | |
template<typename Code> | |
struct vm_encoded | |
{ | |
memory_buffer opcode; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>DVTConsoleDebuggerInputTextColor</key> | |
<string>1 0.501961 0 1</string> | |
<key>DVTConsoleDebuggerInputTextFont</key> | |
<string>XcodeDigits - 12.0</string> | |
<key>DVTConsoleDebuggerOutputTextColor</key> | |
<string>1 1 1 1</string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <entt/entity/registry.hpp> | |
namespace entt | |
{ | |
/*! @brief TODO */ | |
template<typename Entity> | |
class Hierarchy final { | |
using traits_type = entt_traits<Entity>; |