2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
531 B

  1. #ifndef IZ_REPO_H
  2. #define IZ_REPO_H
  3. #include <minIni.h>
  4. #include <sqlite3.h>
  5. #include <string.h>
  6. #include "../../common/IZ_common.h"
  7. #include "../../config/IZ_config.h"
  8. typedef struct {
  9. char path[64];
  10. } IZ_RepoConfig;
  11. typedef struct {
  12. IZ_RepoConfig config;
  13. sqlite3* db;
  14. } IZ_RepoState;
  15. static IZ_RepoState IZ_REPO_DEFAULT_STATE = {
  16. .config = {
  17. .path = "server.sqlite",
  18. },
  19. .db = NULL,
  20. };
  21. IZ_ProcedureResult IZ_RepoInitialize(IZ_RepoState*, const char*, u8, const char*[]);
  22. void IZ_RepoTeardown(IZ_RepoState*);
  23. #endif