R | |
R, File | |
FBEXT_ | RADIAN_TO_ANGLE, ext.math |
ranged constructor, ext. | |
ReadLine, Console | |
Remove, fbext_HashTable(T_) | |
remove_child, node | |
RemoveIf, List | |
Repeat | |
fbextPP_ | Repeat |
repeat constructor, ext. | |
Replace | |
ReplaceCopy | |
ReplaceCopyIf | |
ReplaceIf | |
ReplaceImage, Sprite | |
Reporting Bugs | |
Reserve, ext. | |
reset, BitArray | |
Reset | |
Resize, ext. | |
Reverse | |
ReverseCopy | |
Right | |
RndRange, ext.math | |
root | |
rootPath, dir | |
Rot13 | |
Rot13Copy | |
Rotate | |
RotateFrom, Sprite | |
RotateFromImage, Sprite | |
RotoZoom, ext.gfx | |
RotoZoomASM, ext.gfx | |
RoundPow2, ext.math | |
RTrim, XString | |
runTests, ext. | |
RW, File |
Converts a Radian to an Angle.
#define FBEXT_RADIAN_TO_ANGLE( x ) (x) * inv_pi_180
Retreives one full line of input from the console.
declare function ReadLine( ) as string
Searches for a key in the table and removes it.
declare sub Remove ( byref key_ as string )
Removes elements from the list satisfying a predicate.
declare sub RemoveIf ( byval pred as function ( byref as const fbext_TypeName( T_) ) as bool )
Returns a string of length n consisting of as many characters with the ascii code ascii_code.
declare function Repeat overload ( byval ascii_code as integer, byval n as integer ) as string
Repeats the string a certain number of times.
declare function Repeat ( byval n as integer ) as XString
Expands a macro a number of times.
# define fbextPP_Repeat( c, m, data ) FBEXT_PP_CAT(fbextPP_Repeat__, c)(m, data, 0)
Replaces each element in the range [//first//, //last//) that has a certain value //oldvalue// with another value //newvalue//.
declare function Replace overload ( byval first as fbext_TypeName(T_) ptr, byval last as fbext_TypeName(T_) ptr, byref oldvalue as const fbext_TypeName(T_), byref newvalue as const fbext_TypeName(T_) ) as fbext_TypeName(T_) ptr
Replaces all unique occurences of oldtext found within subject, from beginning to end, and replaces them with newtext.
declare sub Replace overload ( byref subject as string, byref oldtext as const string, byref newtext as const string )
Replaces a substring with a string you provide
declare sub Replace ( byref oldtext as const string, byref newtext as const string )
Replaces each element in the range [//first//, //last//) that has a certain value //oldvalue// with another value //newvalue// and copies the results to the range beginning at //result//.
declare function ReplaceCopy overload ( byval first as fbext_TypeName(T_) ptr, byval last as fbext_TypeName(T_) ptr, byval result as fbext_TypeName(T_) ptr, byref oldvalue as const fbext_TypeName(T_), byref newvalue as const fbext_TypeName(T_) ) as fbext_TypeName(T_) ptr
Returns a copy of subject with all unique occurrences of oldtext replaced with newtext.
declare function ReplaceCopy overload ( byref subject as const string, byref oldtext as const string, byref newtext as const string ) as string
Performs a text substitution in the XString object
declare const function ReplaceCopy ( byref oldtext as const string, byref newtext as const string ) as XString
Replaces each element in the range [//first//, //last//) that satisfies a predicate with another value //newvalue// and copies the results to the range beginning at //result//.
declare function ReplaceCopyIf overload ( byval first as fbext_TypeName(T_) ptr, byval last as fbext_TypeName(T_) ptr, byval result as fbext_TypeName(T_) ptr, byval pred as function ( byref as const fbext_TypeName(T_) ) as bool, byref newvalue as const fbext_TypeName(T_) ) as fbext_TypeName(T_) ptr
Replaces each element in the range [//first//, //last//) that satsifies a predicate //pred// with another value //newvalue//.
declare function ReplaceIf overload ( byval first as fbext_TypeName(T_) ptr, byval last as fbext_TypeName(T_) ptr, byval pred as function ( byref as const fbext_TypeName(T_) ) as bool, byref newvalue as const fbext_TypeName(T_) ) as fbext_TypeName(T_) ptr
declare sub ReplaceImage( byval index as uinteger, byval img as FB. IMAGE ptr )
Ensures that the capacity of the array is at least n.
declare sub Reserve ( byval n as SizeType )
Sets the value of a certain bit to 0 or off.
declare sub reset( byval bit_ as SizeType )
Forces the fbext_SharedPtrArray(T_) to reference another resource.
declare sub Reset ( byval p as fbext_TypeName(T_) ptr = null )
Forces the fbext_SharedPtr(T_) to reference another resource.
declare sub Reset ( byval p as fbext_TypeName(T_) ptr = null )
Changes the size of the array to newsize number of elements.
declare sub Resize ( byval newsize as SizeType )
Reverses the order of the characters in subject.
declare sub Reverse overload ( byref subject as string )
Reverses the string in-place.
declare sub Reverse ( )
Returns a copy of subject with the order of the characters reversed.
declare function ReverseCopy overload ( byref subject as const string ) as string
Reverses the string.
declare const function ReverseCopy ( ) as XString
setter for the right vector component
declare property Right( byref v as vector3d )
Returns a string of length characters from the right side of the XString object
declare function Right ( byval length as integer ) as string
Returns an integer within the specified range.
declare function RndRange overload ( byval min_ as integer, byval max as integer, byval getnew as integer = 1 ) as integer
Returns a Directory object pointing to the root of the current filesystem.
declare function root () as Directory
Used to access the XML document structure.
as node ptr root
Returns a string containing the path of the root of the current filesystem.
declare function rootPath () as string
The ROT13 encoding simply shifts every letter by 13 places in the alphabet while leaving non-alpha characters untouched.
declare sub Rot13 ( byref subject as string )
Performs a rot13 rotation on a XString object
declare sub Rot13 ( )
The ROT13 encoding simply shifts every letter by 13 places in the alphabet while leaving non-alpha characters untouched.
declare function Rot13Copy ( byref subject as const string ) as string
Performs a rot13 rotation on a XString object
declare const function Rot13Copy ( ) as XString
Rotates a image buffer.
declare sub Rotate( byref dst as FB. IMAGE ptr, byref src as const FB. IMAGE ptr, byref positx as integer, byref posity as integer, byref angle as integer )
generic rotation function
declare sub Rotate( byref anglex as single, byref angley as single, byref anglez as single )
Rotates one frame to another frame.
declare sub RotateFrom( byval from_index as uinteger, byval to_index as uinteger, byval angle as integer )
Rotates a FB.IMAGE to a frame.
declare sub RotateFromImage( byval from_image as FB. IMAGE ptr, byval to_index as uinteger, byval angle as integer )
Rotates and scales an image buffer.
declare sub RotoZoom( byref dst as FB. IMAGE ptr = 0, byref src as const FB. IMAGE ptr, byref positx as integer, byref posity as integer, byref angle as integer, byref zoomx as single, byref zoomy as single )
Rotates and scales an image buffer.
declare sub RotoZoomASM( byref dst as FB. IMAGE ptr = 0, byref src as const FB. IMAGE ptr, byval positx as integer, byval posity as integer, byref angle as integer, byref zoomx as single, byref zoomy as single = 0, byval transcol as uinteger = &hffff00ff )
Finds the next power of 2 after a number only if the number passed is not a power of 2 already.
declare function RoundPow2 overload ( byval n as fbext_TypeName(NumericType_) ) as fbext_TypeName(NumericType_)
Trims whitespace from the right side of a XString object
declare sub RTrim ( )
Runs the testcases for all registered Suites.
declare function runTests() as ext.bool