Commit Graph

46 Commits

Author SHA1 Message Date
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 10d411bafd Use shared_library build config 2023-09-04 19:29:30 +02:00
Attila Uygun ddecaddccc Rename utils.gni to rules.gni 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 9ff2e51ff1 Add support for Android build to GN config 2023-08-31 22:05:53 +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 2c1d55fc30 Replace the build system with gn
No support for APKs, Java code etc. Keep using gradle for Android for now.
2023-08-03 11:32:28 +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 97271835b0 Remove gn 2023-05-05 08:22:51 +02:00
Attila Uygun 4bab472ed1 Enable extra warnings for all but third-party 2023-05-04 23:21:32 +02:00
Attila Uygun 8cd680d6a4 Enable C++20 2022-11-10 21:52:19 +01: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 d8cb4b96b0 Add glslang, SPIRV-Reflect, VMA, Vulkan SDK. 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
Attila Uygun 9d92d01be1 Update.
- Various fixes for sound system.
- Code cleanup and refactoring.
- Move boilerplate code to engine.
- Texture management is moved to engine. Game code uses asset names and
  doesn't know about textures.
- Multi-touch support.
- GN build (WIP)
- Add LOG_DIFF, CHECK, DCHECK and NOTREACHED.
- Implement global thread-pool for Worker.
- Use TaskRunner in ThreadPool.
- Font: Cover all ASCII chars.
- Option to disable audio and vibration.
2020-09-08 21:08:11 +02:00
Attila Uygun 05466725af Initial commit. 2020-09-08 21:08:07 +02:00