Commit Graph
15 Commits
Author SHA1 Message Date
abdelrahman fc94efcc46 Fixed bugs with the add_object_to_store and remove_object_from_store
functions
2023-01-02 22:49:20 +00:00
abdelrahman 149a1180d1 Fixed a bug with the ObjectStore which would have caused some objects to
be ignored when running the game-loop functions.
2023-01-02 21:06:09 +00:00
abdelrahman 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.
2023-01-02 20:44:16 +00:00
abdelrahman 681fa2a5dc Reorganised the ObjectStore and AssetManager files 2023-01-02 13:08:24 +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 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 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