This file contains 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 <string.h> | |
#include "rect.hh" | |
#include "sum_fields.hh" | |
#include "person/person.hh" | |
#include "gx.hh" | |
// | |
// Types | |
// |
This file contains 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
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 |
This file contains 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
# 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 |
This file contains 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
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) { |
This file contains 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 "core.hh" | |
// | |
// Entities | |
// | |
using Entity = entt::entity; | |
inline constexpr auto nullEntity = entt::null; |
This file contains 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 "core.hh" | |
// | |
// Entities | |
// | |
using Entity = entt::entity; | |
inline constexpr auto nullEntity = entt::null; |
This file contains 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 "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); }) |
This file contains 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
// | |
// Inspector | |
// | |
// int | |
static bool inspect(int &val, const PropAttribs &attribs) { | |
uiText("%d", val); | |
return false; | |
} |
This file contains 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 "core.hh" | |
// | |
// Hashing | |
// | |
using HashedString = entt::hashed_string; | |
using namespace entt::literals; |
This file contains 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
// | |
// Entities | |
// | |
using Entity = entt::entity; | |
inline constexpr auto nullEntity = entt::null; | |
// The global entity registry | |
inline entt::registry registry; |
NewerOlder