shithub: pt2-clone

ref: 98640ce202055262d24e8326bca113a22a368f46
dir: /src/pt2_modloader.h/

View raw version
#pragma once

#include <stdint.h>
#include <stdbool.h>
#include "pt2_header.h"
#include "pt2_unicode.h"

void showSongUnsavedAskBox(int8_t askScreenType);
void loadModFromArg(char *arg);
void loadDroppedFile(char *fullPath, uint32_t fullPathLen, bool autoPlay, bool songModifiedCheck);
void loadDroppedFile2(void);
module_t *createNewMod(void);
bool saveModule(bool checkIfFileExist, bool giveNewFreeFilename);
bool modSave(char *fileName);
module_t *modLoad(UNICHAR *fileName);
void setupNewMod(void);