Commit graph

226 commits

Author SHA1 Message Date
luboslenco 085146b245 Write cascade params only when shadows are enabled 2020-11-05 11:04:11 +01:00
Moritz Brückner 863ec518f8 Set file encoding to utf-8 2020-10-18 17:50:35 +02:00
E1e5en 1a34e202a7 Add Android Settings + LN Set Vibrate
1. For the new settings to fully function, you need to update the submodules so that this Pull Request (https://github.com/Kode/kincmake/pull/100) gets into armsdk. Extended settings via khafile.js.

2. Added Android Settings panel:
- invisible until the target platform android-hl is added to the list;
- inactive until the target platform android-hl is selected in the list.
Options:
- Orientation;
- Compile Version SDK - from 26 to 30, default 29;
- Minimal Version SDK - from 14 to 30, default 14;
- Target Version SDK - from 26 to 30, default 29;
- Permissions - a list of permissions. If I will duplicate entries in the list, then only unique entries will be included during export. By default, the list is empty;
- Android ABI Filters - a list of platforms to build for (arm64-v8a, armeabi-v7a, x86, x86_64). If I will duplicate entries in the list, then only unique entries will be included during export. By default, the list is empty. If the list is empty, then all platforms will be used (as before).

3. The enum (names of permissions) and the function have been added to the utils.py modules, which adds the specified value to the list of permissions. Feature added for ease of use from different locations (different logical nodes).

4. List of permissions:
- ACCESS_COARSE_LOCATION - Allows an app to access approximate location;
- ACCESS_NETWORK_STATE - Allows applications to access information about networks;
- ACCESS_FINE_LOCATION - Allows an app to access precise location;
- ACCESS_WIFI_STATE - Allows applications to access information about Wi-Fi network;
- BLUETOOTH - Allows applications to connect to paired bluetooth devices;
- BLUETOOTH_ADMIN - Allows applications to discover and pair bluetooth devices;
- CAMERA - Required to be able to access the camera device;
- EXPAND_STATUS_BAR - Allows an application to expand or collapse the status bar;
- FOREGROUND_SERVICE - Allows a regular application to use Service.startForeground;
- GET_ACCOUNTS - Allows access to the list of accounts in the Accounts Service;
- INTERNET - Allows applications to open network sockets';
- READ_EXTERNAL_STORAGE - Allows an application to read from external storage;
- VIBRATE - Allows access to the vibrator;
- WRITE_EXTERNAL_STORAGE - Allows an application to write to external storage.

5. Added logical node Set Vibrate:
Category: Native
Pulses the vibration hardware on the device for time in milliseconds, if such hardware exists.
Input parameters:
- Milliseconds - time in milliseconds (data type Int, default value 100).
When adding the logical node Set Vibrate, the permission is automatically added to the list, even if the target android-hl has not been added to the export list (using a function from utils.py).
2020-10-17 16:47:54 +03:00
Moritz Brückner e8b1859e8b Add "armory" flag on export so libraries can differ between Armory and Kha 2020-09-11 14:43:59 +02:00
Moritz Brückner f6cf1e4731 Rename f to khafile for better readability 2020-08-28 13:25:54 +02:00
Moritz Brückner b458438c70 Fix android target options 2020-08-28 13:09:23 +02:00
Lubos Lenco 78aec97c95
Merge pull request #1744 from MoritzBrueckner/world-export
Multi-world support
2020-07-07 11:07:25 +02:00
Moritz Brückner b994b1d575 Remove cloud constants from compiled.inc 2020-07-06 18:14:15 +02:00
tong c89a40da85 Add haxe --times flag on verbose not debug_console 2020-06-25 13:02:56 +02:00
tong 413406f3d3 Generate Main.projectVersion 2020-05-10 21:25:01 +02:00
Lubos Lenco 61ff96786f Metal fixes 2020-05-04 00:19:11 +02:00
Moritz Brückner f5a40efec4 Fix annoying error message at first Armory2D start from Blender 2020-01-13 11:04:39 +01:00
luboslenco f310776985 Use webassembly for ammo+krom 2019-11-16 14:11:32 +01:00
luboslenco 01920b99c7 Fix android target name 2019-09-08 19:08:47 +02:00
luboslenco 24867658f1 Deprecated cleanup 2019-08-24 11:50:27 +02:00
Alexander 000ec17e3d Chromatic aberration 2019-08-08 20:02:42 +02:00
Alexander f521828edc Lens dirt masking 2019-08-08 18:56:56 +02:00
luboslenco ff3ca27aa9 Separate format lib 2019-08-04 15:31:25 +02:00
unknown 4664c5ff9a Flag cleanup 2019-07-14 15:41:40 +02:00
unknown 05b43aca02 Emit arm_audio 2019-06-22 17:06:02 +02:00
unknown 8bccdd9879 lz4 compress stubs 2019-06-22 11:29:05 +02:00
luboslenco 060448e555 More dof changes 2019-05-31 14:11:39 +02:00
luboslenco bde6cfa76f Keep compatible 2019-05-24 09:34:59 +02:00
Sidar Talei d0893c78b4 gpu_dof > dof.aperture_fstop 2019-05-24 03:53:30 +02:00
luboslenco 297a7b8281 b28 fixes 2019-05-20 14:32:48 +02:00
luboslenco 4a754e8b3a Expose khafile params 2019-05-10 18:29:59 +02:00
luboslenco d05641b4a3 Auto-exposure speed 2019-05-01 10:52:42 +02:00
luboslenco e402442754 Water refract 2019-04-29 16:21:44 +02:00
luboslenco d8bd7f6972 Link clouds props 2019-04-26 09:58:20 +02:00
unknown 5240249982 Use voxelao instead of voxelgi, gi will be reworked into raytracing 2019-04-06 18:52:21 +02:00
unknown ad88b97d63 Code cleanup 2019-04-06 15:38:25 +02:00
unknown 27197cc94f Force gpu particles 2019-04-06 14:30:11 +02:00
unknown 4ecec19ad3 Force gpu skinning 2019-04-06 14:13:38 +02:00
luboslenco c29e8fdbd0 Shadows cleanup 2019-03-23 10:56:30 +01:00
luboslenco 00fb2cd511 Use DrawOrder.Distance as default 2019-03-11 10:32:31 +01:00
luboslenco aafddfba76 Print compilation times in debug mode 2019-03-09 10:18:53 +01:00
luboslenco 74e9e17497 Khafile option is now PointerProperty 2019-03-01 11:11:51 +01:00
luboslenco 120354ffa8 Always embed for now 2019-02-28 23:15:09 +01:00
luboslenco 1e5b11d0a3 Expose vignette strength 2019-02-21 14:20:18 +01:00
luboslenco 49c58d2c05 Enable live patch for krom only 2019-02-14 11:08:36 +01:00
luboslenco 4923699c98 Use noembed flag 2019-02-12 14:41:44 +01:00
luboslenco 2f0b239014 Resizable define 2019-02-11 17:10:49 +01:00
luboslenco 7b258d311d Enable config for dynamic resolution 2019-02-10 17:30:31 +01:00
luboslenco e0e4bf303f Send operators to Krom 2019-02-10 11:47:42 +01:00
luboslenco a1da8b0824 Expose cone aperture 2019-02-09 15:34:16 +01:00
Diego de Blas Mateo c41b64d75a Added support for script subfolder organisation using haxe package syntax 2019-01-31 13:37:54 +01:00
luboslenco 58ceac834b Make shader variant when config is enabled 2019-01-27 18:56:04 +01:00
luboslenco 169bf4878b Clamp cascade size 2019-01-21 17:59:25 +01:00
luboslenco 4ca0033b6e Target name fix 2019-01-13 00:22:54 +01:00
luboslenco a8c86b373f Update bullet bindings 2018-12-20 18:04:49 +01:00