Added aliases with sizes for the integer and floating-point numbers

This commit is contained in:
abdelrahman committed 2022-11-27 15:04:34 +00:00
1 parent 45f6021f82
commit 5e6211c2a9
14 files changed
+146 -136

No files matched your search

+3 -3
View File
@@ -3,16 +3,16 @@
#include "Renderer.h"
#include "SDL_events.h"
#include "aliases.h"
#include "engine_build_config.h"
#include "reusable_ids.h"
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif // !__cplusplus
typedef void (*EventHandlerPtr)(void *object, const SDL_Event *event);
typedef void (*UpdateFuncPtr)(void *object, float delta);
typedef void (*UpdateFuncPtr)(void *object, f32 delta);
typedef void (*RenderFuncPtr)(void *object);
typedef struct object_store ObjectStore;
@@ -40,7 +40,7 @@ ObjectID add_object_to_store(ObjectStore *os, void *object, EventHandlerPtr eh,
void remove_object_from_store(ObjectStore *os, ObjectID *id_ptr);
void handle_all_objects_events(ObjectStore *os, const SDL_Event *event);
void update_all_objects(ObjectStore *os, float delta);
void update_all_objects(ObjectStore *os, f32 delta);
void render_all_objects(ObjectStore *os);
/**