text: /*
   * OpenBOR - http://www.chronocrash.com
   * -----------------------------------------------------------------------
   * All rights reserved, see LICENSE in OpenBOR root for details.
   *
   * Copyright (c) 2004 - 2015 OpenBOR Team
   */
  
  #ifndef SAVEDATA_H
  #define SAVEDATA_H
  
  #define     MAX_PLAYERS         4
  #define     MAX_BTN_NUM         13
  
  typedef struct
  {
      unsigned compatibleversion;
      int gamma;
      int brightness;
      int usesound; // Use SB
      unsigned soundrate; // SB freq
      int soundvol; // SB volume
      int usemusic; // Play music
      int musicvol; // Music volume
      int effectvol; // Sound fx volume
      int soundbits; // SB bits
      int usejoy;
      int mode; // Mode now saves
      int windowpos;
      int keys[MAX_PLAYERS][MAX_BTN_NUM];
      int showtitles;
      int videoNTSC;
      int swfilter; // Software scaling filter
      int logo;
      int uselog;
      int debuginfo; // FPS, Memory, etc...
      int debug_collision_attack;
      int debug_collision_body;
      int debug_collision_range;
      int debug_position;
      int debug_features;
      int fullscreen; // Window or Full Screen Mode
      int stretch; // Stretch (1) or preserve aspect ratio (0) in fullscreen mode
      int screen[1][2];
  #if SDL
      int usegl; // 1 if OpenGL is preferred over SDL software blitting
      float hwscale; // Scale factor for OpenGL
      int hwfilter; // Simple or bilinear scaling
  #endif
  #if PSP
      int pspcpuspeed; // PSP CPU Speed
      int overscan[4]; // Control TV Overscan
      int usetv; // Initilize TV at bootup
  #endif
  
  } s_savedata;
  
  extern s_savedata     savedata;
  
  #endif
  