feat: add engine SaveStorageData and LoadStorageData and started saving stats of player

This commit is contained in:
2026-03-08 15:25:20 +01:00
parent 40d48b4f2f
commit 341b675fa9
6 changed files with 90 additions and 2 deletions
+3
View File
@@ -237,5 +237,8 @@ float Vector2ToRotation(Vector2 vec);
Vector2 GetPositionInsideRectangle(Rectangle rec);
Vector2 GetPositionOutsideRectangle(Rectangle rec, int min, int max);
bool SaveStorageValue(const char* fileName, unsigned int position, int value);
int LoadStorageValue(const char* fileName, unsigned int position);
#endif //ENGINE_H