
material loading_screen
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture splash/loading_screen.png 0
            }
        }
    }		
}

material loading_en
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture splash/loading_en.png 0
            }
        }
    }		
}

material loading_fr
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture splash/loading_fr.png 0
            }
        }
    }		
}

material loading_it
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture splash/loading_it.png 0
            }
        }
    }		
}

material loading_de
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture splash/loading_de.png 0
            }
        }
    }		
}

material loading_es
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture splash/loading_es.png 0
            }
        }
    }		
}

material loading_ga
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture splash/loading_ga.png 0
            }
        }
    }		
}

material loading_ru
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture splash/loading_ru.png 0
            }
        }
    }		
}


material mainMenuBackPlate
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture menu/mainmenu/mainMenuBackPlate.png 0
            }
        }
    }		
}

material DHD_logo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/DHD_logo.png 0
            }
        }
    }		
}

material DHD_logo_demo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/DHD_logo_demo.png 0
            }
        }
    }		
}


material menu/dialog
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/dialog.png 0
            }
        }
    }		
}

// ----- YES AND NO BUTTONS
material menu/yes
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/yes.png 0
            }
        }
    }		
}

material menu/yes_mo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
		pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/yes.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material menu/no
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/no.png 0
            }
        }
    }		
}

material menu/no_mo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
		pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/no.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material menu/options
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/Options.png 0
            }
        }
    }		
}

material menu/options_mo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
		pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/Options.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material menu/language
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/Language.png 0
            }
        }
    }		
}

material menu/language_mo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
		pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/Language.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material menu/quit
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/quit.png 0
            }
        }
    }		
}

material menu/quit_mo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
		pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/quit.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material menu/back
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/back.png 0
            }
        }
    }		
}

material menu/back_mo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
		pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/back.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material menu/next
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/back.png 0
				scale -1 1
            }
        }
    }		
}

material menu/next_mo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
		pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/back.png 0
				scale -0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}


material menu/pause
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/pause.png 0
            }
        }
    }		
}

material menu/pause_mo
{
    // first, preferred technique
    technique
    {
       // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
		pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/pause.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}


material menu/play_mo
{
    // first, preferred technique
    technique
    {
       // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
		pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/playOn.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material menu/play
{
    // first, preferred technique
    technique
    {
       // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
		pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/play.png 0
				scale 1 1
				tex_address_mode clamp
            }
        }
    }		
}

material menu/play_small
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/play_small.png 0
            }
        }
    }		
}

material menu/play_small_mo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
        pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/play_small.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material menu/delete
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/delete.png 0
            }
        }
    }		
}

material menu/delete_mo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
        pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/delete.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material menu/retry
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/retry.png 0
            }
        }
    }		
}

material menu/retry_mo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
        pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/retry.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material menu/home
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/home.png 0
            }
        }
    }		
}

material menu/home_mo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
        pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/home.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material menu/www
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/www.png 0
            }
        }
    }		
}

material menu/www_mo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
        pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/www.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material Legals_Backplate
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/legalsBackPlate.png 0
            }
        }
    }		
}


material bush_creature
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture menu/mainmenu/bush_creature.png 0
            }
        }
    }		
}

material zombie_grab
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture menu/mainmenu/zombie_grab.png 0
            }
        }
    }		
}

material TitleScreen_Gabe_writing
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture menu/mainmenu/TitleScreen_Gabe_writing.png 0
            }
        }
    }		
}

material TitleScreen_Gabe_looking
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture menu/mainmenu/TitleScreen_Gabe_looking.png 0
            }
        }
    }		
}

material TitleScreen_Zombie_tableThump
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture menu/mainmenu/TitleScreen_Zombie_tableThump.png 0
            }
        }
    }		
}

material TitleScreen_Zombie_tableFart
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture menu/mainmenu/TitleScreen_Zombie_tableFart.png 0
            }
        }
    }		
}

material TitleScreen_Zombie_FartCloud
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture menu/mainmenu/TitleScreen_Zombie_FartCloud.png 0
            }
        }
    }		
}

// ----- MAIN MENU IMAGES
material mainBackgroundPlaceholder
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			//scene_blend alpha_blend
			//depth_write = 0

            // Texture unit 0
            texture_unit
            {
				filtering point point none
                texture menu/mainMenu/MainBackDrop.png 0
            }
        }
    }
}

material MainBush
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			//scene_blend alpha_blend
			//depth_write = 0

            // Texture unit 0
            texture_unit
            {
				filtering point point none
                texture menu/mainMenu/Mainbush.png 0
            }
        }
    }
}

material MainClouds
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			//scene_blend alpha_blend
			//depth_write = 0

            // Texture unit 0
            texture_unit
            {
				filtering point point none
                texture menu/mainMenu/Mainclouds.png 0
				scroll_anim -0.01 0
            }
        }
    }
}

material Mainback
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			//scene_blend alpha_blend
			//depth_write = 0

            // Texture unit 0
            texture_unit
            {
				filtering point point none
                texture menu/mainMenu/MainBack.png 0
            }
        }
    }
}

material Mainfore
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			//scene_blend alpha_blend
			//depth_write = 0

            // Texture unit 0
            texture_unit
            {
				filtering point point none
                texture menu/mainMenu/Mainfore.png 0
            }
        }
    }
}

material Mainlights
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			//scene_blend alpha_blend
			//depth_write = 0

            // Texture unit 0
            texture_unit
            {
				filtering point point none
                texture menu/mainMenu/Mainlights.png 0
            }
        }
    }
}


material Mainmoon
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			//scene_blend alpha_blend
			//depth_write = 0

            // Texture unit 0
            texture_unit
            {
				filtering point point none
                texture menu/mainMenu/Mainmoon.png 0
            }
        }
    }
}

material Maintrees
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			//scene_blend alpha_blend
			//depth_write = 0

            // Texture unit 0
            texture_unit
            {
				filtering point point none
                texture menu/mainMenu/Maintrees.png 0
            }
        }
    }
}

//-----


material gobutton
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/start.png 0
            }
        }
    }		
}

material gobutton_mo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
		pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/start.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material loading
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture splash/loading.png 0
            }
        }
    }		
}

material gabe_loading
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture splash/gabe_loading.png 0
            }
        }
    }		
}

material gabby_loading
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture splash/gabby_loading.png 0
            }
        }
    }		
}

material Menu_Backplate
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/Menu_Backplate.png 0
            }
        }
    }		
}

material ButtonLarge
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/ButtonLarge.png 0
            }
        }
    }		
}

material ButtonLargeGlow
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/ButtonLarge.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
		// second pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/ButtonLargeGlow.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material Button_Menu
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/Button_Menu.png 0
            }
        }
    }		
}

material Button_Menu_mo
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/Button_Menu.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
		// second pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/Button_MenuGlow.png 0
				scale 0.98 0.98
				tex_address_mode clamp
            }
        }
    }		
}

material ButtonSmall
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/ButtonSmall.png 0
            }
        }
    }		
}

material ButtonSmallSkinnyGlow
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/ButtonSmallSkinny.png 0
				scale 0.99 0.99
				tex_address_mode clamp
            }
        }
		// second pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/ButtonSmallSkinnyGlow.png 0
				scale 0.99 0.99
				tex_address_mode clamp
            }
        }
    }		
}


material ButtonSmallSkinny
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/ButtonSmallSkinny.png 0
            }
        }
    }		
}

material nextButtonON
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/nextButtonON.png 0
            }
        }
    }		
}

material nextButtonOFF
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/nextButtonOFF.png 0
            }
        }
    }		
}

material upButtonON
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/upON.png 0
            }
        }
    }		
}

material upButtonOFF
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/upOFF.png 0
            }
        }
    }		
}

material downButtonON
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/upON.png 0
				scale 1 -1
            }
        }
    }		
}

material downButtonOFF
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/upOFF.png 0
				scale 1 -1
            }
        }
    }		
}

material previousButtonON
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/nextButtonON.png 0
				scale -1 1
            }
        }
    }		
}

material previousButtonOFF
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/nextButtonOFF.png 0
				scale -1 1
            }
        }
    }		
}


//--------- SLOT MATERIALS -------------
material menu/slot_empty
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/slot_empty.png 0
            }
        }
    }		
}

material menu/slot_highlight
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/slot_highlight.png 0
            }
        }
    }		
}

//------- WORLD ASSIGNED SAVE SLOT BUTTONS -----------
material menu/slot_world1
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/slot_world1.png 0
            }
        }
    }		
}

material menu/slot_world2
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/slot_world2.png 0
            }
        }
    }		
}

material menu/slot_world3
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/slot_world3.png 0
            }
        }
    }		
}

material menu/slot_world4
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/slot_world4.png 0
            }
        }
    }		
}

material menu/slot_world5
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
			scene_blend alpha_blend
			//depth_write = 0
			
            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/slot_world5.png 0
            }
        }
    }		
}

//FLAGS
material menu/fr
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/fr.png 0
            }
        }
    }		
}

material menu/frhi
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
        pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/frhi.png 0
				scale 0.95 0.95
				tex_address_mode clamp
            }
        }
    }		
}

material menu/de
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/de.png 0
            }
        }
    }		
}

material menu/dehi
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
        pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/dehi.png 0
				scale 0.95 0.95
				tex_address_mode clamp
            }
        }
    }		
}

material menu/ga
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/ga.png 0
            }
        }
    }		
}

material menu/gahi
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
        pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/gahi.png 0
				scale 0.95 0.95
				tex_address_mode clamp
            }
        }
    }		
}

material menu/it
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/it.png 0
            }
        }
    }		
}

material menu/ithi
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
        pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/ithi.png 0
				scale 0.95 0.95
				tex_address_mode clamp
            }
        }
    }		
}

material menu/ru
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/ru.png 0
            }
        }
    }		
}

material menu/ruhi
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
        pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/ruhi.png 0
				scale 0.95 0.95
				tex_address_mode clamp
            }
        }
    }		
}

material menu/es
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/es.png 0
            }
        }
    }		
}

material menu/eshi
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
        pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/eshi.png 0
				scale 0.95 0.95
				tex_address_mode clamp
            }
        }
    }		
}

material menu/en
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/en.png 0
            }
        }
    }		
}

material menu/enhi
{
    // first, preferred technique
    technique
    {
        // first pass
        pass 0
        {
            scene_blend add
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                anim_texture menu/mainmenu/buttonHL.png 8 0.5
				wave_xform scale_x sine 1 1.25 0 0.04
				wave_xform scale_y sine 1 1.25 0 0.04
            }
        }
        pass 1
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/enhi.png 0
				scale 0.95 0.95
				tex_address_mode clamp
            }
        }
    }		
}

//Language Notices.

material menu/ennotice
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/ennotice.png 0
            }
        }
    }		
}

material menu/frnotice
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/frnotice.png 0
            }
        }
    }		
}

material menu/denotice
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/denotice.png 0
            }
        }
    }		
}

material menu/esnotice
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/esnotice.png 0
            }
        }
    }		
}

material menu/itnotice
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/itnotice.png 0
            }
        }
    }		
}

material menu/ganotice
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/ganotice.png 0
            }
        }
    }		
}

material menu/runotice
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            scene_blend alpha_blend
			depth_write on

            // Texture unit 0
            texture_unit 
            {
                texture menu/mainmenu/flags/runotice.png 0
            }
        }
    }		
}

//KEEP
material GUI/checkPanelBorder
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            ambient 0.5 0.5 0.5
            diffuse 1.0 1.0 1.0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture test/checkPanelBorder.jpg 0
            }
        }
    }		
}

material GUI/stone
{
    // first, preferred technique
    technique
    {
        // first pass
        pass
        {
            ambient 0.5 0.5 0.5
            diffuse 1.0 1.0 1.0
			
            // Texture unit 0
            texture_unit 
            {
				filtering point point none
                texture test/stone2.jpg 0
            }
        }
    }		
}


