v43 update

This commit is contained in:
n00b87
2025-07-08 21:17:11 -05:00
parent f6a99ebba1
commit 96ba62c9de
49 changed files with 2401 additions and 1828 deletions

View File

@@ -337,6 +337,8 @@ rc_numAccels( )
rc_getGyro( GETGYRO_GYRO_NUM, &GETGYRO_X, &GETGYRO_Y, &GETGYRO_Z )
rc_gyroName( GYRONAME$_GYRO_NUM )
rc_numGyros( )
rc_getTouchX( )
rc_getTouchY( )
rc_net_checkSockets( CHECKSOCKETS_TIMEOUT_MS )
rc_net_tcp_socketReady( TCP_SOCKETREADY_SOCKET )
rc_net_udp_socketReady( UDP_SOCKETREADY_SOCKET )
@@ -394,6 +396,11 @@ rc_messageBox( MESSAGEBOX_TITLE$, MESSAGEBOX_MSG$ )
rc_numCPUs( )
rc_intern_systemRam( )
rc_getGPUInfo( )
rc_steam_AddAchievement( STEAM_ADDACHIEVEMENT_ACH_ID$, STEAM_ADDACHIEVEMENT_ACH_NAME$ )
rc_steam_ClearAchievements( )
rc_steam_FinalizeAchievements( )
rc_steam_TriggerAchievement( STEAM_TRIGGERACHIEVEMENT_ACH_NAME$ )
rc_steam_GetID( )
rc_dimMatrix( DIMMATRIX_M_ROWS, DIMMATRIX_M_COLS )
rc_deleteMatrix( DELETEMATRIX_MA )
rc_addMatrix( ADDMATRIX_MA, ADDMATRIX_MB, ADDMATRIX_MC )
@@ -668,6 +675,9 @@ rc_createConeMesh( CREATECONEMESH_RADIUS, CREATECONEMESH_CONE_LENGTH, CREATECO
rc_createCylinderMesh( CREATECYLINDERMESH_RADIUS, CREATECYLINDERMESH_CYLINDER_LENGTH, CREATECYLINDERMESH_TESSELATION, CREATECYLINDERMESH_COLOR, CREATECYLINDERMESH_CLOSE_TOP )
rc_createVolumeLightMesh( CREATEVOLUMELIGHTMESH_U, CREATEVOLUMELIGHTMESH_V, CREATEVOLUMELIGHTMESH_FOOT_COLOR, CREATEVOLUMELIGHTMESH_TAIL_COLOR, CREATEVOLUMELIGHTMESH_LP_DISTANCE, CREATEVOLUMELIGHTMESH_DIM_X, CREATEVOLUMELIGHTMESH_DIM_Y, CREATEVOLUMELIGHTMESH_DIM_Z )
rc_deleteAN8( DELETEAN8_AN8_PROJECT )
rc_setMeshBoundingBox( SETMESHBOUNDINGBOX_MESH, SETMESHBOUNDINGBOX_MIN_X, SETMESHBOUNDINGBOX_MIN_Y, SETMESHBOUNDINGBOX_MIN_Z, SETMESHBOUNDINGBOX_MAX_X, SETMESHBOUNDINGBOX_MAX_Y, SETMESHBOUNDINGBOX_MAX_Z )
rc_getMeshBoundingBox( GETMESHBOUNDINGBOX_MESH, &GETMESHBOUNDINGBOX_MIN_X, &GETMESHBOUNDINGBOX_MIN_Y, &GETMESHBOUNDINGBOX_MIN_Z, &GETMESHBOUNDINGBOX_MAX_X, &GETMESHBOUNDINGBOX_MAX_Y, &GETMESHBOUNDINGBOX_MAX_Z )
rc_reCalculateMeshBoundingBox( RECALCULATEMESHBOUNDINGBOX_MESH )
rc_createAnimatedActor( CREATEANIMATEDACTOR_MESH )
rc_createOctreeActor( CREATEOCTREEACTOR_MESH )
rc_createCubeActor( CREATECUBEACTOR_CUBE_SIZE )

View File

@@ -12,3 +12,6 @@ Function CreateConeMesh( radius, cone_length, tesselation, top_color, bottom_col
Function CreateCylinderMesh( radius, cylinder_length, tesselation, color, close_top )
Function CreateVolumeLightMesh( u, v, foot_color, tail_color, lp_distance, dim_x, dim_y, dim_z )
Sub DeleteAN8( an8_project )
Sub SetMeshBoundingBox( mesh, min_x, min_y, min_z, max_x, max_y, max_z )
Sub GetMeshBoundingBox( mesh, ByRef min_x, ByRef min_y, ByRef min_z, ByRef max_x, ByRef max_y, ByRef max_z )
Sub ReCalculateMeshBoundingBox( mesh )

View File

@@ -20,3 +20,8 @@ function Runtime$()
function NumCPUs()
function SystemRam()
function GetGPUInfo$()
sub Steam_AddAchievement( ach_id$, ach_name$ )
sub Steam_ClearAchievements()
sub Steam_FinalizeAchievements()
function Steam_TriggerAchievement( ach_name$ )
function Steam_GetID$()

View File

@@ -9,3 +9,5 @@ function NumAccels()
sub GetGyro(gyro_num, ByRef x, ByRef y, ByRef z)
function GyroName$(gyro_num)
function NumGyros()
function TouchX()
function TouchY()

View File

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

View File

@@ -966,6 +966,8 @@ void init_embedded_functions()
embed_function("GyroName$", ID_TYPE_FN_STR);
add_embedded_arg("gyro_num", ID_TYPE_NUM);
embed_function("NumGyros", ID_TYPE_FN_NUM);
embed_function("TouchX", ID_TYPE_FN_NUM);
embed_function("TouchY", ID_TYPE_FN_NUM);
embed_function("CheckSockets", ID_TYPE_FN_NUM);
add_embedded_arg("timeout_ms", ID_TYPE_NUM);
embed_function("TCP_SocketReady", ID_TYPE_FN_NUM);
@@ -1089,6 +1091,14 @@ void init_embedded_functions()
embed_function("NumCPUs", ID_TYPE_FN_NUM);
embed_function("SystemRam", ID_TYPE_FN_NUM);
embed_function("GetGPUInfo$", ID_TYPE_FN_STR);
embed_function("Steam_AddAchievement", ID_TYPE_SUB);
add_embedded_arg("ach_id$", ID_TYPE_STR);
add_embedded_arg("ach_name$", ID_TYPE_STR);
embed_function("Steam_ClearAchievements", ID_TYPE_SUB);
embed_function("Steam_FinalizeAchievements", ID_TYPE_SUB);
embed_function("Steam_TriggerAchievement", ID_TYPE_FN_NUM);
add_embedded_arg("ach_name$", ID_TYPE_STR);
embed_function("Steam_GetID$", 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);
@@ -2028,6 +2038,24 @@ void init_embedded_functions()
add_embedded_arg("dim_z", ID_TYPE_NUM);
embed_function("DeleteAN8", ID_TYPE_SUB);
add_embedded_arg("an8_project", ID_TYPE_NUM);
embed_function("SetMeshBoundingBox", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
add_embedded_arg("min_x", ID_TYPE_NUM);
add_embedded_arg("min_y", ID_TYPE_NUM);
add_embedded_arg("min_z", ID_TYPE_NUM);
add_embedded_arg("max_x", ID_TYPE_NUM);
add_embedded_arg("max_y", ID_TYPE_NUM);
add_embedded_arg("max_z", ID_TYPE_NUM);
embed_function("GetMeshBoundingBox", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
add_embedded_arg("min_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("min_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("min_z", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_z", ID_TYPE_BYREF_NUM);
embed_function("ReCalculateMeshBoundingBox", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("CreateAnimatedActor", ID_TYPE_FN_NUM);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("CreateOctreeActor", ID_TYPE_FN_NUM);

Binary file not shown.

View File

@@ -1,5 +1,5 @@
# depslib dependency file v1.0
1748042868 source:/home/n00b/Projects/RCBASIC4/rcbasic_build/main.cpp
1752011337 source:/home/n00b/Projects/RCBASIC4/rcbasic_build/main.cpp
<iostream>
<stack>
<vector>
@@ -14,7 +14,7 @@
"env_resolve.h"
"identifier.h"
1748042868 /home/n00b/Projects/RCBASIC4/rcbasic_build/tokenizer.h
1752004854 /home/n00b/Projects/RCBASIC4/rcbasic_build/tokenizer.h
<iostream>
<string>
<cctype>
@@ -25,39 +25,39 @@
"keywords.h"
"constants.h"
1734372966 /home/n00b/Projects/RCBASIC4/rcbasic_build/rc_utility.h
1752004854 /home/n00b/Projects/RCBASIC4/rcbasic_build/rc_utility.h
<fstream>
<sstream>
<ctype.h>
1734372057 /home/n00b/Projects/RCBASIC4/rcbasic_build/rc_debug.h
1752004854 /home/n00b/Projects/RCBASIC4/rcbasic_build/rc_debug.h
1734372966 /home/n00b/Projects/RCBASIC4/rcbasic_build/keywords.h
1752004854 /home/n00b/Projects/RCBASIC4/rcbasic_build/keywords.h
1734372057 /home/n00b/Projects/RCBASIC4/rcbasic_build/constants.h
1752004854 /home/n00b/Projects/RCBASIC4/rcbasic_build/constants.h
<vector>
1748055871 /home/n00b/Projects/RCBASIC4/rcbasic_build/parser.h
1752004854 /home/n00b/Projects/RCBASIC4/rcbasic_build/parser.h
"tokenizer.h"
"identifier.h"
"rc_global.h"
"constants.h"
<inttypes.h>
1738504435 /home/n00b/Projects/RCBASIC4/rcbasic_build/identifier.h
1752004854 /home/n00b/Projects/RCBASIC4/rcbasic_build/identifier.h
<inttypes.h>
<stack>
"rc_global.h"
"rc_utility.h"
"rc_debug.h"
1734372057 /home/n00b/Projects/RCBASIC4/rcbasic_build/rc_global.h
1752004854 /home/n00b/Projects/RCBASIC4/rcbasic_build/rc_global.h
<inttypes.h>
1748042868 /home/n00b/Projects/RCBASIC4/rcbasic_build/rc_builtin.h
1752011318 /home/n00b/Projects/RCBASIC4/rcbasic_build/rc_builtin.h
"identifier.h"
1734372057 /home/n00b/Projects/RCBASIC4/rcbasic_build/rc_vm_asm.h
1752004854 /home/n00b/Projects/RCBASIC4/rcbasic_build/rc_vm_asm.h
<iostream>
<fstream>
<inttypes.h>
@@ -66,7 +66,7 @@
<string>
<stdlib.h>
1734372057 /home/n00b/Projects/RCBASIC4/rcbasic_build/file_directory.h
1752004854 /home/n00b/Projects/RCBASIC4/rcbasic_build/file_directory.h
<sys/stat.h>
<sys/types.h>
<unistd.h>
@@ -77,7 +77,7 @@
<windows.h>
<winbase.h>
1734372057 /home/n00b/Projects/RCBASIC4/rcbasic_build/env_resolve.h
1752004854 /home/n00b/Projects/RCBASIC4/rcbasic_build/env_resolve.h
<winbase.h>
<cstdlib>

View File

@@ -960,6 +960,8 @@ add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("GyroName$", ID_TYPE_FN_STR);
add_embedded_arg("gyro_num", ID_TYPE_NUM);
embed_function("NumGyros", ID_TYPE_FN_NUM);
embed_function("TouchX", ID_TYPE_FN_NUM);
embed_function("TouchY", ID_TYPE_FN_NUM);
embed_function("CheckSockets", ID_TYPE_FN_NUM);
add_embedded_arg("timeout_ms", ID_TYPE_NUM);
embed_function("TCP_SocketReady", ID_TYPE_FN_NUM);
@@ -1083,6 +1085,14 @@ 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("Steam_AddAchievement", ID_TYPE_SUB);
add_embedded_arg("ach_id$", ID_TYPE_STR);
add_embedded_arg("ach_name$", ID_TYPE_STR);
embed_function("Steam_ClearAchievements", ID_TYPE_SUB);
embed_function("Steam_FinalizeAchievements", ID_TYPE_SUB);
embed_function("Steam_TriggerAchievement", ID_TYPE_FN_NUM);
add_embedded_arg("ach_name$", ID_TYPE_STR);
embed_function("Steam_GetID$", 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);
@@ -2022,6 +2032,24 @@ add_embedded_arg("dim_y", ID_TYPE_NUM);
add_embedded_arg("dim_z", ID_TYPE_NUM);
embed_function("DeleteAN8", ID_TYPE_SUB);
add_embedded_arg("an8_project", ID_TYPE_NUM);
embed_function("SetMeshBoundingBox", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
add_embedded_arg("min_x", ID_TYPE_NUM);
add_embedded_arg("min_y", ID_TYPE_NUM);
add_embedded_arg("min_z", ID_TYPE_NUM);
add_embedded_arg("max_x", ID_TYPE_NUM);
add_embedded_arg("max_y", ID_TYPE_NUM);
add_embedded_arg("max_z", ID_TYPE_NUM);
embed_function("GetMeshBoundingBox", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
add_embedded_arg("min_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("min_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("min_z", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_z", ID_TYPE_BYREF_NUM);
embed_function("ReCalculateMeshBoundingBox", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("CreateAnimatedActor", ID_TYPE_FN_NUM);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("CreateOctreeActor", ID_TYPE_FN_NUM);

File diff suppressed because it is too large Load Diff

View File

@@ -1042,6 +1042,12 @@ case FN_GyroName$: //String Function
case FN_NumGyros: //Number Function
rc_push_num(rc_numGyros( ));
break;
case FN_TouchX: //Number Function
rc_push_num(rc_getTouchX( ));
break;
case FN_TouchY: //Number Function
rc_push_num(rc_getTouchY( ));
break;
case FN_CheckSockets: //Number Function
rc_push_num(rc_net_checkSockets( CHECKSOCKETS_TIMEOUT_MS ));
break;
@@ -1214,6 +1220,21 @@ case FN_SystemRam: //Number Function
case FN_GetGPUInfo$: //String Function
rc_push_str(rc_getGPUInfo( ));
break;
case FN_Steam_AddAchievement: //Sub Procedure
rc_steam_AddAchievement( STEAM_ADDACHIEVEMENT_ACH_ID$, STEAM_ADDACHIEVEMENT_ACH_NAME$ );
break;
case FN_Steam_ClearAchievements: //Sub Procedure
rc_steam_ClearAchievements( );
break;
case FN_Steam_FinalizeAchievements: //Sub Procedure
rc_steam_FinalizeAchievements( );
break;
case FN_Steam_TriggerAchievement: //Number Function
rc_push_num(rc_steam_TriggerAchievement( STEAM_TRIGGERACHIEVEMENT_ACH_NAME$ ));
break;
case FN_Steam_GetID$: //String Function
rc_push_str(rc_steam_GetID( ));
break;
case FN_DimMatrix: //Number Function
rc_push_num(rc_dimMatrix( DIMMATRIX_M_ROWS, DIMMATRIX_M_COLS ));
break;
@@ -2036,6 +2057,15 @@ case FN_CreateVolumeLightMesh: //Number Function
case FN_DeleteAN8: //Sub Procedure
rc_deleteAN8( DELETEAN8_AN8_PROJECT );
break;
case FN_SetMeshBoundingBox: //Sub Procedure
rc_setMeshBoundingBox( SETMESHBOUNDINGBOX_MESH, SETMESHBOUNDINGBOX_MIN_X, SETMESHBOUNDINGBOX_MIN_Y, SETMESHBOUNDINGBOX_MIN_Z, SETMESHBOUNDINGBOX_MAX_X, SETMESHBOUNDINGBOX_MAX_Y, SETMESHBOUNDINGBOX_MAX_Z );
break;
case FN_GetMeshBoundingBox: //Sub Procedure
rc_getMeshBoundingBox( GETMESHBOUNDINGBOX_MESH, &GETMESHBOUNDINGBOX_MIN_X, &GETMESHBOUNDINGBOX_MIN_Y, &GETMESHBOUNDINGBOX_MIN_Z, &GETMESHBOUNDINGBOX_MAX_X, &GETMESHBOUNDINGBOX_MAX_Y, &GETMESHBOUNDINGBOX_MAX_Z );
break;
case FN_ReCalculateMeshBoundingBox: //Sub Procedure
rc_reCalculateMeshBoundingBox( RECALCULATEMESHBOUNDINGBOX_MESH );
break;
case FN_CreateAnimatedActor: //Number Function
rc_push_num(rc_createAnimatedActor( CREATEANIMATEDACTOR_MESH ));
break;

View File

@@ -56,6 +56,7 @@
#include "rc_audio.h"
#include "rc_net.h"
#include "rc_video.h"
#include "rc_steam_lib.h"
#include "rc_windowclose.h"
#include "rc_test.h"
#include <irrtheora.h>
@@ -4398,7 +4399,7 @@ int main(int argc, char * argv[])
if(rc_filename.compare("--version")==0)
{
cout << "RCBASIC Runtime v4.2" << endl;
cout << "RCBASIC Runtime v4.3" << endl;
return 0;
}
@@ -4456,10 +4457,10 @@ int main(int argc, char * argv[])
//rc_intern_dirChange("");
rc_filename = "main.cbc";
rc_intern_dirChange("/home/n00b/Pictures/UNTITLED");
rc_filename = "nv_test.cbc";
//rc_intern_dirChange("/home/n00b/Pictures/UNTITLED");
//rc_filename = "nv_test.cbc";
rc_intern_dirChange("/home/n00b/test/stp");
rc_intern_dirChange("/home/n00b/Experimental/android-project/app/src/main/assets");
rc_filename = "main.cbc";
#endif
//---------------

0
rcbasic_runtime/rc_actor_animation.h Normal file → Executable file
View File

4
rcbasic_runtime/rc_actor_material.h Normal file → Executable file
View File

@@ -167,6 +167,10 @@ int rc_createMaterial()
rc_material.push_back(mat);
}
#if defined(__ANDROID__)
rc_material[material_id].mat.UseMipMaps = false;
#endif // defined
return material_id;
}

0
rcbasic_runtime/rc_actor_physics.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_audio.h Normal file → Executable file
View File

50
rcbasic_runtime/rc_base_actor.h Normal file → Executable file
View File

@@ -287,6 +287,11 @@ int rc_createAnimatedActor(int mesh_id)
}
actor.mesh_node = node;
#if defined(__ANDROID__)
actor.mesh_node->setMaterialFlag(irr::video::EMF_USE_MIP_MAPS, false);
#endif // defined
actor.shadow = NULL;
actor.transition = false;
actor.transition_time = 0;
@@ -366,6 +371,11 @@ int rc_createOctreeActor(int mesh_id)
rc_scene_node actor;
actor.node_type = RC_NODE_TYPE_OTMESH;
actor.mesh_node = node;
#if defined(__ANDROID__)
actor.mesh_node->setMaterialFlag(irr::video::EMF_USE_MIP_MAPS, false);
#endif // defined
actor.shadow = NULL;
actor.transition = false;
actor.transition_time = 0;
@@ -413,6 +423,11 @@ int rc_createTerrainActor( std::string height_map )
rc_scene_node actor;
actor.node_type = RC_NODE_TYPE_TERRAIN;
actor.mesh_node = node;
#if defined(__ANDROID__)
actor.mesh_node->setMaterialFlag(irr::video::EMF_USE_MIP_MAPS, false);
#endif // defined
actor.shadow = NULL;
actor.transition = false;
actor.transition_time = 0;
@@ -460,6 +475,11 @@ int rc_createParticleActor( int particle_type )
actor.particle_properties.particle_type = particle_type;
actor.particle_properties.mesh_id = -1;
actor.mesh_node = node;
#if defined(__ANDROID__)
actor.mesh_node->setMaterialFlag(irr::video::EMF_USE_MIP_MAPS, false);
#endif // defined
actor.shadow = NULL;
actor.transition = false;
actor.transition_time = 0;
@@ -506,6 +526,11 @@ int rc_createCubeActor(double cube_size)
rc_scene_node actor;
actor.node_type = RC_NODE_TYPE_MESH;
actor.mesh_node = node;
#if defined(__ANDROID__)
actor.mesh_node->setMaterialFlag(irr::video::EMF_USE_MIP_MAPS, false);
#endif // defined
actor.shadow = NULL;
actor.transition = false;
actor.transition_time = 0;
@@ -551,6 +576,11 @@ int rc_createSphereActor(double radius)
rc_scene_node actor;
actor.node_type = RC_NODE_TYPE_MESH;
actor.mesh_node = node;
#if defined(__ANDROID__)
actor.mesh_node->setMaterialFlag(irr::video::EMF_USE_MIP_MAPS, false);
#endif // defined
actor.shadow = NULL;
actor.transition = false;
actor.transition_time = 0;
@@ -604,6 +634,11 @@ int rc_createWaterActor(int mesh_id, double waveHeight, double waveSpeed, double
rc_scene_node actor;
actor.node_type = RC_NODE_TYPE_WATER;
actor.mesh_node = node;
#if defined(__ANDROID__)
actor.mesh_node->setMaterialFlag(irr::video::EMF_USE_MIP_MAPS, false);
#endif // defined
actor.shadow = NULL;
actor.transition = false;
actor.transition_time = 0;
@@ -648,6 +683,11 @@ int rc_createBillboardActor()
rc_scene_node actor;
actor.node_type = RC_NODE_TYPE_BILLBOARD;
actor.mesh_node = node;
#if defined(__ANDROID__)
actor.mesh_node->setMaterialFlag(irr::video::EMF_USE_MIP_MAPS, false);
#endif // defined
actor.shadow = NULL;
actor.transition = false;
actor.transition_time = 0;
@@ -692,6 +732,11 @@ int rc_createLightActor()
rc_scene_node actor;
actor.node_type = RC_NODE_TYPE_LIGHT;
actor.mesh_node = node;
#if defined(__ANDROID__)
actor.mesh_node->setMaterialFlag(irr::video::EMF_USE_MIP_MAPS, false);
#endif // defined
actor.shadow = NULL;
actor.transition = false;
actor.transition_time = 0;
@@ -736,6 +781,11 @@ int rc_createProjectorActor()
rc_scene_node actor;
actor.node_type = RC_NODE_TYPE_PROJECTOR;
actor.mesh_node = node;
#if defined(__ANDROID__)
actor.mesh_node->setMaterialFlag(irr::video::EMF_USE_MIP_MAPS, false);
#endif // defined
actor.shadow = NULL;
actor.transition = false;
actor.transition_time = 0;

0
rcbasic_runtime/rc_camera.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_constraint.h Normal file → Executable file
View File

File diff suppressed because it is too large Load Diff

0
rcbasic_runtime/rc_font.h Normal file → Executable file
View File

View File

@@ -1042,6 +1042,12 @@ case FN_GyroName$: //String Function
case FN_NumGyros: //Number Function
rc_push_num(rc_numGyros( ));
break;
case FN_TouchX: //Number Function
rc_push_num(rc_getTouchX( ));
break;
case FN_TouchY: //Number Function
rc_push_num(rc_getTouchY( ));
break;
case FN_CheckSockets: //Number Function
rc_push_num(rc_net_checkSockets( CHECKSOCKETS_TIMEOUT_MS ));
break;
@@ -1214,6 +1220,21 @@ case FN_SystemRam: //Number Function
case FN_GetGPUInfo$: //String Function
rc_push_str(rc_getGPUInfo( ));
break;
case FN_Steam_AddAchievement: //Sub Procedure
rc_steam_AddAchievement( STEAM_ADDACHIEVEMENT_ACH_ID$, STEAM_ADDACHIEVEMENT_ACH_NAME$ );
break;
case FN_Steam_ClearAchievements: //Sub Procedure
rc_steam_ClearAchievements( );
break;
case FN_Steam_FinalizeAchievements: //Sub Procedure
rc_steam_FinalizeAchievements( );
break;
case FN_Steam_TriggerAchievement: //Number Function
rc_push_num(rc_steam_TriggerAchievement( STEAM_TRIGGERACHIEVEMENT_ACH_NAME$ ));
break;
case FN_Steam_GetID$: //String Function
rc_push_str(rc_steam_GetID( ));
break;
case FN_DimMatrix: //Number Function
rc_push_num(rc_dimMatrix( DIMMATRIX_M_ROWS, DIMMATRIX_M_COLS ));
break;
@@ -2036,6 +2057,15 @@ case FN_CreateVolumeLightMesh: //Number Function
case FN_DeleteAN8: //Sub Procedure
rc_deleteAN8( DELETEAN8_AN8_PROJECT );
break;
case FN_SetMeshBoundingBox: //Sub Procedure
rc_setMeshBoundingBox( SETMESHBOUNDINGBOX_MESH, SETMESHBOUNDINGBOX_MIN_X, SETMESHBOUNDINGBOX_MIN_Y, SETMESHBOUNDINGBOX_MIN_Z, SETMESHBOUNDINGBOX_MAX_X, SETMESHBOUNDINGBOX_MAX_Y, SETMESHBOUNDINGBOX_MAX_Z );
break;
case FN_GetMeshBoundingBox: //Sub Procedure
rc_getMeshBoundingBox( GETMESHBOUNDINGBOX_MESH, &GETMESHBOUNDINGBOX_MIN_X, &GETMESHBOUNDINGBOX_MIN_Y, &GETMESHBOUNDINGBOX_MIN_Z, &GETMESHBOUNDINGBOX_MAX_X, &GETMESHBOUNDINGBOX_MAX_Y, &GETMESHBOUNDINGBOX_MAX_Z );
break;
case FN_ReCalculateMeshBoundingBox: //Sub Procedure
rc_reCalculateMeshBoundingBox( RECALCULATEMESHBOUNDINGBOX_MESH );
break;
case FN_CreateAnimatedActor: //Number Function
rc_push_num(rc_createAnimatedActor( CREATEANIMATEDACTOR_MESH ));
break;

0
rcbasic_runtime/rc_fx_materials.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_fx_shaders.h Normal file → Executable file
View File

View File

@@ -2334,6 +2334,16 @@ void rc_getTouch(double * status, double * x, double * y, double * distX, double
return;
}
int rc_getTouchX()
{
return rc_touchX;
}
int rc_getTouchY()
{
return rc_touchY;
}
void rc_getMultiTouch(double * status, double * x, double * y, double * numFingers, double * dist, double * theta)
{
*status = (double)rc_mt_status;

0
rcbasic_runtime/rc_gfx3D.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_gfx_core.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_joints.h Normal file → Executable file
View File

45
rcbasic_runtime/rc_mesh.h Normal file → Executable file
View File

@@ -75,6 +75,51 @@ int rc_loadMeshFromArchive(std::string archive, std::string mesh_file)
return mesh_id;
}
void rc_setMeshBoundingBox(int mesh_id, double min_x, double min_y, double min_z, double max_x, double max_y, double max_z)
{
if(mesh_id < 0 || mesh_id >= rc_mesh.size())
return;
if(rc_mesh[mesh_id].mesh)
{
rc_mesh[mesh_id].mesh->setBoundingBox( irr::core::aabbox3df(min_x, min_y, min_z, max_x, max_y, max_z) );
}
}
void rc_getMeshBoundingBox(int mesh_id, double* min_x, double* min_y, double* min_z, double* max_x, double* max_y, double* max_z)
{
if(mesh_id < 0 || mesh_id >= rc_mesh.size())
return;
if(rc_mesh[mesh_id].mesh)
{
irr::core::aabbox3df bbox = rc_mesh[mesh_id].mesh->getBoundingBox();
*min_x = bbox.MinEdge.X;
*min_y = bbox.MinEdge.Y;
*min_z = bbox.MinEdge.Z;
*max_x = bbox.MaxEdge.X;
*max_y = bbox.MaxEdge.Y;
*max_z = bbox.MaxEdge.Z;
}
}
void rc_reCalculateMeshBoundingBox(int mesh_id)
{
if(mesh_id < 0 || mesh_id >= rc_mesh.size())
return;
if(rc_mesh[mesh_id].mesh)
{
for(int i = 0; i < rc_mesh[mesh_id].mesh->getMeshBufferCount(); i++)
rc_mesh[mesh_id].mesh->getMeshBuffer(i)->recalculateBoundingBox();
}
}
int rc_loadAN8(std::string an8_file)
{
int id = -1;

0
rcbasic_runtime/rc_net.h Normal file → Executable file
View File

View File

@@ -2,7 +2,7 @@
#define RC_OS_DEFINES_H_INCLUDED
//USED FOR TESTING ONLY
//#define RC_TESTING
#define RC_TESTING
//I am checking Android first since I think it also defines __linux__
@@ -40,7 +40,7 @@
//FOR TESTING PURPOSES
#ifdef RC_TESTING
//#define RC_DRIVER_GLES2
#define RC_DRIVER_GLES2
#endif // RC_TESTING
#define RC_PI 3.14159265359

0
rcbasic_runtime/rc_particles.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_physics3D_base.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_scene.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_sprite2D.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_sprite_physics.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_spritelib.h Normal file → Executable file
View File

View File

@@ -1,5 +1,6 @@
#include "rc_steam.h"
CSteamAchievements::CSteamAchievements(Achievement_t *Achievements, int NumAchievements):
m_iAppID( 0 ),
m_bInitialized( false ),
@@ -13,6 +14,11 @@ CSteamAchievements::CSteamAchievements(Achievement_t *Achievements, int NumAchie
RequestStats();
}
void CSteamAchievements::OutputDebugString(std::string dbg_string)
{
std::cout << dbg_string << std::endl;
}
bool CSteamAchievements::RequestStats()
{
@@ -26,8 +32,9 @@ bool CSteamAchievements::RequestStats()
{
return false;
}
// Request user stats.
return SteamUserStats()->RequestCurrentStats();
// Request user stats. NOTE: No longer required according to header
//return SteamUserStats()->RequestCurrentStats();
return true;
}
@@ -43,6 +50,10 @@ bool CSteamAchievements::SetAchievement(const char* ID)
return false;
}
int64 CSteamAchievements::GetAppID()
{
return m_iAppID;
}
void CSteamAchievements::OnUserStatsReceived( UserStatsReceived_t *pCallback )
{
@@ -60,10 +71,12 @@ void CSteamAchievements::OnUserStatsReceived( UserStatsReceived_t *pCallback )
Achievement_t &ach = m_pAchievements[iAch];
SteamUserStats()->GetAchievement(ach.m_pchAchievementID, &ach.m_bAchieved);
_snprintf( ach.m_rgchName, sizeof(ach.m_rgchName), "%s",
printf( ach.m_rgchName, sizeof(ach.m_rgchName), "%s",
SteamUserStats()->GetAchievementDisplayAttribute(ach.m_pchAchievementID,
"name"));
_snprintf( ach.m_rgchDescription, sizeof(ach.m_rgchDescription), "%s",
printf( ach.m_rgchDescription, sizeof(ach.m_rgchDescription), "%s",
SteamUserStats()->GetAchievementDisplayAttribute(ach.m_pchAchievementID,
"desc"));
}
@@ -71,7 +84,7 @@ void CSteamAchievements::OnUserStatsReceived( UserStatsReceived_t *pCallback )
else
{
char buffer[128];
_snprintf( buffer, 128, "RequestStats - failed, %d\n", pCallback->m_eResult );
printf( buffer, 128, "RequestStats - failed, %d\n", pCallback->m_eResult );
OutputDebugString( buffer );
}
}
@@ -90,7 +103,7 @@ void CSteamAchievements::OnUserStatsStored( UserStatsStored_t *pCallback )
else
{
char buffer[128];
_snprintf( buffer, 128, "StatsStored - failed, %d\n", pCallback->m_eResult );
printf( buffer, 128, "StatsStored - failed, %d\n", pCallback->m_eResult );
OutputDebugString( buffer );
}
}

View File

@@ -1,7 +1,9 @@
#ifndef RC_STEAM_H_INCLUDED
#define RC_STEAM_H_INCLUDED
#include <iostream>
#include <steam/steam_api.h>
#include <steam/isteamuserstats.h>
#define _ACH_ID( id, name ) { id, #id, name, "", 0, 0 }
struct Achievement_t
@@ -27,9 +29,13 @@ public:
CSteamAchievements(Achievement_t *Achievements, int NumAchievements);
~CSteamAchievements();
void OutputDebugString(std::string dbg_string);
bool RequestStats();
bool SetAchievement(const char* ID);
int64 GetAppID();
STEAM_CALLBACK( CSteamAchievements, OnUserStatsReceived, UserStatsReceived_t,
m_CallbackUserStatsReceived );
STEAM_CALLBACK( CSteamAchievements, OnUserStatsStored, UserStatsStored_t,

View File

@@ -1,22 +1,100 @@
#include <steam/steam_api.h>
#ifndef RC_STEAM_LIB_H_INCLUDED
#define RC_STEAM_LIB_H_INCLUDED
// Defining our achievements
enum EAchievements
{
ACH_WIN_ONE_GAME = 0,
ACH_WIN_100_GAMES = 1,
ACH_TRAVEL_FAR_ACCUM = 2,
ACH_TRAVEL_FAR_SINGLE = 3,
};
#if defined(RC_WINDOWS) || defined(RC_LINUX) || defined(RC_MAC)
#include <iostream>
#include <vector>
#include <sstream>
#include "rc_steam.h"
// Achievement array which will hold data about the achievements and their state
Achievement_t g_Achievements[] =
{
_ACH_ID( ACH_WIN_ONE_GAME, "Winner" ),
_ACH_ID( ACH_WIN_100_GAMES, "Champion" ),
_ACH_ID( ACH_TRAVEL_FAR_ACCUM, "Interstellar" ),
_ACH_ID( ACH_TRAVEL_FAR_SINGLE, "Orbiter" ),
};
std::vector<Achievement_t> rc_achievements;
// Global access to Achievements object
CSteamAchievements* g_SteamAchievements = NULL;
void rc_steam_AddAchievement(std::string achievement_id_var, std::string achievement_name)
{
int n = (int)rc_achievements.size();
Achievement_t ach_n;
ach_n.m_eAchievementID = n;
ach_n.m_pchAchievementID = achievement_id_var.c_str();
for(int i = 0; i < 128; i++)
ach_n.m_rgchName[i] = achievement_name.substr(i, 1).c_str()[0];
for(int i = 0; i < 256; i++)
ach_n.m_rgchDescription[i] = '\0';
ach_n.m_bAchieved = false;
ach_n.m_iIconImage = 0;
rc_achievements.push_back( ach_n );
}
void rc_steam_ClearAchievements()
{
rc_achievements.clear();
}
void rc_steam_FinalizeAchievements()
{
if(!g_SteamAchievements)
{
int ach_count = (int)rc_achievements.size();
Achievement_t ach_array[ach_count];
for(int i = 0; i < ach_count; i++)
ach_array[i] = rc_achievements[i];
g_SteamAchievements = new CSteamAchievements(ach_array, ach_count);
}
}
bool rc_steam_TriggerAchievement(std::string ach_name)
{
if(!g_SteamAchievements)
{
return false;
}
return g_SteamAchievements->SetAchievement(ach_name.c_str());
}
std::string rc_steam_GetID()
{
std::stringstream ss;
ss << g_SteamAchievements->GetAppID();
return ss.str();
}
#else
void rc_steam_AddAchievement(std::string achievement_id_var, std::string achievement_name)
{
}
void rc_steam_ClearAchievements()
{
}
void rc_steam_FinalizeAchievements()
{
}
bool rc_steam_TriggerAchievement(std::string ach_name)
{
return false;
}
std::string rc_steam_getID()
{
return "";
}
#endif // defined
#endif // RC_STEAM_LIB_H_INCLUDED

0
rcbasic_runtime/rc_test.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_tilelib.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_tilemap.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_utf8.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_video.h Normal file → Executable file
View File

0
rcbasic_runtime/rc_windowclose.h Normal file → Executable file
View File

View File

@@ -37,10 +37,12 @@
<Add directory="/home/n00b/Projects/irrBullet/include" />
<Add directory="/home/n00b/Projects/irrTheora" />
<Add directory="/home/n00b/Projects/an8-parser" />
<Add directory="/home/n00b/Projects/steamworks_sdk_162/sdk/public" />
</Compiler>
<Linker>
<Add option="-lSDL2main -lSDL2 -lSDL2_image -lSDL2_gfx -lSDL2_ttf -lSDL2_mixer -lSDL2_net -logg -lvorbis -lvorbisfile -ltheora -ltheoradec -lIrrlicht -lfreetype -lbox2d -lBullet3Collision -lBullet3Common -lBullet3Dynamics -lBullet3Geometry -lBulletCollision -lBulletDynamics -lBulletInverseDynamics -lBulletSoftBody -lLinearMath -pthread" />
<Add option="-lSDL2main -lSDL2 -lSDL2_image -lSDL2_gfx -lSDL2_ttf -lSDL2_mixer -lSDL2_net -logg -lvorbis -lvorbisfile -ltheora -ltheoradec -lIrrlicht -lfreetype -lbox2d -lBullet3Collision -lBullet3Common -lBullet3Dynamics -lBullet3Geometry -lBulletCollision -lBulletDynamics -lBulletSoftBody -lLinearMath -lsteam_api -pthread" />
<Add directory="/home/n00b/Projects/RCIrrlicht/lib/Linux" />
<Add directory="/home/n00b/Projects/steamworks_sdk_162/sdk/redistributable_bin/linux64" />
</Linker>
<Unit filename="../../irrBullet/src/irrBullet.cpp" />
<Unit filename="../../irrBullet/src/irrBulletBoxShape.cpp" />
@@ -71,7 +73,6 @@
<Unit filename="CShader.h" />
<Unit filename="ProjectiveTextures.cpp" />
<Unit filename="ProjectiveTextures.h" />
<Unit filename="RealisticWater.cpp" />
<Unit filename="RealisticWater.h" />
<Unit filename="camera.h" />
<Unit filename="gui_freetype_font.cpp" />
@@ -106,6 +107,9 @@
<Unit filename="rc_sprite_physics.h" />
<Unit filename="rc_spritelib.h" />
<Unit filename="rc_stdlib.h" />
<Unit filename="rc_steam.cpp" />
<Unit filename="rc_steam.h" />
<Unit filename="rc_steam_lib.h" />
<Unit filename="rc_test.h" />
<Unit filename="rc_tilelib.h" />
<Unit filename="rc_tilemap.h" />

File diff suppressed because it is too large Load Diff

View File

@@ -2,9 +2,119 @@
<CodeBlocks_layout_file>
<FileVersion major="1" minor="0" />
<ActiveTarget name="Debug" />
<File name="CShader.cpp" open="0" top="0" tabpos="26" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="rc_audio.h" open="0" top="0" tabpos="18" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="10120" topLine="352" />
<Cursor1 position="6531" topLine="311" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBulletcommon.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="924" topLine="6" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBullet.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="7" />
</Cursor>
</File>
<File name="rc_video.h" open="0" top="0" tabpos="21" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="169" topLine="6" />
</Cursor>
</File>
<File name="rc_actor_physics.h" open="0" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="0" />
</Cursor>
</File>
<File name="rc_base_actor.h" open="1" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="20648" topLine="1279" />
</Cursor>
</File>
<File name="rc_gfx3D.h" open="0" top="0" tabpos="14" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="565" topLine="0" />
</Cursor>
</File>
<File name="rc_func130_cases.h" open="1" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="83677" topLine="2023" />
</Cursor>
</File>
<File name="rc_stdlib.h" open="0" top="0" tabpos="14" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="26127" topLine="1131" />
</Cursor>
</File>
<File name="rc_tilelib.h" open="0" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="6694" topLine="319" />
</Cursor>
</File>
<File name="ProjectiveTextures.h" open="0" top="0" tabpos="34" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="110" topLine="0" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBulletCollisionCallBackInformation.cpp" open="0" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1253" topLine="0" />
</Cursor>
</File>
<File name="rc_sprite2D.h" open="1" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="558" topLine="6" />
</Cursor>
</File>
<File name="rc_constraint.h" open="0" top="0" tabpos="15" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="8391" topLine="231" />
</Cursor>
</File>
<File name="rc_actor_material.h" open="1" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4161" topLine="1314" />
</Cursor>
</File>
<File name="rc_font.h" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="0" />
</Cursor>
</File>
<File name="rc_mesh.h" open="1" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2362" topLine="89" />
</Cursor>
</File>
<File name="main.cpp" open="1" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="133759" topLine="4451" />
</Cursor>
</File>
<File name="rc_tilemap.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="243" topLine="26" />
</Cursor>
</File>
<File name="camera.h" open="0" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4758" topLine="241" />
</Cursor>
</File>
<File name="rc_steam_lib.h" open="1" top="0" tabpos="19" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1822" topLine="54" />
</Cursor>
</File>
<File name="CShader.h" open="0" top="0" tabpos="25" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2314" topLine="101" />
</Cursor>
</File>
<File name="rc_matrix.h" open="0" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="34977" topLine="1288" />
</Cursor>
</File>
<File name="rc_sprite_physics.h" open="0" top="0" tabpos="38" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
@@ -17,54 +127,19 @@
<Cursor1 position="183" topLine="0" />
</Cursor>
</File>
<File name="rc_os_defines.h" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="rc_actor_animation.h" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="302" topLine="0" />
<Cursor1 position="9592" topLine="289" />
</Cursor>
</File>
<File name="rc_media.h" open="0" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="rc_geometry.h" open="0" top="0" tabpos="20" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="49342" topLine="1655" />
<Cursor1 position="20919" topLine="652" />
</Cursor>
</File>
<File name="camera.h" open="0" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="ProjectiveTextures.cpp" open="1" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4758" topLine="241" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBullet.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="7" />
</Cursor>
</File>
<File name="rc_gfx_core.h" open="0" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="19850" topLine="702" />
</Cursor>
</File>
<File name="rc_constraint.h" open="0" top="0" tabpos="15" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="8391" topLine="231" />
</Cursor>
</File>
<File name="rc_tilemap.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="243" topLine="26" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBulletCollisionCallBackInformation.cpp" open="0" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1253" topLine="0" />
</Cursor>
</File>
<File name="rc_stdlib.h" open="0" top="0" tabpos="14" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="26127" topLine="1131" />
</Cursor>
</File>
<File name="rc_net.h" open="0" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3769" topLine="186" />
<Cursor1 position="348" topLine="166" />
</Cursor>
</File>
<File name="rc_fx_materials.h" open="0" top="0" tabpos="22" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
@@ -75,33 +150,14 @@
<Collapse line="47" />
</Folding>
</File>
<File name="ProjectiveTextures.cpp" open="0" top="0" tabpos="35" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="rc_os_defines.h" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="348" topLine="0" />
<Cursor1 position="891" topLine="34" />
</Cursor>
</File>
<File name="rc_gfx.h" open="0" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="rc_steam.cpp" open="1" top="0" tabpos="17" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="28149" topLine="1092" />
</Cursor>
</File>
<File name="rc_audio.h" open="0" top="0" tabpos="18" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="6531" topLine="311" />
</Cursor>
</File>
<File name="rc_windowclose.h" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="20057" topLine="536" />
</Cursor>
<Folding>
<Collapse line="537" />
<Collapse line="555" />
</Folding>
</File>
<File name="rc_gfx3D.h" open="0" top="0" tabpos="14" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="565" topLine="0" />
<Cursor1 position="564" topLine="0" />
</Cursor>
</File>
<File name="rc_defines.h" open="0" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
@@ -109,129 +165,9 @@
<Cursor1 position="190390" topLine="2847" />
</Cursor>
</File>
<File name="ProjectiveTextures.h" open="0" top="0" tabpos="34" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="rc_gfx.h" open="1" top="1" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="110" topLine="0" />
</Cursor>
</File>
<File name="rc_actor_physics.h" open="0" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="0" />
</Cursor>
</File>
<File name="rc_actor_material.h" open="0" top="0" tabpos="23" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="5301" topLine="744" />
</Cursor>
</File>
<File name="rc_physics3D_base.h" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3283" topLine="66" />
</Cursor>
</File>
<File name="rc_base_actor.h" open="0" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="5915" topLine="148" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBulletRigidBody.cpp" open="0" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2248" topLine="493" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBulletcommon.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="924" topLine="6" />
</Cursor>
</File>
<File name="rc_actor_animation.h" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="9592" topLine="289" />
</Cursor>
</File>
<File name="CShader.h" open="0" top="0" tabpos="25" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2314" topLine="101" />
</Cursor>
</File>
<File name="main.cpp" open="1" top="1" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="133506" topLine="6" />
</Cursor>
</File>
<File name="rc_video.h" open="0" top="0" tabpos="21" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="169" topLine="6" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBulletCollisionObject.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="384" />
</Cursor>
</File>
<File name="rc_mesh.h" open="0" top="0" tabpos="36" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3504" topLine="179" />
</Cursor>
</File>
<File name="rc_geometry.h" open="0" top="0" tabpos="20" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="20919" topLine="652" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBulletGhostObject.cpp" open="0" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1861" topLine="27" />
</Cursor>
</File>
<File name="rc_func130_cases.h" open="0" top="0" tabpos="32" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="81110" topLine="1966" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBulletWorld.cpp" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="18445" topLine="18" />
</Cursor>
</File>
<File name="rc_matrix.h" open="0" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="34977" topLine="1288" />
</Cursor>
</File>
<File name="rc_tilelib.h" open="0" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="6694" topLine="319" />
</Cursor>
</File>
<File name="rc_font.h" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="0" />
</Cursor>
</File>
<File name="rc_scene.h" open="0" top="0" tabpos="30" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1298" topLine="28" />
</Cursor>
</File>
<File name="gui_freetype_font.cpp" open="0" top="0" tabpos="24" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="792" topLine="0" />
</Cursor>
</File>
<File name="rc_sprite2D.h" open="1" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="558" topLine="12" />
</Cursor>
</File>
<File name="rc_joints.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="310" topLine="0" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBulletSoftBody.cpp" open="0" top="0" tabpos="14" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="885" topLine="2" />
<Cursor1 position="10449" topLine="346" />
</Cursor>
</File>
<File name="rc_particles.h" open="0" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
@@ -239,19 +175,94 @@
<Cursor1 position="6262" topLine="615" />
</Cursor>
</File>
<File name="rc_media.h" open="0" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="49342" topLine="1655" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBulletCollisionObject.cpp" open="0" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="322" topLine="4" />
</Cursor>
</File>
<File name="rc_gfx_core.h" open="1" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="23585" topLine="788" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBulletWorld.cpp" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="18445" topLine="18" />
</Cursor>
</File>
<File name="rc_net.h" open="0" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3769" topLine="186" />
</Cursor>
</File>
<File name="rc_spritelib.h" open="1" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="48031" topLine="1690" />
</Cursor>
</File>
<File name="rc_steam.h" open="1" top="0" tabpos="18" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="790" topLine="15" />
</Cursor>
</File>
<File name="CShader.cpp" open="0" top="0" tabpos="26" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="10120" topLine="352" />
</Cursor>
</File>
<File name="rc_scene.h" open="0" top="0" tabpos="30" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1298" topLine="28" />
</Cursor>
</File>
<File name="rc_windowclose.h" open="1" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="23822" topLine="570" />
</Cursor>
<Folding>
<Collapse line="90" />
<Collapse line="537" />
<Collapse line="555" />
</Folding>
</File>
<File name="rc_test.h" open="0" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="115" topLine="0" />
</Cursor>
</File>
<File name="RealisticWater.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="gui_freetype_font.cpp" open="0" top="0" tabpos="24" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="7671" topLine="204" />
<Cursor1 position="792" topLine="0" />
</Cursor>
</File>
<File name="rc_spritelib.h" open="1" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="../../irrBullet/src/irrBulletSoftBody.cpp" open="0" top="0" tabpos="14" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="562" topLine="0" />
<Cursor1 position="885" topLine="2" />
</Cursor>
</File>
<File name="rc_joints.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="310" topLine="0" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBulletRigidBody.cpp" open="0" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2248" topLine="493" />
</Cursor>
</File>
<File name="rc_physics3D_base.h" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3283" topLine="66" />
</Cursor>
</File>
<File name="../../irrBullet/src/irrBulletGhostObject.cpp" open="0" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1861" topLine="27" />
</Cursor>
</File>
</CodeBlocks_layout_file>