Annotation of hatari/src/includes/main.h, revision 1.1.1.15

1.1       root        1: /*
1.1.1.6   root        2:   Hatari - main.h
                      3: 
                      4:   This file is distributed under the GNU Public License, version 2 or at
                      5:   your option any later version. Read the file gpl.txt for details.
1.1       root        6: */
                      7: 
1.1.1.6   root        8: #ifndef HATARI_MAIN_H
                      9: #define HATARI_MAIN_H
1.1       root       10: 
                     11: 
1.1.1.13  root       12: /* Name and version for window title: */
                     13: // #define PROG_NAME "Hatari CVS (" __DATE__ ")"
1.1.1.15! root       14: #define PROG_NAME "Hatari v1.1.0"
1.1       root       15: 
                     16: 
                     17: #include <stdio.h>
                     18: #include <stdlib.h>
                     19: #include <string.h>
                     20: #include <math.h>
                     21: #include <time.h>
                     22: 
1.1.1.8   root       23: #include <SDL_types.h>
1.1.1.15! root       24: #include <stdbool.h>
1.1.1.13  root       25: 
1.1       root       26: #ifndef FALSE
1.1.1.15! root       27: #define FALSE false
        !            28: #define TRUE  true
1.1       root       29: #endif
                     30: 
1.1.1.12  root       31: #ifdef WIN32
                     32: #define PATHSEP '\\'
                     33: #else
                     34: #define PATHSEP '/'
                     35: #endif
                     36: 
1.1       root       37: #define CALL_VAR(func)  { ((void(*)(void))func)(); }
                     38: 
                     39: 
1.1.1.4   root       40: /* 68000 operand sizes */
1.1       root       41: #define SIZE_BYTE  1
                     42: #define SIZE_WORD  2
                     43: #define SIZE_LONG  4
                     44: 
1.1.1.15! root       45: 
        !            46: extern bool bQuitProgram;
        !            47: extern bool bEnableDebug;
        !            48: 
        !            49: extern void Main_MemorySnapShot_Capture(bool bSave);
        !            50: extern bool Main_PauseEmulation(bool visualize);
        !            51: extern bool Main_UnPauseEmulation(void);
1.1.1.13  root       52: extern void Main_RequestQuit(void);
1.1.1.12  root       53: extern void Main_WaitOnVbl(void);
1.1.1.9   root       54: extern void Main_WarpMouse(int x, int y);
                     55: extern void Main_EventHandler(void);
1.1       root       56: 
1.1.1.6   root       57: #endif /* ifndef HATARI_MAIN_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.