--- previous/src/includes/main.h 2018/04/24 19:25:10 1.1 +++ previous/src/includes/main.h 2018/04/24 19:30:32 1.1.1.4 @@ -10,8 +10,18 @@ /* Name and version for window title: */ -//#define PROG_NAME "Hatari devel (" __DATE__ ")" -#define PROG_NAME "Previous 0.1" +#define PROG_NAME "Previous 1.4" + +/* Messages for window title: */ +#ifdef _WIN32 +#define MOUSE_LOCK_MSG "Mouse is locked. Press right_ctrl-alt-m to release." +#elif __linux__ +#define MOUSE_LOCK_MSG "Mouse is locked. Press right_ctrl-alt-m to release." +#elif __APPLE__ +#define MOUSE_LOCK_MSG "Mouse is locked. Press ctrl-alt-m to release." +#else +#define MOUSE_LOCK_MSG "Mouse is locked. Press shortcut-m to release." +#endif #include "config.h" @@ -51,13 +61,14 @@ #define CPU_FREQ 8012800 extern bool bQuitProgram; -extern Uint32 nRunVBLs; extern bool Main_PauseEmulation(bool visualize); extern bool Main_UnPauseEmulation(void); extern void Main_RequestQuit(void); +extern void Main_SetRunVBLs(Uint32 vbls); extern void Main_WaitOnVbl(void); extern void Main_WarpMouse(int x, int y); extern void Main_EventHandler(void); +extern void Main_SetTitle(const char *title); #endif /* ifndef HATARI_MAIN_H */