abdelrahman
b74f7c6e3a
Add DEBUG_ENGINE as compile definition instead of using build_config
2023-11-04 22:11:54 +00:00
abdelrahman
a2cd38d5b6
Add function to retrieve the Android data path
2023-10-01 20:54:01 +01:00
abdelrahman
2d5719fc64
Conditionally compile BitmapFont for Anroid
2023-10-01 15:52:03 +01:00
abdelrahman
0e18dd0705
Expose bitmap font rendering in the GameEngine API
2023-10-01 15:21:12 +01:00
abdelrahman
fe427689cf
Add support for rendering text with a bitmap font
2023-10-01 15:20:59 +01:00
abdelrahman
7ec35a0b27
Add basic implementation for bitmap font
2023-10-01 01:09:23 +01:00
abdelrahman
918de7bce0
Fix cppcheck errors
2023-08-06 22:13:14 +01:00
abdelrahman
475cd59e45
Make renderer pointer const in load_asset_to_manager
2023-08-06 22:11:56 +01:00
abdelrahman
e0d4e5b431
Add function to exit the game
2023-08-05 23:34:50 +01:00
abdelrahman
ad88083f53
Added min and max functions for floats and modified the text rendering code
2023-02-05 16:04:49 +00:00
abdelrahman
d429262aaa
Modified the text rendering functions to allow for clipping the text
2023-02-04 18:47:02 +00:00
abdelrahman
76875ed81f
Cleanup work
2023-02-03 00:15:07 +00:00
abdelrahman
62d7c6d54e
Moved FontDirection enum to Renderer.h
2023-02-01 00:00:43 +00:00
abdelrahman
79944cfa13
Added variables to build SDL2_ttf with HarfBuzz and added functions to
...
the engine to support defining the text direction and script name
2023-01-31 23:51:43 +00:00
abdelrahman
0339db22dd
Renamed close_asset to unload_asset
2023-01-23 00:40:00 +00:00
abdelrahman
681fa2a5dc
Reorganised the ObjectStore and AssetManager files
2023-01-02 13:08:24 +00:00
abdelrahman
24a86ba6e3
Added API functions for modulating the colour and alpha of a texture
2022-12-30 00:44:49 +00:00
abdelrahman
b95cff5f0c
Updated the aliases and switched from u64 to size_t in the for loops
2022-12-24 00:44:31 +00:00
abdelrahman
5e6211c2a9
Added aliases with sizes for the integer and floating-point numbers
2022-11-27 15:04:34 +00:00
abdelrahman
8a4697e121
Improved text rendering and fixed a bug with the texture rendering
2022-10-28 00:40:29 +01:00
abdelrahman
4659a4cd49
Added function that returns the current time in milliseconds
2022-10-25 00:57:59 +01:00
abdelrahman
a87eba8db7
Added ability to draw a non-filled rectangle
2022-10-09 04:50:28 +01:00
abdelrahman
c1659dcf88
Fixed an issue with clipping the render rectangle
2022-10-05 23:41:13 +01:00
abdelrahman
2eb8d83dc0
Added support for rendering on Android devices
2022-10-02 20:24:00 +01:00
abdelrahman
e110b1f2fd
Added support for desktop full screen with pillarboxing and letterboxing
...
and started adding some comments to the code
2022-10-02 02:16:28 +01:00
abdelrahman
ffaa6e5ae7
Started working on figuring out how to properly support full screen and
...
high DPI
2022-09-25 23:31:53 +01:00
abdelrahman
dbc8c88b89
Added ability to open, close and render fonts
2022-09-25 15:58:54 +01:00
abdelrahman
e3f4f9c94f
Implemented load audio and music files as well the basic audio playback
...
functionality.
2022-09-25 02:19:21 +01:00
abdelrahman
dfee36ffe9
Enabled SDL_image's support for PNG and TIFF files and improved the
...
AssetManager with a hashing function, a linked list structure to store
the hashes as well as a reference counter to support multiple users
sharing the same asset.
2022-09-24 04:17:16 +01:00
abdelrahman
3f71cf0f3f
Connected the AssetManager to the GameEngine and added function in the
...
GameEngine API to allow for loading and removing assets as well as rendering
textures using their AssetID
2022-09-23 04:39:17 +01:00
abdelrahman
c4f1775392
Implemented the core functionality of the ObjectStore and started
...
implementing the functionality for the AssetManager
2022-09-22 01:56:21 +01:00
abdelrahman
79f28100bd
Modified the ObjectStore and the Hashmap and added the ObjectStore to
...
the GameManager
2022-09-21 19:55:45 +01:00
abdelrahman
a0e76bc1fc
Implemented the ObjectStore functionality.
2022-09-19 23:44:31 +01:00
abdelrahman
20f476c4ab
Started implementing a hashmap that includes tags for the all the game
...
objects.
2022-09-12 01:28:29 +01:00
abdelrahman
6b1197bfca
Started working on the ObjectStore
2022-09-11 01:20:16 +01:00
abdelrahman
33066b381e
Created the Window and Renderer and started implementing the functions
...
for the game loop
2022-09-10 22:17:58 +01:00
abdelrahman
d637e4497b
Added engine.h
2022-09-08 23:49:48 +01:00