Commit Graph

52 Commits

Author SHA1 Message Date
Attila Uygun e08f6e2022 cleanup build.gradle 2023-09-29 14:05:38 +02:00
Attila Uygun dd14ed30ea Use gn target name for the native lib 2023-09-27 23:35:00 +02:00
Attila Uygun 35958b13f7 Move assets to assets/demo 2023-09-27 21:33:00 +02:00
Attila Uygun 5e80aa1a04 Workaround for what seems to be a bug in the Android Gradle plugin
Error:
Could not determine the dependencies of task ':app:lintVitalReportDemoAllArchsRelease'.
> Could not create task ':app:lintVitalAnalyzeDemoAllArchsRelease'.
   > No such property: productFlavors for class: org.gradle.api.internal.provider.DefaultProperty
2023-09-12 21:31:16 +02:00
Attila Uygun f75a469e38 merge -> generate 2023-09-12 21:27:54 +02:00
Attila Uygun 3f13440acb Update Android Gradle plugin to 8.1.0 2023-09-12 19:21:23 +02:00
Attila Uygun 85b5184d29 Remove forEachBuildType 2023-09-09 22:49:36 +02:00
Attila Uygun 64c63d4184 Remove provider_name resValue from build.gradle 2023-09-06 20:26:31 +02:00
Attila Uygun 915b896636 Use manifestPlaceholders for app icon 2023-09-06 20:15:00 +02:00
Attila Uygun d61b2c45d6 Rearrange code in build.gradle and add comments 2023-09-06 19:05:43 +02:00
Attila Uygun e9be4d45d2 Avoid adding gn tasks for each game 2023-09-05 22:54:06 +02:00
Attila Uygun 0b1220c114 Revert "Unify arch types in gradle and gn"
This reverts commit 05252bfae8.
2023-09-05 21:40:04 +02:00
Attila Uygun 5f8f70ed53 Get ABI codes from productFlavors and remove hard-coded strings 2023-09-05 19:21:04 +02:00
Attila Uygun 05252bfae8 Unify arch types in gradle and gn 2023-09-05 18:04:47 +02:00
Attila Uygun ea93f80aa1 Move globals into Utils 2023-09-05 17:50:32 +02:00
Attila Uygun 48fb1589c6 Remove hard-coded build variant strings 2023-09-05 17:26:17 +02:00
Attila Uygun 01bffc71ac Add archs to productFlavors 2023-09-05 17:07:48 +02:00
Attila Uygun e6d89add57 Move product specific values to productFlavors 2023-09-04 20:07:59 +02:00
Attila Uygun 37afc006d2 Use productFlavors 2023-09-04 19:29:30 +02:00
Attila Uygun ae825faf32 Always run ninja 2023-09-02 17:14:39 +02:00
Attila Uygun a07d32e44a Add support for GN to gradle config and remove cmake 2023-08-31 22:05:57 +02:00
Attila Uygun 2ca0bb9b5b Update build files 2023-08-15 18:48:34 +02:00
Attila Uygun 001b3b60ec Support for Windows platform 2023-08-13 00:06:04 +02:00
Attila Uygun 8503c549d7 Use aligned memory in stb_image 2023-08-09 01:16:15 +02:00
Attila Uygun 96d6a52a74 Update timer.h
Remove Timer class. Add ElapsedTimer and DeltaTimer classes that use
std::chrono::high_resolution_clock
2023-08-08 00:32:07 +02:00
Attila Uygun 38813f98b4 Move AudioMixer::Resource to MixerInput 2023-07-13 10:49:42 +02:00
Attila Uygun ce440f2913 Remove OpenGL threaded rendering 2023-06-26 20:03:22 +02:00
Attila Uygun 615c39a4fe Move asset loaders to engine/asset 2023-06-25 18:40:58 +02:00
Attila Uygun 068656ddc2 Bump version to 1.0.4 2023-06-06 00:26:29 +02:00
Attila Uygun 7b637a95d9 Refactoring audio code
- Add AudioBus
- Move resampling to AudioBus
- Move SincResampler to engine/audio
2023-06-04 01:42:10 +02:00
Attila Uygun 685b17aba6 Bump version
Also fix typo and remove redundant code
Add bash script for ndk-stack
2023-05-30 11:59:18 +02:00
Attila Uygun 43afdf855f Move renderer ownership to engine 2023-05-26 22:54:14 +02:00
Attila Uygun d5ee1c7313 Rename AudioDriver to AudioSink 2023-05-24 23:14:51 +02:00
Attila Uygun 217420823c Update Android NDK to 25.2.9519653 2023-05-21 23:41:15 +02:00
Attila Uygun c90d039944 Refactoring audio code 2023-05-18 22:25:11 +02:00
Attila Uygun 7dd7d7bfd7 Remove unused assets 2023-05-17 08:22:11 +02:00
Attila Uygun 449ac3f386 Update version 2023-05-16 22:07:52 +02:00
Attila Uygun 5ca5ed763a Update to Vulkan SDK 1.3.231.1
Update vma, volk, vulkan headers, glslang, spirv-reflect.
Remove Vulkan loader and use volk instead.
2023-05-12 00:08:36 +02:00
Attila Uygun 655c0a7b71 Update android build
Upgrade to gradle 8.0
Compile and target sdk 33
Min sdk 24
Upgrade to Google Mobile Ads SDK 22.0
Enable c++20 and fix compilation issues
2023-05-09 22:22:02 +02:00
Attila Uygun f723513521 Update jsoncpp (1.9.5) 2022-11-10 21:39:24 +01:00
Attila Uygun 10e272fee1 Code cleanup and improvements 2022-09-13 20:25:29 +02:00
Attila Uygun 1e57355593 Move java files to platform. 2021-10-29 14:13:49 +02:00
Attila Uygun 0866349f58 Code cleanup
- Use absolute paths for includes.
- Add file path to include guards.
- Use uint64_t for resource id.
- Compile engine code into separate lib.
- Compile time and run time string hashing functions.
- Rename Worker to ThreadPool.
- Update .gitignore
- Code generator for texture compressor.
2021-10-27 18:22:32 +02:00
Attila Uygun 042bffaff3 Renderer code refactoring. 2021-10-26 23:35:14 +02:00
Attila Uygun 79d9d294e6 Platform code refactoring. 2021-10-26 23:35:07 +02:00
Attila Uygun 44aa8b2a33 Audio code refactoring. 2021-10-26 23:34:51 +02:00
Attila Uygun c6501323cf Add full game code and assets. 2021-09-01 00:08:03 +02:00
Attila Uygun 1ae44b6a76 vecmath 2021-02-18 23:43:40 +01:00
Attila Uygun 671661758c Implement Vulkan renderer. 2021-02-10 00:39:04 +01:00
Attila Uygun 7920d9f251 Update.
- Implement PersistentData.
- Update jsoncpp (1.9.3).
- Update logging implementation.
- New audio resampler (SincResampler).
- Avoid busy-looping in audio thread (AudioAlsa).
- Add BindWeak.
- AdMob support.
- Support for record/replay user input.
- Custom shader support for ImageQuad.
- Implement SetKeepScreenOn for Android.
- Move animation updates to Engine.
- Code refactoring for renderer.
- Various fixes and code cleanup.
2021-02-10 00:39:04 +01:00