mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
* Feature: Initial secure VFS implementation with asset import capability.
This commit is contained in:
parent
d9bedbe31c
commit
277cdf67b0
12 changed files with 220 additions and 10 deletions
|
|
@ -169,6 +169,9 @@ if(NOT MSVC AND NOT APPLE) # handle single-configuration generator
|
|||
mark_as_advanced(TORQUE_ADDITIONAL_LINKER_FLAGS)
|
||||
endif()
|
||||
|
||||
option(TORQUE_SECURE_VFS "Secure VFS configuration. Arbitrary script access to file system will be heavily restricted." OFF)
|
||||
mark_as_advanced(TORQUE_SECURE_VFS)
|
||||
|
||||
option(TORQUE_MULTITHREAD "Multi Threading" ON)
|
||||
mark_as_advanced(TORQUE_MULTITHREAD)
|
||||
|
||||
|
|
@ -999,4 +1002,4 @@ if(TORQUE_SDL)
|
|||
else()
|
||||
set_target_properties(SDL2 PROPERTIES FOLDER ${TORQUE_LIBS_FOLDER_NAME})
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -50,6 +50,9 @@
|
|||
/// Define me if you want path case insensitivity support in ZIP files.
|
||||
#cmakedefine TORQUE_ZIP_PATH_CASE_INSENSITIVE
|
||||
|
||||
/// Define me if you want to enable secure VFS support.
|
||||
#cmakedefine TORQUE_SECURE_VFS
|
||||
|
||||
/// Define me if you want to enable multithreading support.
|
||||
#cmakedefine TORQUE_MULTITHREAD
|
||||
|
||||
|
|
@ -225,4 +228,4 @@
|
|||
#endif
|
||||
|
||||
/// Password to use when opening encrypted zip files. Change this to whatever the password is for your zips.
|
||||
#define DEFAULT_ZIP_PASSWORD "@TORQUE_APP_PASSWORD@"
|
||||
#define DEFAULT_ZIP_PASSWORD "@TORQUE_APP_PASSWORD@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue