igor.cpp File Reference

Namespaces

namespace  igor
 item data entity id
 

Macros

#define G   iaForegroundColor::Green
 
#define W   iaForegroundColor::Blue
 
#define C1   iaForegroundColor::Green
 
#define C2   iaForegroundColor::Green
 
#define M   iaForegroundColor::Green
 
#define T   iaForegroundColor::White
 
#define R   iaForegroundColor::Red
 

Functions

void igor::printCake (const iaString &name)
 
void igor::printInfo ()
 
void igor::createModules ()
 
void igor::destroyModules ()
 
void igor::startup ()
 
void igor::shutdown ()
 

Variables

const std::vector< iaStringIGOR_SUPPORTED_SPRITE_EXTENSIONS = {"sprite", "json"}
 Igor build configuration short. More...
 
const std::vector< iaStringIGOR_SUPPORTED_TEXTURE_EXTENSIONS = {"png", "jpg"}
 supported file extensions for sprites More...
 
const std::vector< iaStringIGOR_SUPPORTED_SHADER_EXTENSIONS = {"shader", "xml"}
 supported file extensions for textures More...
 
const std::vector< iaStringIGOR_SUPPORTED_MATERIAL_EXTENSIONS = {"mat", "json"}
 supported file extensions for shaders More...
 
const std::vector< iaStringIGOR_SUPPORTED_ANIMATION_EXTENSIONS = {"anim", "json"}
 supported file extensions for materials More...
 
const std::vector< iaStringIGOR_SUPPORTED_MODEL_EXTENSIONS = {"ompf", "obj"}
 supported file extensions for animations More...
 
const std::vector< iaStringIGOR_SUPPORTED_SOUND_EXTENSIONS = {"wav"}
 supported file extensions for models More...
 
const std::vector< iaStringIGOR_SUPPORTED_PREFAB_EXTENSIONS = {"prefab", "scene", "json"}
 supported file extensions for sounds More...
 
const iaString IGOR_RESOURCE_SHADER = "shader"
 
const iaString IGOR_RESOURCE_MATERIAL = "material"
 shader resource name More...
 
const iaString IGOR_RESOURCE_ANIMATION = "animation"
 material resource name More...
 
const iaString IGOR_RESOURCE_TEXTURE = "texture"
 animation resource name More...
 
const iaString IGOR_RESOURCE_SOUND = "sound"
 texture resource name More...
 
const iaString IGOR_RESOURCE_SPRITE = "sprite"
 sound resource name More...
 
const iaString IGOR_RESOURCE_MODEL = "model"
 sprite resource name More...
 
const iaString IGOR_RESOURCE_PREFAB = "prefab"
 model resource name More...
 
const iaString IGOR_RESOURCE_PARAM_ALIAS = "alias"
 resource parameter id More...
 
const iaString IGOR_RESOURCE_PARAM_TYPE = "type"
 resource parameter alias More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE_BUILD_MODE = "textureBuildMode"
 resource parameter export mode More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE_WRAP_MODE = "wrapMode"
 resource parameter texture build mode More...
 
const iaString IGOR_RESOURCE_PARAM_ID = "id"
 prefab resource name More...
 
const iaString IGOR_RESOURCE_PARAM_CACHE_MODE = "cacheMode"
 resource parameter type More...
 
const iaString IGOR_RESOURCE_PARAM_PIXMAP = "pixmap"
 resource parameter filename More...
 
const iaString IGOR_RESOURCE_PARAM_SOURCE = "source"
 resource parameter cache mode More...
 
const iaString IGOR_RESOURCE_PARAM_NODE = "node"
 resource parameter pixmap More...
 
const iaString IGOR_RESOURCE_PARAM_EXPORT_MODE = "exportMode"
 resource parameter node More...
 
const iaString IGOR_RESOURCE_PARAM_JOIN_VERTICES = "joinVertices"
 resource parameter texture build mode More...
 
const iaString IGOR_RESOURCE_PARAM_SUB_TYPE = "subType"
 resource parameter join vertices More...
 
const iaString IGOR_RESOURCE_PARAM_QUIET = "quiet"
 resource parameter sub type More...
 
const iaString IGOR_RESOURCE_PARAM_SHADER = "shader"
 resource parameter quiet More...
 
const iaString IGOR_RESOURCE_PARAM_MATERIAL = "material"
 resource parameter shader More...
 
const iaString IGOR_RESOURCE_PARAM_PHYSICS_MATERIAL = "physicsMaterial"
 resource parameter material More...
 
const iaString IGOR_RESOURCE_PARAM_LOD = "lod"
 resource parameter physics material More...
 
const iaString IGOR_RESOURCE_PARAM_KEEP_MESH = "keepMesh"
 resource parameter level of detail More...
 
const iaString IGOR_RESOURCE_PARAM_GENERATE = "generate"
 resource parameter keep mesh More...
 
const iaString IGOR_RESOURCE_PARAM_SEED = "seed"
 resource parameter generate More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE = "texture"
 resource parameter seed More...
 
const iaString IGOR_RESOURCE_PARAM_EMISSIVE = "emissive"
 resource parameter texture More...
 
const iaString IGOR_RESOURCE_PARAM_AMBIENT = "ambient"
 resource parameter emissive More...
 
const iaString IGOR_RESOURCE_PARAM_DIFFUSE = "diffuse"
 resource parameter ambient More...
 
const iaString IGOR_RESOURCE_PARAM_SPECULAR = "specular"
 resource parameter diffuse More...
 
const iaString IGOR_RESOURCE_PARAM_SHININESS = "shininess"
 resource parameter specular More...
 
const iaString IGOR_RESOURCE_PARAM_ALPHA = "alpha"
 resource parameter shininess More...
 
const iaString IGOR_RESOURCE_PARAM_TILING = "tiling"
 resource parameter alpha More...
 
const iaString IGOR_RESOURCE_PARAM_ENTITY_SCENE_ID = "entitySceneID"
 resource parameter tiling More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE_PATTERN = "texture_pattern"
 resource parameter entity scene More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE_WIDTH = "texture_width"
 resource parameter texture pattern More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE_HEIGHT = "texture_height"
 resource parameter texture width More...
 
const iaString IGOR_RESOURCE_PARAM_PRIMARY_COLOR = "primary_color"
 resource parameter texture height More...
 
const iaString IGOR_RESOURCE_PARAM_SECONDARY_COLOR = "secondary_color"
 resource parameter primary color More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE0 = "texture0"
 resource parameter secondary color More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE1 = "texture1"
 resource parameter texture unit 0 More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE2 = "texture2"
 resource parameter texture unit 1 More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE3 = "texture3"
 resource parameter texture unit 2 More...
 
const iaString IGOR_ITEM_DATA_ID = "id"
 resource parameter texture unit 3 More...
 
const iaString IGOR_ITEM_DATA_NAME = "name"
 item data type ID More...
 
const iaString IGOR_ITEM_DATA_ICON = "icon"
 item data type name More...
 
const iaString IGOR_ITEM_DATA_UUID = "uuid"
 item data type icon More...
 
const iaString IGOR_ITEM_DATA_ENABLED = "enabled"
 item data type UUID More...
 
const iaString IGOR_ITEM_DATA_SELECTED = "selected"
 item data type enabled More...
 
const iaString IGOR_ITEM_DATA_SCENE_ID = "sceneID"
 item data type enabled More...
 
const iaString IGOR_ITEM_DATA_ENTITY_ID = "entityID"
 item data scene id More...
 
const iaString IGOR_BUILD_CONFIGURATION = "release"
 

Macro Definition Documentation

◆ C1

#define C1   iaForegroundColor::Green

◆ C2

#define C2   iaForegroundColor::Green

◆ G

#define G   iaForegroundColor::Green

◆ M

#define M   iaForegroundColor::Green

◆ R

#define R   iaForegroundColor::Red

◆ T

#define T   iaForegroundColor::White

◆ W

#define W   iaForegroundColor::Blue

Variable Documentation

◆ IGOR_BUILD_CONFIGURATION

const iaString IGOR_BUILD_CONFIGURATION = "release"

◆ IGOR_ITEM_DATA_ENABLED

const iaString IGOR_ITEM_DATA_ENABLED = "enabled"

item data type UUID

◆ IGOR_ITEM_DATA_ENTITY_ID

const iaString IGOR_ITEM_DATA_ENTITY_ID = "entityID"

item data scene id

◆ IGOR_ITEM_DATA_ICON

const iaString IGOR_ITEM_DATA_ICON = "icon"

item data type name

◆ IGOR_ITEM_DATA_ID

const iaString IGOR_ITEM_DATA_ID = "id"

resource parameter texture unit 3

◆ IGOR_ITEM_DATA_NAME

const iaString IGOR_ITEM_DATA_NAME = "name"

item data type ID

◆ IGOR_ITEM_DATA_SCENE_ID

const iaString IGOR_ITEM_DATA_SCENE_ID = "sceneID"

item data type enabled

◆ IGOR_ITEM_DATA_SELECTED

const iaString IGOR_ITEM_DATA_SELECTED = "selected"

item data type enabled

◆ IGOR_ITEM_DATA_UUID

const iaString IGOR_ITEM_DATA_UUID = "uuid"

item data type icon

◆ IGOR_RESOURCE_ANIMATION

const iaString IGOR_RESOURCE_ANIMATION = "animation"

material resource name

◆ IGOR_RESOURCE_MATERIAL

const iaString IGOR_RESOURCE_MATERIAL = "material"

shader resource name

◆ IGOR_RESOURCE_MODEL

const iaString IGOR_RESOURCE_MODEL = "model"

sprite resource name

◆ IGOR_RESOURCE_PARAM_ALIAS

const iaString IGOR_RESOURCE_PARAM_ALIAS = "alias"

resource parameter id

◆ IGOR_RESOURCE_PARAM_ALPHA

const iaString IGOR_RESOURCE_PARAM_ALPHA = "alpha"

resource parameter shininess

◆ IGOR_RESOURCE_PARAM_AMBIENT

const iaString IGOR_RESOURCE_PARAM_AMBIENT = "ambient"

resource parameter emissive

◆ IGOR_RESOURCE_PARAM_CACHE_MODE

const iaString IGOR_RESOURCE_PARAM_CACHE_MODE = "cacheMode"

resource parameter type

◆ IGOR_RESOURCE_PARAM_DIFFUSE

const iaString IGOR_RESOURCE_PARAM_DIFFUSE = "diffuse"

resource parameter ambient

◆ IGOR_RESOURCE_PARAM_EMISSIVE

const iaString IGOR_RESOURCE_PARAM_EMISSIVE = "emissive"

resource parameter texture

◆ IGOR_RESOURCE_PARAM_ENTITY_SCENE_ID

const iaString IGOR_RESOURCE_PARAM_ENTITY_SCENE_ID = "entitySceneID"

resource parameter tiling

◆ IGOR_RESOURCE_PARAM_EXPORT_MODE

const iaString IGOR_RESOURCE_PARAM_EXPORT_MODE = "exportMode"

resource parameter node

◆ IGOR_RESOURCE_PARAM_GENERATE

const iaString IGOR_RESOURCE_PARAM_GENERATE = "generate"

resource parameter keep mesh

◆ IGOR_RESOURCE_PARAM_ID

const iaString IGOR_RESOURCE_PARAM_ID = "id"

prefab resource name

◆ IGOR_RESOURCE_PARAM_JOIN_VERTICES

const iaString IGOR_RESOURCE_PARAM_JOIN_VERTICES = "joinVertices"

resource parameter texture build mode

◆ IGOR_RESOURCE_PARAM_KEEP_MESH

const iaString IGOR_RESOURCE_PARAM_KEEP_MESH = "keepMesh"

resource parameter level of detail

◆ IGOR_RESOURCE_PARAM_LOD

const iaString IGOR_RESOURCE_PARAM_LOD = "lod"

resource parameter physics material

◆ IGOR_RESOURCE_PARAM_MATERIAL

const iaString IGOR_RESOURCE_PARAM_MATERIAL = "material"

resource parameter shader

◆ IGOR_RESOURCE_PARAM_NODE

const iaString IGOR_RESOURCE_PARAM_NODE = "node"

resource parameter pixmap

◆ IGOR_RESOURCE_PARAM_PHYSICS_MATERIAL

const iaString IGOR_RESOURCE_PARAM_PHYSICS_MATERIAL = "physicsMaterial"

resource parameter material

◆ IGOR_RESOURCE_PARAM_PIXMAP

const iaString IGOR_RESOURCE_PARAM_PIXMAP = "pixmap"

resource parameter filename

◆ IGOR_RESOURCE_PARAM_PRIMARY_COLOR

const iaString IGOR_RESOURCE_PARAM_PRIMARY_COLOR = "primary_color"

resource parameter texture height

◆ IGOR_RESOURCE_PARAM_QUIET

const iaString IGOR_RESOURCE_PARAM_QUIET = "quiet"

resource parameter sub type

◆ IGOR_RESOURCE_PARAM_SECONDARY_COLOR

const iaString IGOR_RESOURCE_PARAM_SECONDARY_COLOR = "secondary_color"

resource parameter primary color

◆ IGOR_RESOURCE_PARAM_SEED

const iaString IGOR_RESOURCE_PARAM_SEED = "seed"

resource parameter generate

◆ IGOR_RESOURCE_PARAM_SHADER

const iaString IGOR_RESOURCE_PARAM_SHADER = "shader"

resource parameter quiet

◆ IGOR_RESOURCE_PARAM_SHININESS

const iaString IGOR_RESOURCE_PARAM_SHININESS = "shininess"

resource parameter specular

◆ IGOR_RESOURCE_PARAM_SOURCE

const iaString IGOR_RESOURCE_PARAM_SOURCE = "source"

resource parameter cache mode

◆ IGOR_RESOURCE_PARAM_SPECULAR

const iaString IGOR_RESOURCE_PARAM_SPECULAR = "specular"

resource parameter diffuse

◆ IGOR_RESOURCE_PARAM_SUB_TYPE

const iaString IGOR_RESOURCE_PARAM_SUB_TYPE = "subType"

resource parameter join vertices

◆ IGOR_RESOURCE_PARAM_TEXTURE

const iaString IGOR_RESOURCE_PARAM_TEXTURE = "texture"

resource parameter seed

◆ IGOR_RESOURCE_PARAM_TEXTURE0

const iaString IGOR_RESOURCE_PARAM_TEXTURE0 = "texture0"

resource parameter secondary color

◆ IGOR_RESOURCE_PARAM_TEXTURE1

const iaString IGOR_RESOURCE_PARAM_TEXTURE1 = "texture1"

resource parameter texture unit 0

◆ IGOR_RESOURCE_PARAM_TEXTURE2

const iaString IGOR_RESOURCE_PARAM_TEXTURE2 = "texture2"

resource parameter texture unit 1

◆ IGOR_RESOURCE_PARAM_TEXTURE3

const iaString IGOR_RESOURCE_PARAM_TEXTURE3 = "texture3"

resource parameter texture unit 2

◆ IGOR_RESOURCE_PARAM_TEXTURE_BUILD_MODE

const iaString IGOR_RESOURCE_PARAM_TEXTURE_BUILD_MODE = "textureBuildMode"

resource parameter export mode

◆ IGOR_RESOURCE_PARAM_TEXTURE_HEIGHT

const iaString IGOR_RESOURCE_PARAM_TEXTURE_HEIGHT = "texture_height"

resource parameter texture width

◆ IGOR_RESOURCE_PARAM_TEXTURE_PATTERN

const iaString IGOR_RESOURCE_PARAM_TEXTURE_PATTERN = "texture_pattern"

resource parameter entity scene

◆ IGOR_RESOURCE_PARAM_TEXTURE_WIDTH

const iaString IGOR_RESOURCE_PARAM_TEXTURE_WIDTH = "texture_width"

resource parameter texture pattern

◆ IGOR_RESOURCE_PARAM_TEXTURE_WRAP_MODE

const iaString IGOR_RESOURCE_PARAM_TEXTURE_WRAP_MODE = "wrapMode"

resource parameter texture build mode

◆ IGOR_RESOURCE_PARAM_TILING

const iaString IGOR_RESOURCE_PARAM_TILING = "tiling"

resource parameter alpha

◆ IGOR_RESOURCE_PARAM_TYPE

const iaString IGOR_RESOURCE_PARAM_TYPE = "type"

resource parameter alias

◆ IGOR_RESOURCE_PREFAB

const iaString IGOR_RESOURCE_PREFAB = "prefab"

model resource name

◆ IGOR_RESOURCE_SHADER

const iaString IGOR_RESOURCE_SHADER = "shader"

◆ IGOR_RESOURCE_SOUND

const iaString IGOR_RESOURCE_SOUND = "sound"

texture resource name

◆ IGOR_RESOURCE_SPRITE

const iaString IGOR_RESOURCE_SPRITE = "sprite"

sound resource name

◆ IGOR_RESOURCE_TEXTURE

const iaString IGOR_RESOURCE_TEXTURE = "texture"

animation resource name

◆ IGOR_SUPPORTED_ANIMATION_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_ANIMATION_EXTENSIONS = {"anim", "json"}

supported file extensions for materials

◆ IGOR_SUPPORTED_MATERIAL_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_MATERIAL_EXTENSIONS = {"mat", "json"}

supported file extensions for shaders

◆ IGOR_SUPPORTED_MODEL_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_MODEL_EXTENSIONS = {"ompf", "obj"}

supported file extensions for animations

◆ IGOR_SUPPORTED_PREFAB_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_PREFAB_EXTENSIONS = {"prefab", "scene", "json"}

supported file extensions for sounds

◆ IGOR_SUPPORTED_SHADER_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_SHADER_EXTENSIONS = {"shader", "xml"}

supported file extensions for textures

◆ IGOR_SUPPORTED_SOUND_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_SOUND_EXTENSIONS = {"wav"}

supported file extensions for models

◆ IGOR_SUPPORTED_SPRITE_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_SPRITE_EXTENSIONS = {"sprite", "json"}

Igor build configuration short.

◆ IGOR_SUPPORTED_TEXTURE_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_TEXTURE_EXTENSIONS = {"png", "jpg"}

supported file extensions for sprites