CD_OUT_SRC/CD_IN/CD_FILE.H
2021-09-03 17:50:32 +02:00

61 lines
1.3 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

struct byte {
int T_Dibujo : 1;
int DOS_WINDOWS : 1;
int Install : 1;
int Ejecutable : 1;
int Tipo_de_Programa : 4;
};
struct Install {
int Usar_VGA_COPY : 1;
int Usar_ARJ : 1;
int Usar_ZIP : 1;
int Usar_LHA : 1;
int Usar_XCopy : 1;
int Usar_Install_P : 1;
int Manual_Automatico : 1;
};
typedef struct {
struct byte Typo; // 1 bit DOS o WINDOWS
// 4 bit Tipo de programa, ( Juegos, Dibujo, ... )
// 1 bit ( Tiene Dibujo SI / NO )
// 1 bit Instalable ( SI / NO )
// 1 bit Ejecutable
char Nombre[26+1]; // Nombre del programa
char Comentario[32][35 + 1]; // Comentario
char N_Img[8+1]; // Nombre de la imagen ( sin extensi¢n )
char Dir_P[50+1];
// Instalacion alternativa...
struct Install Alt_Install;
char N_Install[8+1];
char N_Exe[8+1];
} CD_FILE;
struct Cabecera {
char Nombre_del_Programa[70];
char Comentario_Inicial[70];
// const char R1 = 13, R2 =10;
// const char Comentario_Inicial[] = {"Jos David Guilln Dominguez"};
// const char R3 = 13, R4 =10;
// const char R5 = 7, R6 =26;
char VerHi, VerLow;
char Register;
long Records;
};
struct Cabecera CD_cabecera;