Skip to content

Instantly share code, notes, and snippets.

View nikki93's full-sized avatar

Nikhilesh S nikki93

View GitHub Profile
#include <string.h>
#include "rect.hh"
#include "sum_fields.hh"
#include "person/person.hh"
#include "gx.hh"
//
// Types
//
asset_system (436):
--------------------------------------------
File code
--------------------------------------------
AS_asset_catalog.hh 164
AS_asset_library.hh 52
CMakeLists.txt 51
AS_asset_catalog_tree.hh 44
AS_asset_catalog_path.hh 42
AS_asset_representation.hh 38
# fix meta delay
set -sg escape-time 0
# allow differently sized terminals to look at different windows
setw -g aggressive-resize on
# 256 colors!
set -g default-terminal "screen-256color"
# use C-a for prefix
import * as fs from 'fs';
import * as scm from './src/utils/sceneCreatorMigrations';
const data = JSON.parse(fs.readFileSync(process.argv[1]).toString());
const context = {
sceneCreatorVersion: 80,
};
(async () => {
for (const bp of data.templates) {
if (bp.actorBlueprint) {
#pragma once
#include "core.hh"
//
// Entities
//
using Entity = entt::entity;
inline constexpr auto nullEntity = entt::null;
#pragma once
#include "core.hh"
//
// Entities
//
using Entity = entt::entity;
inline constexpr auto nullEntity = entt::null;
#include "core.hh"
// Elements
JS_DEFINE(void, JS_uiElemOpenStart, (const char *tag),
{ IncrementalDOM.elementOpenStart(UTF8ToString(tag)); })
JS_DEFINE(void, JS_uiElemOpenStartKeyInt, (const char *tag, int key),
{ IncrementalDOM.elementOpenStart(UTF8ToString(tag), key); })
//
// Inspector
//
// int
static bool inspect(int &val, const PropAttribs &attribs) {
uiText("%d", val);
return false;
}
#pragma once
#include "core.hh"
//
// Hashing
//
using HashedString = entt::hashed_string;
using namespace entt::literals;
//
// Entities
//
using Entity = entt::entity;
inline constexpr auto nullEntity = entt::null;
// The global entity registry
inline entt::registry registry;