2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 

13 рядки
381 B

  1. #include "IZ_app_config.h"
  2. void IZ_ConfigGetDefaultPath(const char* config_path, size_t string_size) {
  3. #ifdef IZ_DEBUG
  4. const char* config_path_dir = SDL_GetBasePath();
  5. #else
  6. const char* config_path_dir = SDL_GetPrefPath("Modal Studios", IZ_APP_NAME);
  7. #endif
  8. memcpy_s(config_path, string_size, config_path_dir, 128);
  9. strcat_s(config_path, string_size, "config-server.ini");
  10. }