mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Console Refactor
This commit is contained in:
parent
626de074cc
commit
89b0c7f73b
89 changed files with 1883 additions and 1553 deletions
|
|
@ -1234,18 +1234,6 @@ bool IsFile(const Path &path)
|
|||
return sgMountSystem.isFile(path);
|
||||
}
|
||||
|
||||
bool IsScriptFile(const char* pFilePath)
|
||||
{
|
||||
return (sgMountSystem.isFile(pFilePath)
|
||||
|| sgMountSystem.isFile(pFilePath + String(".dso"))
|
||||
|| sgMountSystem.isFile(pFilePath + String(".mis"))
|
||||
|| sgMountSystem.isFile(pFilePath + String(".mis.dso"))
|
||||
|| sgMountSystem.isFile(pFilePath + String(".gui"))
|
||||
|| sgMountSystem.isFile(pFilePath + String(".gui.dso"))
|
||||
|| sgMountSystem.isFile(pFilePath + String("." TORQUE_SCRIPT_EXTENSION))
|
||||
|| sgMountSystem.isFile(pFilePath + String("." TORQUE_SCRIPT_EXTENSION) + String(".dso")));
|
||||
}
|
||||
|
||||
bool IsDirectory(const Path &path)
|
||||
{
|
||||
return sgMountSystem.isDirectory(path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue