Add scripting to TE

This commit is contained in:
Such Meme, Many Skill
2020-02-06 23:31:19 +01:00
parent eb8652c6ec
commit 1a2fd158e9
6 changed files with 228 additions and 4 deletions

View File

@@ -0,0 +1,21 @@
#pragma once
#define strcmpcheck(x, y) (!strcmp(x, y))
typedef int (*part_handler)();
typedef struct _script_parts {
char name[11];
part_handler handler;
short arg_amount;
} script_parts;
void ParseScript(char* path);
int Part_WaitOnUser();
int Part_Exit();
int Part_ErrorPrint();
int Part_Print();
int Part_MountMMC();
int Part_ConnectMMC();
int Part_MakeFolder();
int Part_RecursiveCopy();
int Testing_Part_Handler();
int Part_Copy();