mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Fix for Issue #120 for Inverted ArrayObject Sort
This commit is contained in:
parent
cd8bca48d5
commit
deba1b3728
2 changed files with 40 additions and 40 deletions
|
|
@ -57,7 +57,7 @@ protected:
|
|||
/// @name Sorting
|
||||
/// @{
|
||||
|
||||
static bool smIncreasing;
|
||||
static bool smDecreasing;
|
||||
static bool smCaseSensitive;
|
||||
static const char* smCompareFunction;
|
||||
|
||||
|
|
@ -175,15 +175,15 @@ public:
|
|||
|
||||
/// This sorts the array.
|
||||
/// @param valtest Determines whether sorting by value or key.
|
||||
/// @param desc Determines if sorting ascending or descending.
|
||||
/// @param asc Determines if sorting ascending or descending.
|
||||
/// @param numeric Determines if sorting alpha or numeric search.
|
||||
void sort( bool valtest, bool desc, bool numeric );
|
||||
void sort( bool valtest, bool asc, bool numeric );
|
||||
|
||||
/// This sorts the array using a script callback.
|
||||
/// @param valtest Determines whether sorting by value or key.
|
||||
/// @param desc Determines if sorting ascending or descending.
|
||||
/// @param asc Determines if sorting ascending or descending.
|
||||
/// @param callbackFunctionName Name of the script function.
|
||||
void sort( bool valtest, bool desc, const char* callbackFunctionName );
|
||||
void sort( bool valtest, bool asc, const char* callbackFunctionName );
|
||||
|
||||
/// @}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue