2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

1234567891011
  1. #include "IZ_asset.h"
  2. void IZ_AssetResolveDir(const char* asset_name, char* out) {
  3. // TODO:
  4. // 1. Check all folders under assets/
  5. // 2. Check if the asset name exists under assets/internal/<pack>
  6. // 3. Return the directory when directory exists for assets/internal/<pack>/<asset_name>
  7. // 4. Return the directory when directory exists for assets/external/<pack>/<asset_name>
  8. // 5. Else return assets/internal/default/<asset_name>
  9. sprintf(out, "%s/%s", "assets/internal/default", asset_name);
  10. }