Removed binary files
This commit is contained in:
@@ -2,30 +2,12 @@ function CreateMeshActor( mesh )
|
||||
function CreateMeshOctreeActor( mesh )
|
||||
function CreateCubeActor( cube_size )
|
||||
function CreateSphereActor( radius )
|
||||
function CreateWaterPlaneActor( w, h )
|
||||
function CreateLightActor( )
|
||||
function CreateBillboardActor( )
|
||||
function CreateTerrainActor( hmap_file$ )
|
||||
sub DeleteActor( actor )
|
||||
sub GetActorTransform( actor, matrix )
|
||||
function CreateTerrainActor( hmap_file$ )
|
||||
sub GetTerrainPatchAABB( actor, patchX, patchZ, ByRef minX, ByRef minY, ByRef minZ, ByRef maxX, ByRef maxY, ByRef maxZ )
|
||||
function GetTerrainPatchLOD( actor, patchX, patchZ )
|
||||
function GetTerrainHeight( actor, patchX, patchZ )
|
||||
sub GetTerrainCenter( actor, ByRef x, ByRef y, ByRef z )
|
||||
sub SetTerrainLODDistance( actor, LOD, distance )
|
||||
sub ScaleTerrainTexture( actor, scale, scale2 )
|
||||
sub SetTerrainCameraMovementDelta( actor, delta )
|
||||
sub SetTerrainCameraRotationDelta( actor, delta )
|
||||
sub SetTerrainPatchLOD( actor, patchX, patchZ, LOD )
|
||||
sub SetActorTexture( actor, layer, image_id )
|
||||
sub SetActorTextureEx( actor, material, layer, resource_type, resource_id )
|
||||
function GetActorTexture( actor, material, layer )
|
||||
function GetActorMaterialCount( actor )
|
||||
sub SetActorMaterialFlag( actor, flag, flag_value )
|
||||
sub SetActorMaterialFlagEx( actor, material, flag, flag_value)
|
||||
function GetActorMaterialFlag( actor, material, flag)
|
||||
sub SetActorMaterialType( actor, material_type)
|
||||
sub SetActorMaterialTypeEx( actor, material, material_type)
|
||||
function GetActorMaterialType( actor, material )
|
||||
sub SetActorMaterial( actor, material_num, material_id)
|
||||
function GetActorMaterial( actor, material_num)
|
||||
sub SetActorPosition( actor, x, y, z )
|
||||
sub TranslateActor( actor, x, y, z )
|
||||
sub TranslateActorWorld( actor, x, y, z )
|
||||
@@ -36,41 +18,9 @@ sub GetActorScale( actor, ByRef x, ByRef y, ByRef z )
|
||||
sub SetActorRotation( actor, x, y, z )
|
||||
sub RotateActor( actor, x, y, z )
|
||||
sub GetActorRotation( actor, ByRef x, ByRef y, ByRef z )
|
||||
sub SetActorAnimation( actor, start_frame, end_frame)
|
||||
sub SetActorAnimationSpeed( actor, speed )
|
||||
sub SetActorFrame( actor, frame )
|
||||
function SetActorMD2Animation( actor, anim )
|
||||
function SetActorMD2AnimationByName( actor, anim_name$ )
|
||||
function GetActorAnimationSpeed( actor )
|
||||
function GetActorEndFrame( actor )
|
||||
function GetActorCurrentFrame( actor )
|
||||
function GetActorStartFrame( actor )
|
||||
sub SetActorVisible( actor, flag )
|
||||
function ActorIsVisible( actor )
|
||||
sub SetActorAutoCulling( actor, cull_type )
|
||||
function GetActorAutoCulling( actor )
|
||||
function actorAnimationIsLooped( actor )
|
||||
sub loopActorAnimation( actor, flag )
|
||||
sub AddActorShadow( actor )
|
||||
sub RemoveActorShadow( actor )
|
||||
sub StartActorTransition( actor, frame, transition_time )
|
||||
sub StopActorTransition( actor )
|
||||
function ActorIsInTransition( actor )
|
||||
function GetActorTransitionTime( actor )
|
||||
sub SetActorAnimation( actor, start_frame, end_frame)
|
||||
sub SetActorAnimationSpeed( actor, speed )
|
||||
sub SetActorFrame( actor, frame )
|
||||
sub SetActorJointMode( actor, mode )
|
||||
sub SetActorLoopMode( actor, mode )
|
||||
function SetActorMD2Animation( actor, anim )
|
||||
function SetActorMD2AnimationByName( actor, anim_name$ )
|
||||
sub SetActorMesh( actor, mesh )
|
||||
sub SetActorRenderFromIdentity( actor, flag )
|
||||
sub SetActorTransitionTime( actor )
|
||||
function GetActorLoopMode( actor )
|
||||
function GetActorAnimationSpeed( actor )
|
||||
function GetActorEndFrame( actor )
|
||||
function GetActorCurrentFrame( actor )
|
||||
function GetActorStartFrame( actor )
|
||||
sub SetActorVisible( actor, flag )
|
||||
function GetActorVisible( actor )
|
||||
|
||||
@@ -8,7 +8,7 @@ function GetActorCollision(actor1, actor2)
|
||||
sub SetActorGravity( actor, x, y, z )
|
||||
sub GetActorGravity( actor, ByRef x, ByRef y, ByRef z )
|
||||
sub setActorDamping( actor, lin_damping, ang_damping)
|
||||
function getActorLinearDamping( actor)
|
||||
function getActorLinearDamping( actor)
|
||||
function getActorAngularDamping( actor)
|
||||
function getActorLinearSleepThreshold( actor)
|
||||
function getActorAngularSleepThreshold( actor)
|
||||
@@ -17,7 +17,7 @@ sub setActorMassProperties( actor, mass, inertia_x, inertia_y, inertia_z
|
||||
sub getActorLinearFactor( actor, ByRef x, ByRef y, ByRef z)
|
||||
sub setActorLinearFactor( actor, x, y, z)
|
||||
function getActorInverseMass( actor)
|
||||
sub integrateActorVelocities( actor, step)
|
||||
sub integrateActorVelocities( actor, v_step)
|
||||
sub applyActorCentralForceLocal( actor, x, y, z)
|
||||
sub applyActorCentralForceWorld( actor, x, y, z)
|
||||
sub getActorTotalForce( actor, ByRef x, ByRef y, ByRef z)
|
||||
@@ -53,6 +53,6 @@ function computeActorImpulseDenominator( actor, pos_x, pos_y, pos_z, no
|
||||
function computeActorAngularImpulseDenominator( actor, x, y, z)
|
||||
sub setActorAngularFactor( actor, x, y, z)
|
||||
sub getActorAngularFactor( actor, ByRef x, ByRef y, ByRef z)
|
||||
sub computeActorGyroImpulseLocal( actor, step, ByRef x, ByRef y, ByRef z)
|
||||
sub computeActorGyroImpulseLocal( actor, dt, ByRef x, ByRef y, ByRef z)
|
||||
sub computeActorGyroImpulseWorld( actor, dt, ByRef x, ByRef y, ByRef z)
|
||||
sub getActorLocalInertia( actor, ByRef x, ByRef y, ByRef z)
|
||||
|
||||
15
rcbasic_build/intern_lib/animation.bas
Normal file
15
rcbasic_build/intern_lib/animation.bas
Normal file
@@ -0,0 +1,15 @@
|
||||
sub SetActorAnimation( actor, start_frame, end_frame)
|
||||
sub SetActorAnimationSpeed( actor, speed )
|
||||
sub SetActorFrame( actor, frame )
|
||||
sub SetActorMD2Animation( actor, anim )
|
||||
sub SetActorMD2AnimationByName( actor, anim_name$ )
|
||||
function GetActorAnimationSpeed( actor )
|
||||
function GetActorEndFrame( actor )
|
||||
function GetActorCurrentFrame( actor )
|
||||
function GetActorStartFrame( actor )
|
||||
sub StartActorTransition( actor, frame, transition_time )
|
||||
sub StopActorTransition( actor )
|
||||
function ActorIsInTransition( actor )
|
||||
function GetActorTransitionTime( actor )
|
||||
function actorAnimationIsLooped( actor )
|
||||
sub loopActorAnimation( actor, flag )
|
||||
@@ -1,4 +1,4 @@
|
||||
function SoundFromBuffer(byref buffer, buffer_size, vol)
|
||||
function CreateSound(byref buffer, buffer_size, vol)
|
||||
function LoadSound(snd_file$)
|
||||
sub LoadMusic(music_file$)
|
||||
sub PlaySound(slot, channel, loops)
|
||||
@@ -14,18 +14,18 @@ sub FadeMusicIn(fade_time, loops)
|
||||
sub FadeMusicOut(fade_time)
|
||||
function MusicExists()
|
||||
sub SetMusicVolume(vol)
|
||||
function MusicVolume()
|
||||
function GetMusicVolume()
|
||||
sub SetMusicPosition(pos)
|
||||
function MusicPosition()
|
||||
function GetMusicPosition()
|
||||
sub RewindMusic()
|
||||
sub SetSoundChannels(max_channels)
|
||||
function NumSoundChannels()
|
||||
function SoundIsEnabled()
|
||||
function SoundExists(slot)
|
||||
sub SetChannelVolume(channel, vol)
|
||||
function ChannelVolume(channel)
|
||||
function GetChannelVolume(channel)
|
||||
sub SetSoundVolume(slot, vol)
|
||||
function SoundVolume(slot)
|
||||
function GetSoundVolume(slot)
|
||||
sub StopMusic()
|
||||
sub StopSound(channel)
|
||||
function SetChannelPanning(channel, left_value, right_value)
|
||||
|
||||
@@ -4,3 +4,11 @@ sub TranslateCamera( x, y, z)
|
||||
sub SetCameraRotation( x, y, z)
|
||||
sub GetCameraRotation(ByRef x, ByRef y, ByRef z)
|
||||
sub RotateCamera( x, y, z)
|
||||
sub SetCameraFOV( fov )
|
||||
function GetCameraFOV( )
|
||||
sub SetCameraAspectRatio( aspect )
|
||||
function GetCameraAspectRatio( )
|
||||
sub SetCameraFarValue( zf )
|
||||
function GetCameraFarValue( )
|
||||
sub SetCameraNearValue( zn )
|
||||
function GetCameraNearValue( )
|
||||
|
||||
@@ -11,12 +11,11 @@ sub GetCanvasOffset(c_num, byref x, byref y)
|
||||
sub GetCanvasSize(c_num, byref w, byref h)
|
||||
sub ClearCanvas()
|
||||
sub SetCanvasAlpha(c_num, a)
|
||||
function CanvasAlpha(c_num)
|
||||
function SetCanvasColorMod(c_num, c)
|
||||
function CanvasColorMod(c_num)
|
||||
sub CopyCanvas(src, x, y, w, h, dst, dx, dy)
|
||||
function GetCanvasAlpha(c_num)
|
||||
sub SetCanvasColorMod(c_num, c)
|
||||
function GetCanvasColorMod(c_num)
|
||||
sub CloneCanvas(src, dst)
|
||||
sub SetCanvasZ(c_num, z)
|
||||
function CanvasZ(c_num)
|
||||
function GetCanvasZ(c_num)
|
||||
function CanvasClip(x, y, w, h)
|
||||
function ActiveCanvas()
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
function ClipboardText$()
|
||||
function GetClipboardText$( )
|
||||
sub SetClipboardText(txt$)
|
||||
function HasClipboardText()
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
sub FPrint(txt$)
|
||||
sub Fprint(txt$)
|
||||
function Input$(prompt$)
|
||||
sub tst(byref x)
|
||||
|
||||
@@ -3,7 +3,7 @@ function createPointConstraintEx( actorA, actorB, pxA, pyA, pzA, pxB, pyB
|
||||
sub setConstraintPivotA( constraint_id, x, y, z)
|
||||
sub setConstraintPivotB( constraint_id, x, y, z)
|
||||
function createHingeConstraint( actorA, pxA, pyA, pzA, axA, ayA, azA)
|
||||
function createHingeConstraintEx( actorA, actorB, pxA, pyA, pzA, pxB, pyB, pzB,
|
||||
function createHingeConstraintEx( actorA, actorB, pxA, pyA, pzA, pxB, pyB, pzB, axA, ayA, azA, axB, ayB, azB)
|
||||
function createSlideConstraint( actorA, frameInB_matrix, useLinearReferenceFrameA)
|
||||
function createSlideConstraintEx( actorA, actorB, frameInA_matrix, frameInB_matrix, useLinearReferenceFrameA)
|
||||
function createConeConstraint( actorA, rbAFrame_matrix)
|
||||
@@ -40,7 +40,7 @@ function getConstraintFixThresh( constraint_id)
|
||||
function getConstraintLimit( constraint_id, limit_index)
|
||||
function getConstraintLimitSoftness( constraint_id)
|
||||
function getConstraintSolverIterations( constraint_id)
|
||||
sub getConstraintAnglePoint( constraint_id, angle, len, ByRef x, ByRef y, ByRef z)
|
||||
sub getConstraintAnglePoint( constraint_id, angle, c_len, ByRef x, ByRef y, ByRef z)
|
||||
function getConstraintAngularOnly( constraint_id)
|
||||
function getConstraintSolveSwingLimit( constraint_id)
|
||||
function getConstraintSolveTwistLimit( constraint_id)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
function LoadImage( img$ )
|
||||
sub LoadImage_Ex(slot, img$, colkey)
|
||||
function LoadImageEx(img$, colkey)
|
||||
function createImage(w, h, byref buffer)
|
||||
function createImageEx(w, h, byref buffer, color)
|
||||
sub getImageBuffer(img_id, byref buffer)
|
||||
@@ -10,24 +10,20 @@ function getBilinearFilter()
|
||||
function CopyImage( img_id )
|
||||
sub DeleteImage(slot)
|
||||
sub SetImageAlpha(slot, a)
|
||||
function getImageAlpha( img_id )
|
||||
function GetImageAlpha( img_id )
|
||||
sub GetImageSize(slot, byref w, byref h)
|
||||
sub SetBlendMode( blend_mode )
|
||||
function getBlendMode( blend_mode )
|
||||
function SetImageColorMod(slot, c)
|
||||
function ImageColorMod(slot)
|
||||
function GetBlendMode( )
|
||||
sub SetImageColorMod(slot, c)
|
||||
function GetImageColorMod(slot)
|
||||
sub DrawImage(slot, x, y)
|
||||
sub DrawImage_Blit(slot, x, y, src_x, src_y, src_w, src_h)
|
||||
sub DrawImage_Blit_Ex(slot, x, y, w, h, src_x, src_y, src_w, src_h)
|
||||
sub DrawImage_BlitEx(slot, x, y, w, h, src_x, src_y, src_w, src_h)
|
||||
sub DrawImage_Rotate(slot, x, y, angle)
|
||||
sub DrawImage_Rotate_Ex(slot, x, y, src_x, src_y, src_w, src_h, angle)
|
||||
sub DrawImage_RotateEx(slot, x, y, src_x, src_y, src_w, src_h, angle)
|
||||
sub DrawImage_Zoom(slot, x, y, zx, zy)
|
||||
sub DrawImage_Zoom_Ex(slot, x, y, src_x, src_y, src_w, src_h, zx, zy)
|
||||
sub DrawImage_ZoomEx(slot, x, y, src_x, src_y, src_w, src_h, zx, zy)
|
||||
sub DrawImage_Rotozoom(slot, x, y, angle, zx, zy)
|
||||
sub DrawImage_Rotozoom_Ex(slot, x, y, src_x, src_y, src_w, src_h, angle, zx, zy)
|
||||
sub DrawImage_RotozoomEx(slot, x, y, src_x, src_y, src_w, src_h, angle, zx, zy)
|
||||
sub DrawImage_Flip(slot, x, y, h, v)
|
||||
sub DrawImage_Flip_Ex(slot, x, y, src_x, src_y, src_w, src_h, h, v)
|
||||
function DrawGeometry(slot, num_vertices, ByRef vertices, num_indices, ByRef Indices)
|
||||
function SaveBMP(img, file$)
|
||||
function SavePNG(img, file$)
|
||||
function SaveJPG(img, file$)
|
||||
sub DrawImage_FlipEx(slot, x, y, src_x, src_y, src_w, src_h, h, v)
|
||||
|
||||
20
rcbasic_build/intern_lib/lights.bas
Normal file
20
rcbasic_build/intern_lib/lights.bas
Normal file
@@ -0,0 +1,20 @@
|
||||
function lightIsCastingShadow( actor )
|
||||
function getLightType( actor )
|
||||
function getLightRadius( actor )
|
||||
sub setLightType( actor, light_type )
|
||||
sub setLightRadius( actor, radius )
|
||||
sub setLightShadowCast( actor, flag )
|
||||
sub SetLightAmbientColor( actor, color )
|
||||
function GetLightAmbientColor( actor )
|
||||
sub SetLightAttenuation( actor, l_constant, l_linear, l_quadratic )
|
||||
sub GetLightAttenuation( actor, ByRef constant, ByRef linear, ByRef quadratic)
|
||||
sub SetLightDiffuseColor( actor, color )
|
||||
function GetLightDiffuseColor( actor )
|
||||
sub SetLightFalloff( actor, falloff )
|
||||
function GetLightFalloff( actor )
|
||||
sub SetLightInnerCone( actor, angle )
|
||||
function GetLightInnerCone( actor )
|
||||
sub SetLightOuterCone( actor, angle)
|
||||
function GetLightOuterCone( actor )
|
||||
sub SetLightSpecularColor( actor, color )
|
||||
function GetLightSpecularColor( actor )
|
||||
58
rcbasic_build/intern_lib/materials.bas
Normal file
58
rcbasic_build/intern_lib/materials.bas
Normal file
@@ -0,0 +1,58 @@
|
||||
function createMaterial()
|
||||
sub deleteMaterial( material_id)
|
||||
sub setActorMaterial( actor, material_num, material_id)
|
||||
function getActorMaterial( actor, material_num)
|
||||
function copyActorMaterial( actor, material_num)
|
||||
function copyMaterial( smaterial_id)
|
||||
sub setMaterialTextureCanvas( material_id, level, canvas_id)
|
||||
sub setMaterialAmbientColor( material_id, color)
|
||||
function getMaterialAmbientColor( material_id)
|
||||
sub setMaterialAntiAliasing( material_id, aa)
|
||||
function getMaterialAntiAliasing( material_id)
|
||||
sub setMaterialBackfaceCulling( material_id, flag)
|
||||
function getMaterialBackfaceCulling( material_id)
|
||||
sub setMaterialBlendFactor( material_id, bf)
|
||||
function getMaterialBlendFactor( material_id)
|
||||
sub setMaterialBlendMode( material_id, blend_mode)
|
||||
function getMaterialBlendMode( material_id)
|
||||
sub setMaterialColorMask( material_id, color_mask)
|
||||
function getMaterialColorMask( material_id)
|
||||
sub setMaterialColorMode( material_id, color_mode)
|
||||
function getMaterialColorMode( material_id)
|
||||
sub setMaterialDiffuseColor( material_id, color)
|
||||
function getMaterialDiffuseColor( material_id)
|
||||
sub setMaterialEmissiveColor( material_id, color)
|
||||
function getMaterialEmissiveColor( material_id)
|
||||
sub setMaterialFog( material_id, flag)
|
||||
function getMaterialFog( material_id)
|
||||
sub setMaterialFrontfaceCulling( material_id, flag)
|
||||
function getMaterialFrontfaceCulling( material_id)
|
||||
sub setMaterialGouraudShading( material_id, flag)
|
||||
function materialIsGouraudShaded( material_id)
|
||||
function materialIsAplhaBlend( material_id)
|
||||
function materialIsTransparent( material_id)
|
||||
sub setMaterialLighting( material_id, flag)
|
||||
function materialIsLit( material_id)
|
||||
sub setMaterialType( material_id, mat_type)
|
||||
function getMaterialType( material_id)
|
||||
sub setMaterialNormalize( material_id, flag)
|
||||
function materialIsNormalized( material_id)
|
||||
sub setMaterialPointCloud( material_id, flag)
|
||||
function materialIsPointCloud( material_id)
|
||||
sub setMaterialFlag( material_id, material_flag, f_value)
|
||||
function getMaterialFlag( material_id, material_flag)
|
||||
sub setMaterialTexture( material_id, level, img_id)
|
||||
sub setMaterialShininess( material_id, shininess)
|
||||
function getMaterialShininess( material_id)
|
||||
sub setMaterialSpecularColor( material_id, color)
|
||||
function getMaterialSpecularColor( material_id)
|
||||
sub setMaterialThickness( material_id, thickness)
|
||||
function getMaterialThickness( material_id)
|
||||
sub setMaterialWireframe( material_id, flag)
|
||||
function materialIsWireframe( material_id)
|
||||
sub setActorTexture( actor, layer, image_id)
|
||||
function getActorMaterialCount( actor)
|
||||
sub setActorMaterialFlag( actor, flag, flag_value)
|
||||
function getActorMaterialFlag( actor, material, flag)
|
||||
sub setActorMaterialType( actor, material_type)
|
||||
function getActorMaterialType( actor, material)
|
||||
@@ -1,8 +1,8 @@
|
||||
function Abs(n)
|
||||
function ACos(n)
|
||||
function Acos(n)
|
||||
function AndBit(a,b)
|
||||
function ASin(n)
|
||||
function ATan(n)
|
||||
function Asin(n)
|
||||
function Atan(n)
|
||||
function Bin$(n)
|
||||
function CInt32(i)
|
||||
function CInt64(i)
|
||||
|
||||
@@ -1,39 +1,39 @@
|
||||
function DimMatrix(m_rows, m_cols)
|
||||
Sub DeleteMatrix(mA)
|
||||
function AddMatrix(mA, mB, mC)
|
||||
function AugmentMatrix (mA, mB, mC)
|
||||
function AugmentMatrix(mA, mB, mC)
|
||||
sub CopyMatrix(mA, mB)
|
||||
function InsertMatrixColumns(mA, c, num_cols)
|
||||
function InsertMatrixRows(mA, r, num_rows)
|
||||
function MultiplyMatrix (mA, mB, mC)
|
||||
function MultiplyMatrix(mA, mB, mC)
|
||||
function CubeMatrix(mA, mB)
|
||||
function DeleteMatrixColumns(mA, c, num_cols)
|
||||
function DeleteMatrixRows(mA, r, num_rows)
|
||||
sub ClearMatrix(mA)
|
||||
function ClearMatrixColumns (mA, c, num_cols)
|
||||
function ClearMatrixColumns(mA, c, num_cols)
|
||||
function ClearMatrixRows(mA, r, num_rows)
|
||||
sub FillMatrix(mA, v)
|
||||
function FillMatrixColumns(mA, c, num_cols, v)
|
||||
function FillMatrixRows(mA, r, num_rows, v)
|
||||
function CopyMatrixColumns(mA, mB, c, num_cols)
|
||||
function CopyMatrixRows (mA, mB, r, num_rows)
|
||||
sub IdentityMatrix(mA, n)
|
||||
function CopyMatrixRows(mA, mB, r, num_rows)
|
||||
sub SetIdentityMatrix(mA, n)
|
||||
function SolveMatrix(mA, mB, mC)
|
||||
function IsEqualMatrix(mA, mB, tolerance)
|
||||
function Determinant(mA)
|
||||
function AdjointMatrix(mA, mB)
|
||||
function InvertMatrix(mA, mB)
|
||||
sub MatrixFromBuffer(mA, r, c, ByRef buffer)
|
||||
sub GetMatrix(ByRef buffer, mA)
|
||||
sub BufferFromMatrix(ByRef buffer, mA)
|
||||
sub RandomizeMatrix(mA, vmin, vmax)
|
||||
function MatrixValue(mA, r, c)
|
||||
sub SetMatrixValue(mA, r, c, v)
|
||||
sub ScalarMatrix (mA, mB, s_value)
|
||||
sub ScalarMatrix(mA, mB, s_value)
|
||||
function ScalarMatrixColumns(mA, mB, c, num_cols, s_value)
|
||||
function ScalarMatrixRows(mA, mB, r, num_rows, s_value)
|
||||
function SquareMatrix(mA, mB)
|
||||
sub CofactorMatrix(mA, r, c)
|
||||
function SubtractMatrix (mA, mB, mC)
|
||||
function SubtractMatrix(mA, mB, mC)
|
||||
sub SwapMatrix(mA, mB)
|
||||
function SwapMatrixColumn(mA, C1, C2)
|
||||
function SwapMatrixRow(mA, R1, R2)
|
||||
@@ -46,3 +46,9 @@ sub IncrementMatrixColumns(mA, mB, c, num_cols, value)
|
||||
sub JoinMatrixRows(mA, mB, mC)
|
||||
sub JoinMatrixColumns(mA, mB, mC)
|
||||
sub ClipMatrix(mA, r, c, num_rows, num_cols, mB)
|
||||
sub SetMatrixTranslation( mA, x, y, z )
|
||||
sub SetMatrixRotation( mA, x, y, z )
|
||||
sub SetMatrixScale( mA, x, y, z )
|
||||
sub GetMatrixTranslation( mA, ByRef x, ByRef y, ByRef z)
|
||||
sub GetMatrixRotation( mA, ByRef x, ByRef y, ByRef z)
|
||||
sub GetMatrixScale( mA, ByRef x, ByRef y, ByRef z)
|
||||
|
||||
@@ -5,14 +5,14 @@ function TCP_OpenSocket(host$, port)
|
||||
sub TCP_CloseSocket(socket)
|
||||
function TCP_RemoteHost(socket)
|
||||
function TCP_RemotePort(socket)
|
||||
function TCP_GetData(socket, ByRef sData$, numBytes)
|
||||
function TCP_GetData(socket, numBytes, ByRef sData$)
|
||||
sub TCP_SendData(socket, sData$)
|
||||
function TCP_AcceptSocket(server, client)
|
||||
function UDP_OpenSocket(port)
|
||||
sub UDP_CloseSocket(socket)
|
||||
function UDP_GetData(socket, byref sData$, byref host$, byref port)
|
||||
function UDP_GetData(socket, byref host$, byref port, byref sData$)
|
||||
function UDP_Length()
|
||||
function UDP_MaxLength()
|
||||
function UDP_RemoteHost$(socket)
|
||||
function UDP_RemotePort(socket)
|
||||
sub UDP_SendData(socket, sData$, host$, port)
|
||||
sub UDP_SendData(socket, host$, port, sData$)
|
||||
|
||||
43
rcbasic_build/intern_lib/particles.bas
Normal file
43
rcbasic_build/intern_lib/particles.bas
Normal file
@@ -0,0 +1,43 @@
|
||||
sub startParticleEmitter( actor)
|
||||
sub stopParticleEmitter( actor)
|
||||
sub setParticleDirection( actor, x, y, z)
|
||||
sub getParticleDirection( actor, ByRef x, ByRef y, ByRef z)
|
||||
sub useParticleEveryMeshVertex( actor, flag)
|
||||
function particleIsUsingEveryMeshVertex( actor)
|
||||
sub setParticleNormalDirectionMod( actor, nd_mod)
|
||||
function getParticleNormalDirectionMod( actor)
|
||||
sub useParticleNormalDirection( actor, flag)
|
||||
function particleIsUsingNormalDirection( actor)
|
||||
sub setParticleMesh( actor, mesh)
|
||||
sub setParticleMinParticlesPerSecond( actor, minParticlesPerSecond)
|
||||
function getParticleMinParticlesPerSecond( actor)
|
||||
sub setParticleMaxParticlesPerSecond( actor, maxParticlesPerSecond)
|
||||
function getParticleMaxParticlesPerSecond( actor)
|
||||
sub setParticleMinStartColor( actor, color)
|
||||
function getParticleMinStartColor( actor)
|
||||
sub setParticleMaxStartColor( actor, color)
|
||||
function getParticleMaxStartColor( actor)
|
||||
sub setParticleMinLife( actor, minLife)
|
||||
function getParticleMinLife( actor)
|
||||
sub setParticleMaxLife( actor, maxLife)
|
||||
function getParticleMaxLife( actor)
|
||||
sub setParticleMaxAngle( actor, maxAngle)
|
||||
function getParticleMaxAngle( actor)
|
||||
sub setParticleMinStartSize( actor, w, h)
|
||||
sub getParticleMinStartSize( actor, ByRef w, ByRef h)
|
||||
sub setParticleMaxStartSize( actor, w, h)
|
||||
sub getParticleMaxStartSize( actor, ByRef w, ByRef h)
|
||||
sub setParticleCenter( actor, x, y, z)
|
||||
sub getParticleCenter( actor, ByRef x, ByRef y, ByRef z)
|
||||
sub setParticleRadius( actor, radius)
|
||||
function getParticleRadius( actor)
|
||||
sub setParticleRingThickness( actor, ringThickness)
|
||||
function getParticleRingThickness( actor)
|
||||
sub setParticleBox( actor, min_x, min_y, min_z, max_x, max_y, max_z)
|
||||
sub getParticleBox( actor, ByRef min_x, ByRef min_y, ByRef min_z, ByRef max_x, ByRef max_y, ByRef max_z)
|
||||
sub setParticleNormal( actor, x, y, z)
|
||||
sub getParticleNormal( actor, ByRef x, ByRef y, ByRef z)
|
||||
sub setParticleLength( actor, p_len)
|
||||
function getParticleLength( actor)
|
||||
sub useParticleOutlineOnly( actor, flag)
|
||||
function particleIsUsingOutlineOnly( actor)
|
||||
@@ -11,4 +11,4 @@ sub Rect(x, y, w, h)
|
||||
sub RectFill(x, y, w, h)
|
||||
function RGB(r,g,b)
|
||||
function RGBA(r,g,b,a)
|
||||
sub PSet(x,y)
|
||||
sub Pset(x,y)
|
||||
|
||||
7
rcbasic_build/intern_lib/scene.bas
Normal file
7
rcbasic_build/intern_lib/scene.bas
Normal file
@@ -0,0 +1,7 @@
|
||||
sub AddSceneSkyBox( img_top, img_bottom, img_left, img_right, img_front, img_back)
|
||||
sub AddSceneSkyDome( img )
|
||||
sub AddSceneSkyDomeEx( img, horiRes, vertRes, txPercentage, spherePercentage, radius)
|
||||
sub RemoveSceneSky( )
|
||||
sub SetWorld3DDeltaTime( dt )
|
||||
sub SetWorld3DMaxSubSteps( steps )
|
||||
sub SetWorld3DTimeStep( ts )
|
||||
@@ -1,14 +1,12 @@
|
||||
function CreateStack_N( )
|
||||
function CreateStack_S()
|
||||
sub ClearStack_N()
|
||||
sub ClearStack_S()
|
||||
sub DeleteStack_N( stack_id )
|
||||
sub DeleteStack_S( stack_id )
|
||||
sub Stack_N(n)
|
||||
sub Stack_S(n)
|
||||
sub Push_N(n)
|
||||
function Pop_N()
|
||||
sub Push_S(s$)
|
||||
function Pop_S$()
|
||||
function Stack_Size_N()
|
||||
function Stack_Size_S()
|
||||
sub ClearStack_N( num_stack )
|
||||
sub ClearStack_S( str_stack )
|
||||
sub DeleteStack_N( num_stack )
|
||||
sub DeleteStack_S( str_stack )
|
||||
sub Push_N( num_stack, n )
|
||||
function Pop_N( num_stack )
|
||||
sub Push_S( str_stack, s$ )
|
||||
function Pop_S$( str_stack )
|
||||
function Stack_Size_N( num_stack )
|
||||
function Stack_Size_S( str_stack )
|
||||
|
||||
@@ -2,24 +2,24 @@ function Asc(c$)
|
||||
function Chr$(n)
|
||||
function Insert$(src$, tgt$, pos)
|
||||
function InStr(src$, substr$)
|
||||
function LCase$(src$)
|
||||
function Lcase$(src$)
|
||||
function Left$(src$, n)
|
||||
function Length(src$)
|
||||
function Len(src$)
|
||||
function LTrim$(src$)
|
||||
function Ltrim$(src$)
|
||||
function Mid$(src$, start, n)
|
||||
function ReplaceSubstr$(src$, rpc$, pos)
|
||||
function Replace$(src$, tgt$, rpc$)
|
||||
function Reverse$(src$)
|
||||
function Right$(src$, n)
|
||||
function RTrim$(src$)
|
||||
function Rtrim$(src$)
|
||||
function StringFill$(src$, n)
|
||||
function Str$(n)
|
||||
function Str_F$(n)
|
||||
function Str_S$(n)
|
||||
function Tally(src$, substr$)
|
||||
function Trim$(src$)
|
||||
function UCase$(src$)
|
||||
function Ucase$(src$)
|
||||
function Val(n$)
|
||||
function Size(s$)
|
||||
function BufferFromString(s$, ByRef buffer)
|
||||
|
||||
@@ -3,7 +3,7 @@ function OS$()
|
||||
function Command$(arg)
|
||||
function NumCommands()
|
||||
function Env$(v$)
|
||||
sub SetEnv(var$, value$, overwrite)
|
||||
sub SetEnv(var$, value$)
|
||||
function PrefPath$(org_name$, app_name$)
|
||||
function Android_GetExternalStoragePath$()
|
||||
function Android_GetExternalStorageState()
|
||||
@@ -13,9 +13,9 @@ function Runtime_Utility_Message$(arg$)
|
||||
Sub GetDesktopDisplayMode(index, ByRef w, ByRef h, ByRef freq)
|
||||
Sub GetPowerInfo(ByRef status, ByRef secs, ByRef pct)
|
||||
Function EvalJS$(js_code$) 'Only useable in Emscripten
|
||||
function SystemReturnStdOut$(cmd$) 'new
|
||||
function SystemReturnStdOut$(cmd$)
|
||||
function OpenURL(url$)
|
||||
function APIVersion$()
|
||||
function MessageBox(title$, msg$)
|
||||
function Runtime$()
|
||||
function NumCPUs()
|
||||
function SystemRam()
|
||||
|
||||
9
rcbasic_build/intern_lib/terrain.bas
Normal file
9
rcbasic_build/intern_lib/terrain.bas
Normal file
@@ -0,0 +1,9 @@
|
||||
sub GetTerrainPatchAABB( actor, patchX, patchZ, ByRef minX, ByRef minY, ByRef minZ, ByRef maxX, ByRef maxY, ByRef maxZ )
|
||||
function GetTerrainPatchLOD( actor, patchX, patchZ )
|
||||
function GetTerrainHeight( actor, patchX, patchZ )
|
||||
sub GetTerrainCenter( actor, ByRef x, ByRef y, ByRef z )
|
||||
sub SetTerrainLODDistance( actor, LOD, distance )
|
||||
sub ScaleTerrainTexture( actor, scale, scale2 )
|
||||
sub SetTerrainCameraMovementDelta( actor, delta )
|
||||
sub SetTerrainCameraRotationDelta( actor, delta )
|
||||
sub SetTerrainPatchLOD( actor, patchX, patchZ, LOD )
|
||||
@@ -1,9 +1,8 @@
|
||||
function LoadFont(fnt_file$, size)
|
||||
function LoadFont(fnt_file$, font_size)
|
||||
sub DeleteFont(slot)
|
||||
Function FontExists(slot)
|
||||
sub Font(slot)
|
||||
sub SetFont(slot)
|
||||
sub DrawText(txt$, x, y)
|
||||
sub RenderText(slot, txt$)
|
||||
sub GetTextSize(txt$, byref w, byref h)
|
||||
function GetTextWidth(txt$)
|
||||
function GetTextHeight(txt$)
|
||||
|
||||
@@ -4,7 +4,7 @@ sub PauseVideo()
|
||||
sub StopVideo()
|
||||
sub SetVideoPosition(pos)
|
||||
sub ResumeVideo()
|
||||
function VideoPosition()
|
||||
function GetVideoPosition()
|
||||
sub DeleteVideo()
|
||||
function VideoIsPlaying()
|
||||
function VideoEnd()
|
||||
@@ -13,4 +13,5 @@ sub SetVideoDrawRect(x, y, w, h)
|
||||
sub GetVideoDrawRect(byref x, byref y, byref w, byref h)
|
||||
sub GetVideoSize(byref w, byref h)
|
||||
function VideoExists()
|
||||
sub SetVideoAlpha(a)
|
||||
sub SetVideoVolume( vol )
|
||||
function GetVideoVolume( )
|
||||
|
||||
10
rcbasic_build/intern_lib/water.bas
Normal file
10
rcbasic_build/intern_lib/water.bas
Normal file
@@ -0,0 +1,10 @@
|
||||
sub setWaterWindForce( actor, f)
|
||||
function getWaterWindForce( actor)
|
||||
sub setWaterWaveHeight( actor, h)
|
||||
function getWaterWaveHeight( actor)
|
||||
sub setWaterWindDirection( actor, x, z)
|
||||
sub getWaterWindDirection( actor, ByRef x, ByRef z)
|
||||
sub setWaterColor( actor, c)
|
||||
function getWaterColor( actor)
|
||||
sub setWaterColorBlendFactor( actor, cbfactor)
|
||||
function getWaterColorBlendFactor( actor)
|
||||
@@ -28,10 +28,9 @@ function WindowHasMouseFocus()
|
||||
sub SetWindowFullscreen( flag)
|
||||
sub MaximizeWindow()
|
||||
sub MinimizeWindow()
|
||||
sub SetWindowBorder( flag)
|
||||
sub SetWindowBordered( flag)
|
||||
function WindowClip(x, y, w, h)
|
||||
function WindowExists()
|
||||
function NumWindows()
|
||||
function WindowEvent_Close()
|
||||
function WindowEvent_Maximize()
|
||||
function WindowEvent_Minimize()
|
||||
@@ -44,8 +43,8 @@ function WindowMode(visible, fullscreen, resizable, borderless, highDPI)
|
||||
function getWindowMode( )
|
||||
sub RestoreWindow( )
|
||||
sub GrabInput(flag)
|
||||
function GrabbedWindow()
|
||||
sub SetWindowAlwaysOnTop(win, flag)
|
||||
sub SetWindowAlwaysOnTop( flag )
|
||||
sub SetMouseRelative(flag)
|
||||
sub SetWindowVSync(win, flag)
|
||||
function FlashWindow(win)
|
||||
sub SetWindowVSync( flag )
|
||||
function FlashWindow( flag )
|
||||
function WindowIsGrabbed( )
|
||||
|
||||
Reference in New Issue
Block a user