mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-08 21:24:34 +00:00
Merge 7d65976c31 into 20bf6b7de9
This commit is contained in:
commit
fd730b057d
15 changed files with 3895 additions and 445 deletions
|
|
@ -112,7 +112,7 @@ enum DriveType
|
|||
|
||||
// Some forward declares for later.
|
||||
class Point2I;
|
||||
template<class T> class Vector;
|
||||
|
||||
template<typename Signature> class Signal;
|
||||
struct InputEventInfo;
|
||||
|
||||
|
|
@ -245,10 +245,10 @@ namespace Platform
|
|||
bool isFullPath(const char *path);
|
||||
StringTableEntry makeRelativePathName(const char *path, const char *to);
|
||||
|
||||
String stripExtension( String fileName, Vector< String >& validExtensions );
|
||||
String stripExtension( String fileName, Vector<String, 0, CustomAllocator<String, 0> >& validExtensions );
|
||||
|
||||
bool dumpPath(const char *in_pBasePath, Vector<FileInfo>& out_rFileVector, S32 recurseDepth = -1);
|
||||
bool dumpDirectories( const char *path, Vector<StringTableEntry> &directoryVector, S32 depth = 0, bool noBasePath = false );
|
||||
bool dumpPath(const char *in_pBasePath, Vector<FileInfo, 0, CustomAllocator<FileInfo, 0> >& out_rFileVector, S32 recurseDepth = -1);
|
||||
bool dumpDirectories( const char *path, Vector<StringTableEntry, 0, CustomAllocator<StringTableEntry, 0> >&directoryVector, S32 depth = 0, bool noBasePath = false );
|
||||
bool hasSubDirectory( const char *pPath );
|
||||
bool getFileTimes(const char *filePath, FileTime *createTime, FileTime *modifyTime);
|
||||
bool isFile(const char *pFilePath);
|
||||
|
|
@ -285,8 +285,8 @@ namespace Platform
|
|||
extern struct VolumeInformation *PVolumeInformation;
|
||||
|
||||
// Volume functions.
|
||||
void getVolumeNamesList( Vector<const char*>& out_rNameVector, bool bOnlyFixedDrives = false );
|
||||
void getVolumeInformationList( Vector<VolumeInformation>& out_rVolumeInfoVector, bool bOnlyFixedDrives = false );
|
||||
void getVolumeNamesList(Vector<StringTableEntry, 0, CustomAllocator<StringTableEntry, 0> >& out_rNameVector, bool bOnlyFixedDrives = false );
|
||||
void getVolumeInformationList(Vector<VolumeInformation, 0, CustomAllocator<VolumeInformation, 0> >& out_rVolumeInfoVector, bool bOnlyFixedDrives = false );
|
||||
|
||||
struct SystemInfo_struct
|
||||
{
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ public:
|
|||
///
|
||||
/// @todo Rethink this so we don't have a private public.
|
||||
virtual bool create( const char *name, dsize_t size, U32 charset = TGE_ANSI_CHARSET ) = 0;
|
||||
static void enumeratePlatformFonts( Vector<StringTableEntry>& fonts, UTF16* fontFamily = NULL );
|
||||
static void enumeratePlatformFonts( Vector<StringTableEntry,0, CustomAllocator<StringTableEntry, 0>>& fonts, UTF16* fontFamily = NULL );
|
||||
};
|
||||
|
||||
extern PlatformFont *createPlatformFont(const char *name, dsize_t size, U32 charset = TGE_ANSI_CHARSET);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue