JoshDreamland icon

Untitled

JoshDreamland | PRO | 05/29/13 04:50:10 PM UTC | 0 ⭐ | 226 👁️ | Never ⏰ | []
text |

660 B

|

None

|

0 👍

/

0 👎

enum loader_status {
  LOADER_SUCCEEDED, ///< The sound was successfully loaded. Stop trying to load it.
  LOADER_UNSUPPORTED, ///< The sound format is not supported; try another loader.
  LOADER_ERROR ///< The sound was of an acceptable format, but could not be loaded.
};
 /// Sound loading callback; called for each sound in the game (Regardless of format!)
/// Returns whether the load succeeded, or another loader (or builtin loaders) should be tried.
typedef loader_status (*loader_callback)(int id, char* data);
 /// Register a sound loader; this function will be called before attempting to load a sound locally.
void register_loader(loader_callback callback);

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎