finish CLMain.c

This commit is contained in:
Ash Wolf
2022-10-13 17:56:43 +01:00
parent 59a724bd4c
commit b8df05413a
12 changed files with 518 additions and 615 deletions

View File

@@ -3,7 +3,7 @@
typedef struct {
const char *name;
SInt16 rsrcid;
const char **strings;
Handle strings;
} Res;
static Res rlist[16];
@@ -12,7 +12,7 @@ void Res_Initialize() {
memset(rlist, 0, sizeof(rlist));
}
int Res_AddResource(const char *name, SInt16 rsrcid, const char **strings) {
int Res_AddResource(const char *name, SInt16 rsrcid, Handle strings) {
int scan;
for (scan = 0; scan < 16 && rlist[scan].rsrcid; scan++) {