Browse Source

Document the AutoloadPaths engine startup parameter. Copy also the Extra directory in the Android CopyData batch file.

Lasse Öörni 11 years ago
parent
commit
0c219cfb35
2 changed files with 5 additions and 1 deletions
  1. 2 1
      Docs/Reference.dox
  2. 3 0
      Source/Android/CopyData.bat

+ 2 - 1
Docs/Reference.dox

@@ -130,7 +130,8 @@ The full list of supported parameters, their datatypes and default values:
 - FrameLimiter (bool) Whether to cap maximum framerate to 200 (desktop) or 60 (Android/iOS.) Default true.
 - WorkerThreads (bool) Whether to create worker threads for the %WorkQueue subsystem according to available CPU cores. Default true.
 - ResourcePaths (string) A semicolon-separated list of resource paths to use. If corresponding packages (ie. Data.pak for Data directory) exist they will be used instead. Default "CoreData;Data".
-- ResourcePackages (string) A semicolon-separated list of resource paths to use. Default empty.
+- ResourcePackages (string) A semicolon-separated list of resource packages to use. Default empty.
+- AutoloadPaths (string) A semicolon-separated list of autoload paths to use. Any resource packages and subdirectories inside an autoload path will be added to the resource system. Default "Extra".
 - ForceSM2 (bool) Whether to force %Shader %Model 2, effective in Direct3D9 mode only. Default false.
 - ExternalWindow (void ptr) External window handle to use instead of creating an application window. Default null.
 - WindowIcon (string) %Window icon image resource name. Default empty (use application default icon.)

+ 3 - 0
Source/Android/CopyData.bat

@@ -2,4 +2,7 @@ md assets\Data
 xcopy ..\..\Bin\Data\*.* assets\Data /S /E /C /Y
 md assets\CoreData
 xcopy ..\..\Bin\CoreData\*.* assets\CoreData /S /E /C /Y
+md assets\Extra
+xcopy ..\..\Bin\Extra\*.* assets\Extra /S /E /C /Y
+del assets\Extra\placeholder.txt /Q
 rd /S /Q assets\CoreData\Shaders\HLSL