First commit 09/12/1994
This commit is contained in:
124
CATALOGO.H
Normal file
124
CATALOGO.H
Normal file
@ -0,0 +1,124 @@
|
||||
#ifndef Catalogo
|
||||
#define Catalogo Jos<6F>_David
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
||||
#define FINDRV 9
|
||||
#define FINALSOUND 8
|
||||
|
||||
extern int x_raton; // En el M<>dulo: Craton.CPP
|
||||
extern int y_raton; // En el M<>dulo: Craton.CPP
|
||||
extern int boton_izq; // En el M<>dulo: Craton.CPP
|
||||
extern int boton_der; // En el M<>dulo: Craton.CPP
|
||||
|
||||
|
||||
int bpush;
|
||||
int GraphDriver = 9; /* The Graphics device driver */
|
||||
int GraphMode = 2; /* The Graphics mode value */
|
||||
int ErrorCode; /* Reports any graphics errors */
|
||||
|
||||
char *dir_voc = "123456789012";
|
||||
char *dir_sfx = "123456789012";
|
||||
char vieja_dir_sfx[] = "123456789012";
|
||||
|
||||
extern int raton; /* Indica si esta instalado el raton (def. NO) */
|
||||
int PunteroRaton = 0; /* Se deja el puntero de raton original <20>? (def. NO) */
|
||||
|
||||
|
||||
|
||||
int access = 0; /* Indica si se tiene acceso al menu ppal. (def. NO) */
|
||||
|
||||
int sb = 1; /* Indica si esta instalada la SB (def. SI) */
|
||||
int sb2 = 1;
|
||||
int NoIniSb = 1;
|
||||
|
||||
struct boton {
|
||||
|
||||
int left;
|
||||
int up;
|
||||
int right;
|
||||
int down;
|
||||
|
||||
};
|
||||
|
||||
|
||||
/* */
|
||||
/* Prototipos de Funci<63>n */
|
||||
/* */
|
||||
|
||||
int PideCodigo(void);
|
||||
void Initialize(void);
|
||||
void Menu_Utilidad(void);
|
||||
void Menu_Principal(void);
|
||||
void BorraViewPort(int view);
|
||||
void asigna_modo_video(void);
|
||||
void Dibuja_Menu_Utilidad(void);
|
||||
void Dibuja_Menu_Utilidad(void);
|
||||
void Menu_Mirar(int Mirar_Modificar);
|
||||
int CheckButon(int nb, struct boton menu[]);
|
||||
void CheckArg(int nargumentos, char *argumentos[]);
|
||||
void Sound_SN(char headfile[]);
|
||||
|
||||
|
||||
|
||||
extern void Info(char *nombrecargado);
|
||||
|
||||
extern void Modificar_Comentario(void);
|
||||
extern void Editar_Modificar(int Mirar_Modificar, int X);
|
||||
extern void EditarModificarPedidos(void);
|
||||
|
||||
|
||||
// En el M<>dulo: Craton.CPP
|
||||
extern void inicializa_raton_grafico(int x1, int y1, int x2,
|
||||
int y2, int px, int py);
|
||||
extern void desactiva_raton(void);
|
||||
extern void activa_raton(void);
|
||||
|
||||
extern int Inicializa_SB(void);
|
||||
extern void PlaySound(int Lee);
|
||||
extern "C" void SOUNDFXDRIVER(int);
|
||||
|
||||
// En el M<>dulo: Cgraph.CPP
|
||||
|
||||
extern void DibujaPantalla(void);
|
||||
extern void ImprimeBoton2 (int fill, int cdf, int cs1, int cs2, struct boton parm);
|
||||
extern void fundido_al_negro(void);
|
||||
|
||||
extern int Animacion(void); // En el M<>dulo: Animaci<63>n.CPP
|
||||
|
||||
void Imprimir_Individual(int x);
|
||||
|
||||
|
||||
extern struct JD {
|
||||
char esc; char color[8]; char prog[14];
|
||||
char nl; char rt; char autor[36];
|
||||
char pt; char ef;
|
||||
};
|
||||
|
||||
extern struct JD cabecera;
|
||||
|
||||
extern struct setup {
|
||||
int version; // uso interno, para versi<73>n
|
||||
long registrado; // registrado <20> SI o NO ?
|
||||
char usuario[20]; // registrado a ...
|
||||
long codigo; // codigo de acceso <20><><EFBFBD> 0 = no c<>digo !!!
|
||||
|
||||
char futura_ampliacion[50];
|
||||
};
|
||||
|
||||
extern struct setup Setup;
|
||||
|
||||
|
||||
|
||||
extern FILE *JD_s; // Fichero Setup
|
||||
extern char ArchivoSetup[];
|
||||
extern void lee_setup(void);
|
||||
extern void Configuracion(void);
|
||||
extern int InputCadenaG(char *s, int numalp, int lmax, int px, int py, int cc, int cf);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user