Added FX Materials
* Added FX Shader Materials * Added Projector Actor
This commit is contained in:
@@ -749,6 +749,9 @@ void init_embedded_functions()
|
||||
embed_function("SetAntiAliasMode", ID_TYPE_SUB);
|
||||
add_embedded_arg("aa_mode", ID_TYPE_NUM);
|
||||
embed_function("GetAntiAliasMode", ID_TYPE_FN_NUM);
|
||||
embed_function("ConvertToNormalMap", ID_TYPE_SUB);
|
||||
add_embedded_arg("img_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("amp", ID_TYPE_NUM);
|
||||
embed_function("InKey", ID_TYPE_FN_NUM);
|
||||
embed_function("Key", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("key_code", ID_TYPE_NUM);
|
||||
@@ -1085,6 +1088,7 @@ void init_embedded_functions()
|
||||
embed_function("Runtime$", ID_TYPE_FN_STR);
|
||||
embed_function("NumCPUs", ID_TYPE_FN_NUM);
|
||||
embed_function("SystemRam", ID_TYPE_FN_NUM);
|
||||
embed_function("GetGPUInfo$", ID_TYPE_FN_STR);
|
||||
embed_function("DimMatrix", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("m_rows", ID_TYPE_NUM);
|
||||
add_embedded_arg("m_cols", ID_TYPE_NUM);
|
||||
@@ -2102,6 +2106,7 @@ void init_embedded_functions()
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("ActorExists", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("CreateProjectorActor", ID_TYPE_FN_NUM);
|
||||
embed_function("CreateActorAnimation", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("start_frame", ID_TYPE_NUM);
|
||||
@@ -2866,6 +2871,12 @@ void init_embedded_functions()
|
||||
add_embedded_arg("pixelFog", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("rangeFog", ID_TYPE_BYREF_NUM);
|
||||
embed_function("ClearScene", ID_TYPE_SUB);
|
||||
embed_function("SetSceneShadowColor", ID_TYPE_SUB);
|
||||
add_embedded_arg("color", ID_TYPE_NUM);
|
||||
embed_function("GetSceneShadowColor", ID_TYPE_FN_NUM);
|
||||
embed_function("SetSceneAmbientColor", ID_TYPE_SUB);
|
||||
add_embedded_arg("color", ID_TYPE_NUM);
|
||||
embed_function("GetSceneAmbientColor", ID_TYPE_FN_NUM);
|
||||
embed_function("startParticleEmitter", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("stopParticleEmitter", ID_TYPE_SUB);
|
||||
@@ -3104,6 +3115,21 @@ void init_embedded_functions()
|
||||
add_embedded_arg("patchX", ID_TYPE_NUM);
|
||||
add_embedded_arg("patchZ", ID_TYPE_NUM);
|
||||
add_embedded_arg("LOD", ID_TYPE_NUM);
|
||||
embed_function("SetProjectorTarget", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_NUM);
|
||||
embed_function("GetProjectorTarget", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
embed_function("SetProjectorFOV", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("fov", ID_TYPE_NUM);
|
||||
embed_function("GetProjectorFOV", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("createMaterial", ID_TYPE_FN_NUM);
|
||||
embed_function("deleteMaterial", ID_TYPE_SUB);
|
||||
add_embedded_arg("material_id", ID_TYPE_NUM);
|
||||
@@ -3260,6 +3286,25 @@ void init_embedded_functions()
|
||||
add_embedded_arg("material", ID_TYPE_NUM);
|
||||
embed_function("MaterialExists", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("material", ID_TYPE_NUM);
|
||||
embed_function("NumMaterialConstants", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("material_type", ID_TYPE_NUM);
|
||||
embed_function("GetMaterialConstantName$", ID_TYPE_FN_STR);
|
||||
add_embedded_arg("material_type", ID_TYPE_NUM);
|
||||
add_embedded_arg("index", ID_TYPE_NUM);
|
||||
embed_function("SetMaterialConstant", ID_TYPE_SUB);
|
||||
add_embedded_arg("material", ID_TYPE_NUM);
|
||||
add_embedded_arg("m_constant$", ID_TYPE_STR);
|
||||
add_embedded_arg("n1", ID_TYPE_NUM);
|
||||
add_embedded_arg("n2", ID_TYPE_NUM);
|
||||
add_embedded_arg("n3", ID_TYPE_NUM);
|
||||
add_embedded_arg("n4", ID_TYPE_NUM);
|
||||
embed_function("GetMaterialConstant", ID_TYPE_SUB);
|
||||
add_embedded_arg("material", ID_TYPE_NUM);
|
||||
add_embedded_arg("m_constant$", ID_TYPE_STR);
|
||||
add_embedded_arg("n1", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("n2", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("n3", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("n4", ID_TYPE_BYREF_NUM);
|
||||
}
|
||||
|
||||
void init_embedded_types()
|
||||
|
||||
Reference in New Issue
Block a user