// G.E.M.Z. Game Definition File
// -----------------------------

// Background color used for the bonus time
[SCL]bg_bonuspoints_bar = $ff00ff

// Gem moving speed (default = 1.5), decrease this value to
// increase speed.
[SFL]gem_speed = 1.5

// Gem edges contrast (default = 50), increase this
// value for more contrast
[SIN]gem_edges_contrast = 50

// Gem transparency (default = 40), increase this value
// to make gems more transparent
[SIN]gem_transparency = 40

// Grid transparency (default = 120), increase this value
// to make the grid more transparent
[SIN]grid_transparency = 120

// Gem colors (RRGGBB)
[SECTION]=gem_colors
  [SCL]#0=$C80000
  [SCL]#1=$00C800
  [SCL]#2=$0000C8
  [SCL]#3=$C8C800
  [SCL]#4=$C800C8
  [SCL]#5=$00C8C8
  [SCL]#6=$C8C8C8
  [SCL]#7=$320000
  [SCL]#8=$003200
  [SCL]#9=$000032
  [SCL]#10=$323200
  [SCL]#11=$320032
  [SCL]#12=$003232
  [SCL]#13=$323232
  [SCL]#14=$C8FA00
[END SECTION]

// Graphic profiles
[SECTION]=gfx_profile
  [SECTION]=high
    [SIN]screen_width  = 1024
    [SIN]screen_height = 768
    [SIN]gems_parts1   = 8
    [SIN]gems_parts2   = 4
    [SIN]rolling_gems  = 18
    [SIN]star_count1   = 14
    [SIN]star_count2   = 70
    [SFL]gfx_mul       = 1
  [END SECTION]

  [SECTION]=middle
    [SIN]screen_width  = 800
    [SIN]screen_height = 600
    [SIN]gems_parts1   = 4
    [SIN]gems_parts2   = 2
    [SIN]rolling_gems  = 12
    [SIN]star_count1   = 10
    [SIN]star_count2   = 50
    [SFL]gfx_mul       = 1
  [END SECTION]

  [SECTION]=low
    [SIN]screen_width  = 640
    [SIN]screen_height = 480
    [SIN]gems_parts1   = 4
    [SIN]gems_parts2   = 2
    [SIN]rolling_gems  = 6
    [SIN]star_count1   = 5
    [SIN]star_count2   = 25
    [SFL]gfx_mul       = 0.90
  [END SECTION]

  [SECTION]=verylow
    [SIN]screen_width  = 540
    [SIN]screen_height = 480
    [SIN]gems_parts1   = 3
    [SIN]gems_parts2   = 2
    [SIN]rolling_gems  = 3
    [SIN]star_count1   = 3
    [SIN]star_count2   = 15
    [SFL]gfx_mul       = 0.75
  [END SECTION]
[END SECTION]


// -------- ??? Alarm Fx : effect used when the timer reach zero
// Possible values are : none, background, grid-zoom
[SBL]alarm_background = 1


//=====| AUDIO |=====
{ audio
  // FadeOut_MS : How many ms should pass between each volume descrease (>10)
  [SIN]fadeout_ms = 40

  // Samples and sound effect volume (0-64)
  [SIN]samples_volume = 30
  
  // Music volume (0-64)
  [SIN]music_volume = 64
  }

//=====| LANGUAGE SCREEN |=====
{ language_screen
  { flags
      // Hilight color
      [SIN]htintlevel = 80
      [SCL]htintcolor = $FFFFFF
      
      // Hilight: Min zoom, Max Zoom, Time (ms)
      [MFL]hzoom = 1, 1.3, 100
      [SBL]hloop = 0
      
      // Normal: Min zoom, Max zoom, Time (ms)
      [MFL]nzoom = 1.3, 1, 150
      [SBL]nloop = 0
    }

  { resolution_selector
      [SST]hilighter_fx     = pulse
      [SST]hilighter_easing = linear
      [SIN]hilighter_time   = 800
      [SSI]width            = [%DW]6.25
      [SSI]height           = [%DW]6.25
      [SSI]hposition        = [%DW]6.25
      [SSI]vposition        = [%DH]92
    }
  { credits_section
      [SST]line1     = Thanks to the following people for helping with the translations:
      [SST]line2     = [B]Thellier[/B] : French, [B]Johannes 'Yasu' Genberg[/B] : Swedish, Japanese and English, [B]Eiko Hirasawa[/B] : Japanese
      [SSI]hposition = [%DW]50
      [SIN]vposition = 8
      [SIN]fontsize  = 14
    }
  }
  
//=====| MENU SCREEN |=====
{ menu_screen
  // Logo position and effect
  [SSI]xlogo = [%DW]50
  [SSI]ylogo = [%DH]20
  [SST]elogo = outbounce
  
  // Play button position
  [SSI]xplay = [%DW]50
  [SSI]yplay = [%DH]45
  
  // Options button position
  [SSI]xopts = [%DW]50
  [SSI]yopts = [%DH]60
  
  // Exit button position
  [SSI]xexit = [%DW]50
  [SSI]yexit = [%DH]80
  
  // Buttons enter effect
  [SST]eshow = outback
  
  // Buttons exit effect
  [SST]ehide = incubic
  
  // Buttons hilight fx
  [SIN]hlevel = 190
  [SCL]hcolor = $FFFF55
  }
  
//=====| HISCORE INSERT |=====
{ hsinsert
  [SSI]xname = [%DW]50
  [SSI]yname = [%DH]60
  [CNS]fontname = #SANS
  [SIN]fontsize = 60
  [CNS]fontstyle = #ANTIALIAS+#BOLD
  [SCL]fontcolor = $44FFFFFF
  }
  
//=====| HISCORE KEYBOARD |=====
{ hskeyboard
  [CNS]fontname = #SANS
  [CNS]fontstyle = #BOLD+#ANTIALIAS
  [SCL]fontcolor = $FFFFFF
  [SCL]shadowcolor = $000000
  [SFL]relative_height = 0.85
  [SIN]shadow_offset = 1
  [MFL]zoom_anim = 1.5, 1, 250
  
  // Entering fx
  [SST]key_fadeanim = linear
  [MFL]key_zoomanim = 3, 1, 1000
  }

//=====| HISCORE SHOW |=====
{ hsshow
  // Title
  [SST]title_manim = linear
  [SST]title_fanim = linear
  
  // Subtitle
  [SST]stitle_manim = outbounce
  [SST]stitle_fanim = linear
  
  // Entries
  [CNS]fontname = #SANS
  [CNS]fontstyle = #ANTIALIAS
  [SCL]fontcolor = $FFFF00
  [SCL]shadowcolor = $FF0000
  }

//=====| MISCELLANEOUS |=====
{ misc
  // Background resize smoothing
  [SBL]background_smooth = 1

  // Text sprites smoothing
  [SBL]textsprite_smooth = 1
  
  // Sprites smoothing
  [SBL]sprite_smooth = 1
  
  // Background gradient fx
  [SCL]bggradient1 = $660000
  [SCL]bggradient2 = $000066
  [SIN]bggradienta = 45
  [CNS]bggradientm = #LINEAR

  { gameover
    // Game over enter and exit effects
    [SST]escreen_in  = outsine
    [SST]escreen_out = insine
    }
    
  { playscreen
    // Play screen background enter and exit effects
    [SST]escreen_in  = linear
    [SST]escreen_out = linear
    
    // One more color enter effect
    [SST]ecoloradd_in = linear
    
    // One more color enter zoom effect
    [MFL]zcoloradd_in = 0.1, 2, 1900
    }
  }
