shithub: pt2-clone

ref: c4aa3c9df5772a8cf83bea4bfeb698734bc5b9e0
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);