Annotation of uae/src/od-win32/win32gui.h, revision 1.1.1.1

1.1       root        1: #ifndef WIN32GUI_H
                      2: #define WIN32GUI_H
                      3: 
                      4: #define MAXJOYSTICKS 2
                      5: 
                      6: #define MAX_BUFFER_SIZE    256
                      7: #define NUM_DRIVES         16
                      8: 
                      9: typedef struct
                     10: {
                     11:     char path[256];
                     12:     char name[256];
                     13:     uae_u16 rw;
                     14:     uae_u8  sectors;
                     15:     uae_u8  surfaces;
                     16:     uae_u8  reserved;
                     17:     uae_u8  hardfile;
                     18:     uae_u16 spare;
                     19: } drive_specs;
                     20: 
                     21: extern drive_specs drives[NUM_DRIVES];
                     22: 
                     23: #define CFG_DESCRIPTION_LENGTH 128
                     24: #define CFG_SER_LENGTH 256
                     25: #define CFG_ROM_LENGTH 256
                     26: #define CFG_PAR_LENGTH 256
                     27: #define CFG_KEY_LENGTH 256
                     28: 
                     29: #define CONFIG_VERSION_MAJOR 1
                     30: #define CONFIG_VERSION_MINOR 2
                     31: 
                     32: #define DIRECT_SOUND_ENABLED 0x01
                     33: #define AHI_ENABLED          0x02
                     34: #define SOUND_HAS_PRIORITY   0x03
                     35: 
                     36: typedef struct
                     37: {
                     38:     // Configuration Version Information
                     39:     DWORD Size;
                     40:     WORD VersionMajor;
                     41:     WORD VersionMinor;
                     42: 
                     43:     // Configuration Description
                     44:     char  Name[ MAX_PATH ];
                     45:     char  Description[ CFG_DESCRIPTION_LENGTH ];
                     46: 
                     47:     // Actual configuration information
                     48:     char  CustomSize;             // flag that the user has selected custom xy dimensions
                     49:     char  SerialPort;           // serial-port flag
                     50:     char  InvalidAddresses;     // log invalid-address stuff
                     51:     char  NoAutoConfig;         // do not add uae-devices and memory if set
                     52: 
                     53:     char  AddressingIs24Bit;    // 24-bit addressing
                     54:     char  JulianMode;
                     55:     char  CPULevel;             // 0 = 68000, 1 = 68010, 2 = 68020, 3 = 68020/68881
                     56:     char  CPUCompatible;        // 0 = no, 1 = yes
                     57: 
                     58:     int   FakeJoystick;         // Joystick settings
                     59: 
                     60:     char  CyrixCPU;             // related to QueryPerformanceCounter or RTSC register
                     61:     char  GfxLibReplacement;    // use the EXPERIMENTAL gfx-lib replacement stuff
                     62:     char  CenterX;              // center the image horizontally
                     63:     char  CenterY;              // center the image vertically
                     64: 
                     65:     char  Blit32;               // 32-bit blits
                     66:     char  BlitImmediate;        // blit immediately
                     67:     char  FullScreen;           // full-screen display mode
                     68:     char  LineDouble;           // double lines
                     69: 
                     70:     char  CorrectAspect;        // dunno
                     71:     char  Lores;                // lores pixels
                     72:     char  MoreOptions;          // 8-bit mask of other options:
                     73:                                 //   0x01 = direct-sound
                     74:     char  DebugLogging;
                     75: 
                     76:     char  ColorMode;            // dunno
                     77:     char  M68KSpeed;            // -w option, for tuning CPU vs. custom-chip performance
                     78: 
                     79:     char  SerialName[CFG_SER_LENGTH];      // name of port to use
                     80:     char  KickstartName[CFG_ROM_LENGTH];   // Name of ROM file
                     81:     char  KeyFileName[CFG_KEY_LENGTH];     // Name of Key-File
                     82:     char  PrinterName[CFG_PAR_LENGTH-4];     // Name of printer
                     83: 
                     84:     int   FrameRate;            // refresh-rate for Amiga screens
                     85: 
                     86:     // Memory sizes
                     87:     uae_u32 ChipMem;
                     88:     uae_u32 FastMem;
                     89:     uae_u32 P96Mem;
                     90:     uae_u32 BogoMem;              // slow-mem
                     91:     uae_u32 Z3Mem;                // Zorro-III memory
                     92: 
                     93:     int   ScreenWidth;          // width of display for Amiga screens
                     94:     int   ScreenHeight;         // height of display for Amiga screens
                     95: 
                     96:     // Sound settings
                     97:     char  SoundSupport;
                     98:     char  SoundStereo;
                     99:     int   SoundBits;
                    100:     int   SoundFreq;
                    101: 
                    102:     // Hard-Drive Settings
                    103:     drive_specs drives[ NUM_DRIVES ];
                    104: 
                    105:     // Floppy Settings
                    106:     char  df[4][256];
                    107: 
                    108: } ConfigStruct, *ConfigStructPtr;
                    109: 
                    110: extern int GetSettings (int all_options);
                    111: 
                    112: #endif

unix.superglobalmegacorp.com

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