mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-12-23 00:12:24 +00:00
30 lines
No EOL
581 B
C
30 lines
No EOL
581 B
C
#ifndef MODS_H
|
|
#define MODS_H
|
|
|
|
#include "PR/ultratypes.h"
|
|
#include <types.h>
|
|
#include "src/pc/platform.h"
|
|
#include "mod.h"
|
|
|
|
#define MAX_MOD_SIZE (5 * 1048576) // 5MB
|
|
#define TMP_DIRECTORY "tmp"
|
|
|
|
struct Mods {
|
|
struct Mod** entries;
|
|
u16 entryCount;
|
|
size_t size;
|
|
};
|
|
|
|
extern struct Mods gLocalMods;
|
|
extern struct Mods gRemoteMods;
|
|
extern struct Mods gActiveMods;
|
|
|
|
extern char gRemoteModsBasePath[];
|
|
|
|
bool mods_generate_remote_base_path(void);
|
|
void mods_activate(struct Mods* mods);
|
|
void mods_clear(struct Mods* mods);
|
|
void mods_init(void);
|
|
void mods_shutdown(void);
|
|
|
|
#endif |