Commit Graph

32 Commits

Author SHA1 Message Date
Attila Uygun 2eb571b1ff Fix for compile warnings 2023-10-24 00:32:23 +02:00
Attila Uygun 06e42ead57 Use imgui to show stats 2023-10-15 10:12:09 +02:00
Attila Uygun 7b8d2db565 Implement ImguiBackend 2023-10-14 21:04:11 +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 26a1270702 Add Engine::Print method
Also add a hello world example to readme
2023-07-28 18:37:51 +02:00
Attila Uygun cccc6ca8c3 Cleanup 2023-07-10 00:17:09 +02:00
Attila Uygun 3dc48ef05e Implement window resize 2023-07-01 21:36:26 +02:00
Attila Uygun 709029f22c Async-load support for assets 2023-06-25 16:48:56 +02:00
Attila Uygun 22d80d6152 Cleanup & refactor 2023-06-21 13:59:11 +02:00
Attila Uygun ba246eca7f Revert "Consume input events when switching between renderers"
This reverts commit 5c6e414a15.
2023-06-06 23:00:55 +02:00
Attila Uygun 5c6e414a15 Consume input events when switching between renderers 2023-06-05 23:41:27 +02:00
Attila Uygun e376b1bc17 Add option to switch between renderers 2023-06-04 12:54:40 +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 29ce485ca3 Fix for crash in renderer 2023-06-02 14:23:21 +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 f6f67d7e53 Cleanup renderer 2023-05-26 22:54:14 +02:00
Attila Uygun 43afdf855f Move renderer ownership to engine 2023-05-26 22:54:14 +02:00
Attila Uygun 8d28d85a09 Move AudioDriver ownership to AudioMixer 2023-05-24 23:14:14 +02:00
Attila Uygun b160ae0bd3 Support for switching between renderers in run-time 2023-05-24 23:14:14 +02:00
Attila Uygun c90d039944 Refactoring audio code 2023-05-18 22:25:11 +02:00
Attila Uygun cda1d750f8 Manage custom shaders in Engine 2023-05-17 11:46:19 +02:00
Attila Uygun 4bab472ed1 Enable extra warnings for all but third-party 2023-05-04 23:21:32 +02:00
Attila Uygun 10e272fee1 Code cleanup and improvements 2022-09-13 20:25:29 +02:00
Attila Uygun 0bb653d985 Code cleanup 2021-10-28 23:30:59 +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 1ae44b6a76 vecmath 2021-02-18 23:43:40 +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