62d7c6d54e
Moved FontDirection enum to Renderer.h
abdelrahman2023-02-01 00:00:43 +00:00
79944cfa13
Added variables to build SDL2_ttf with HarfBuzz and added functions to the engine to support defining the text direction and script name
abdelrahman2023-01-31 23:51:43 +00:00
e04effec37
Switched the engine to use SDL2_ttf UTF-8 text capabilities
abdelrahman2023-01-31 23:10:53 +00:00
0339db22dd
Renamed close_asset to unload_asset
abdelrahman2023-01-23 00:40:00 +00:00
fc94efcc46
Fixed bugs with the add_object_to_store and remove_object_from_store functions
abdelrahman2023-01-02 22:49:20 +00:00
149a1180d1
Fixed a bug with the ObjectStore which would have caused some objects to be ignored when running the game-loop functions.
abdelrahman2023-01-02 21:06:09 +00:00
be547b00ed
Added check to make sure the user passes at least one function pointer when adding an object to the store. Otherwise, the object isn't added.
abdelrahman2023-01-02 20:44:16 +00:00
681fa2a5dc
Reorganised the ObjectStore and AssetManager files
abdelrahman2023-01-02 13:08:24 +00:00
24a86ba6e3
Added API functions for modulating the colour and alpha of a texture
abdelrahman2022-12-30 00:44:49 +00:00
b95cff5f0c
Updated the aliases and switched from u64 to size_t in the for loops
abdelrahman2022-12-24 00:44:31 +00:00
e1806bafc2
Updated the init_window function to use SDL_WINDOW_FULLSCREEN instead of SDL_WINDOW_FULLSCREEN_DESKTOP
abdelrahman2022-12-21 22:24:47 +00:00
5e6211c2a9
Added aliases with sizes for the integer and floating-point numbers
abdelrahman2022-11-27 15:04:34 +00:00
45f6021f82
Switched the engine to use a fixed delta in debug mode
abdelrahman2022-11-26 20:15:22 +00:00
b2f4c60e14
Renamed the Engine library to Punchie
abdelrahman2022-10-31 00:09:16 +00:00
8a4697e121
Improved text rendering and fixed a bug with the texture rendering
abdelrahman2022-10-28 00:40:29 +01:00
4659a4cd49
Added function that returns the current time in milliseconds
abdelrahman2022-10-25 00:57:59 +01:00
cc052ed02c
Fixed a small bug in the clip render rect function where it doesn't check to make sure the src rect pointer isn't NULL.
abdelrahman2022-10-17 00:27:52 +01:00
a87eba8db7
Added ability to draw a non-filled rectangle
abdelrahman2022-10-09 04:50:28 +01:00
c1659dcf88
Fixed an issue with clipping the render rectangle
abdelrahman2022-10-05 23:41:13 +01:00
2eb8d83dc0
Added support for rendering on Android devices
abdelrahman2022-10-02 20:24:00 +01:00
e110b1f2fd
Added support for desktop full screen with pillarboxing and letterboxing and started adding some comments to the code
abdelrahman2022-10-02 02:16:28 +01:00
ffaa6e5ae7
Started working on figuring out how to properly support full screen and high DPI
abdelrahman2022-09-25 23:31:53 +01:00
dbc8c88b89
Added ability to open, close and render fonts
abdelrahman2022-09-25 15:58:54 +01:00
e3f4f9c94f
Implemented load audio and music files as well the basic audio playback functionality.
abdelrahman2022-09-25 02:19:21 +01:00
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.
abdelrahman2022-09-24 04:17:16 +01:00
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
abdelrahman2022-09-23 04:39:17 +01:00
c4f1775392
Implemented the core functionality of the ObjectStore and started implementing the functionality for the AssetManager
abdelrahman2022-09-22 01:56:21 +01:00
79f28100bd
Modified the ObjectStore and the Hashmap and added the ObjectStore to the GameManager
abdelrahman2022-09-21 19:55:45 +01:00
a0e76bc1fc
Implemented the ObjectStore functionality.
abdelrahman2022-09-19 23:44:31 +01:00
20f476c4ab
Started implementing a hashmap that includes tags for the all the game objects.
abdelrahman2022-09-12 01:28:29 +01:00