//
//  IOSGLRenderer.h
//  matchempoker
//
//  Created by jarnoh on 4/1/11.
//  Copyright 2011 peekpoke. All rights reserved.
//

#pragma once
#include "GLES2.h"

#include <AudioToolbox/AudioServices.h>


enum SampleID {
	AUDIO_SAMPLE_CLICK,
	AUDIO_SAMPLE_CHANGE,
	AUDIO_SAMPLE_CHANGE_COMPLETED,
	AUDIO_SAMPLE_DESTROY,
	AUDIO_LEVEL_COMPLETED,
	AUDIO_GAME_OVER,
	AUDIO_ILLEGAL_MOVE,
	AUDIO_NEXT_LEVEL,
	AUDIO_SAMPLE_EXP_BONUS,
	AUDIO_SAMPLE_X_BONUS,
	// 
	AUDIO_SAMPLE_COUNT
};


class IOSGLRenderer : public GLES2Renderer
{
    
public:
    IOSGLRenderer();
    ~IOSGLRenderer();
    
    void effectNotify( eTILEGAME_EFFECT effect, unsigned int arg1, unsigned int arg2 );
protected:
    
    int audioSample[AUDIO_SAMPLE_COUNT];
};

