mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
aug ArrayObject to have a uniquePair command
like uniqueket and uniquevalue, removes duplicate entries, but only if *both* match also, use that for the populateAllFonts() cache generator
This commit is contained in:
parent
242e029c21
commit
24562e6758
3 changed files with 28 additions and 2 deletions
|
|
@ -158,6 +158,10 @@ public:
|
|||
/// (keeps the first instance only)
|
||||
void uniqueKey();
|
||||
|
||||
/// Removes any duplicate keys from the array
|
||||
/// (keeps the first instance only)
|
||||
void uniquePair();
|
||||
|
||||
/// Makes this array an exact duplicate of another array
|
||||
void duplicate( ArrayObject *obj );
|
||||
|
||||
|
|
@ -229,4 +233,4 @@ public:
|
|||
static void initPersistFields();
|
||||
};
|
||||
|
||||
#endif // _ARRAYOBJECT_H_
|
||||
#endif // _ARRAYOBJECT_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue