Updated version info

This commit is contained in:
n00b87
2026-01-28 00:15:50 -06:00
parent 61e55f72f6
commit 17238f3eeb
14 changed files with 2021 additions and 1777 deletions

View File

@@ -4399,7 +4399,7 @@ int main(int argc, char * argv[])
if(rc_filename.compare("--version")==0)
{
cout << "RCBASIC Runtime v4.7" << endl;
cout << "RCBASIC Runtime v4.8" << endl;
return 0;
}

View File

@@ -1505,7 +1505,7 @@ Uint32 rc_getLightSpecularColor(int actor)
}
int GetActorBoneCount( int actor )
int rc_getActorBoneCount( int actor )
{
if(actor < 0 || actor >= rc_actor.size())
return 0;
@@ -1523,7 +1523,7 @@ int GetActorBoneCount( int actor )
return 0;
}
irr::u32 GetActorBoneIndex( int actor, std::string bone_name )
irr::u32 rc_getActorBoneIndex( int actor, std::string bone_name )
{
if(actor < 0 || actor >= rc_actor.size())
return 0;
@@ -1545,7 +1545,7 @@ irr::u32 GetActorBoneIndex( int actor, std::string bone_name )
return -1;
}
std::string GetActorBoneName( int actor, irr::u32 bone_index )
std::string rc_getActorBoneName( int actor, irr::u32 bone_index )
{
if(actor < 0 || actor >= rc_actor.size())
return "";
@@ -1567,7 +1567,7 @@ std::string GetActorBoneName( int actor, irr::u32 bone_index )
return "";
}
bool GetActorBonePosition( int actor, int bone_index, double* x, double* y, double* z )
bool rc_getActorBonePosition( int actor, int bone_index, double* x, double* y, double* z )
{
if(actor < 0 || actor >= rc_actor.size())
return false;
@@ -1592,7 +1592,7 @@ bool GetActorBonePosition( int actor, int bone_index, double* x, double* y, doub
return false;
}
bool GetActorBoneRotation( int actor, int bone_index, double* x, double* y, double* z )
bool rc_getActorBoneRotation( int actor, int bone_index, double* x, double* y, double* z )
{
if(actor < 0 || actor >= rc_actor.size())
return false;
@@ -1617,7 +1617,7 @@ bool GetActorBoneRotation( int actor, int bone_index, double* x, double* y, doub
return false;
}
bool GetActorBoneScale( int actor, int bone_index, double* x, double* y, double* z )
bool rc_getActorBoneScale( int actor, int bone_index, double* x, double* y, double* z )
{
if(actor < 0 || actor >= rc_actor.size())
return false;
@@ -1642,7 +1642,7 @@ bool GetActorBoneScale( int actor, int bone_index, double* x, double* y, double*
return false;
}
bool GetActorBoneRelativeTranform( int actor, int bone_index, int t_matrix )
bool rc_getActorBoneRelativeTranform( int actor, int bone_index, int t_matrix )
{
if(actor < 0 || actor >= rc_actor.size())
return false;
@@ -1669,7 +1669,7 @@ bool GetActorBoneRelativeTranform( int actor, int bone_index, int t_matrix )
}
bool GetActorBoneAbsoluteTranform( int actor, int bone_index, int t_matrix )
bool rc_getActorBoneAbsoluteTranform( int actor, int bone_index, int t_matrix )
{
if(actor < 0 || actor >= rc_actor.size())
return false;

File diff suppressed because it is too large Load Diff

View File

@@ -673,6 +673,9 @@ case FN_SetPostEffectActive: //Sub Procedure
case FN_PostEffectIsActive: //Number Function
rc_push_num(rc_postEffectIsActive( POSTEFFECTISACTIVE_C_NUM ));
break;
case FN_GetPostEffectType: //Number Function
rc_push_num(rc_getPostEffectType( GETPOSTEFFECTTYPE_C_NUM ));
break;
case FN_Circle: //Sub Procedure
rc_drawCircle( CIRCLE_X, CIRCLE_Y, CIRCLE_RADIUS );
break;
@@ -2282,6 +2285,30 @@ case FN_SetActorMD2AnimationByName: //Sub Procedure
case FN_DeleteActorAnimation: //Sub Procedure
rc_deleteActorAnimation( DELETEACTORANIMATION_ACTOR, DELETEACTORANIMATION_ANIMATION );
break;
case FN_GetActorBoneCount: //Number Function
rc_push_num(rc_getActorBoneCount( GETACTORBONECOUNT_ACTOR ));
break;
case FN_GetActorBoneIndex: //Number Function
rc_push_num(rc_getActorBoneIndex( GETACTORBONEINDEX_ACTOR, GETACTORBONEINDEX_BONE_NAME$ ));
break;
case FN_GetActorBoneName$: //String Function
rc_push_str(rc_getActorBoneName( GETACTORBONENAME$_ACTOR, GETACTORBONENAME$_BONE_INDEX ));
break;
case FN_GetActorBonePosition: //Number Function
rc_push_num(rc_getActorBonePosition( GETACTORBONEPOSITION_ACTOR, GETACTORBONEPOSITION_BONE_INDEX, &GETACTORBONEPOSITION_X, &GETACTORBONEPOSITION_Y, &GETACTORBONEPOSITION_Z ));
break;
case FN_GetActorBoneRotation: //Number Function
rc_push_num(rc_getActorBoneRotation( GETACTORBONEROTATION_ACTOR, GETACTORBONEROTATION_BONE_INDEX, &GETACTORBONEROTATION_X, &GETACTORBONEROTATION_Y, &GETACTORBONEROTATION_Z ));
break;
case FN_GetActorBoneScale: //Number Function
rc_push_num(rc_getActorBoneScale( GETACTORBONESCALE_ACTOR, GETACTORBONESCALE_BONE_INDEX, &GETACTORBONESCALE_X, &GETACTORBONESCALE_Y, &GETACTORBONESCALE_Z ));
break;
case FN_GetActorBoneRelativeTranform: //Number Function
rc_push_num(rc_getActorBoneRelativeTranform( GETACTORBONERELATIVETRANFORM_ACTOR, GETACTORBONERELATIVETRANFORM_BONE_INDEX, GETACTORBONERELATIVETRANFORM_T_MATRIX ));
break;
case FN_GetActorBoneAbsoluteTranform: //Number Function
rc_push_num(rc_getActorBoneAbsoluteTranform( GETACTORBONEABSOLUTETRANFORM_ACTOR, GETACTORBONEABSOLUTETRANFORM_BONE_INDEX, GETACTORBONEABSOLUTETRANFORM_T_MATRIX ));
break;
case FN_SetGravity3D: //Sub Procedure
rc_setGravity3D( SETGRAVITY3D_X, SETGRAVITY3D_Y, SETGRAVITY3D_Z );
break;
@@ -2900,6 +2927,12 @@ case FN_Pipeline_End: //Sub Procedure
case FN_Pipeline_Render: //Sub Procedure
rc_pipeline_Render( );
break;
case FN_SetPhysics3D: //Sub Procedure
rc_setPhysics3D( SETPHYSICS3D_FLAG );
break;
case FN_GetPhysics3D: //Number Function
rc_push_num(rc_getPhysics3D( ));
break;
case FN_startParticleEmitter: //Sub Procedure
rc_startParticleEmitter( STARTPARTICLEEMITTER_ACTOR );
break;