Subversion Repositories battle

[/] [trunk/] [Battle/] [CharacterSelect.h] - Rev 135

Compare with Previous | Blame | View Log

#ifndef _CHARACTERSELECT_H
#define _CHARACTERSELECT_H

#include "PlayerAnimation.h"

class CharacterSelect {
public:
        CharacterSelect();
        void run();

        char * name[4];
        char * file[4];

        bool player_joined[4];
        int player_select[4];

        bool cancel;
private:
        void draw();

        void init();
        void clean_up();

        void prerender_background();

        void process_cursors();

        void process_random_players();

        void select(int player, int direction);

        SDL_Surface * background;

        bool ready;
        bool player_ready[4];

        bool player_random[4];
        int player_random_start[4];
        int player_random_before[4];

        PlayerAnimation * playeranimation[4];

        GameInput * input[4];

        bool flicker[4];
        int flicker_start[4];
        int flicker_frame[4];

        int frame;
};

#endif

Compare with Previous | Blame