// mylib.h (libreria para MYGAME)
#ifndef VC2005
#include <windows.h>
#endif
#define borrapantalla() system("cls");
#define inkey() (kbhit() ? getch() : EOF)
#define pausa() cout << "\n\n... pulse ENTER."; system("pause>nul");
#define ACTOR (char)2
#define ARRIBA 72
#define ABAJO 80
#define DERECHA 77
#define IZQUIERDA 75
#define pulso_flecha(p) ((p)==ARRIBA || (p)==ABAJO || (p)==DERECHA || (p)==IZQUIERDA)