Lib for the game characters of robozoec era

gameCharacters.h

Committer:
robinmc
Date:
2016-05-04
Revision:
2:d9440b3314bb
Parent:
1:14e5288790f4
Child:
3:704821ea028f

File content as of revision 2:d9440b3314bb:

/* Library referencing all the arrays needed in the game

*/

int g_g1;         //global vaiable that is is 1 when the players gun is upgraded
int g_g2;         //global vaiable that is is 1 when the players gun is upgraded for the second time

int g_recks_still_gun[10][10]= {            //global array for the main charachter (recks) when he is still
    {0,0,0,1,1,1,0,0,0,0},
    {0,0,0,1,1,1,0,0,0,0},
    {0,0,0,1,1,1,0,0,0,0},
    {0,0,0,0,1,0,1,1,g_g1,g_g2},
    {0,0,0,0,1,1,1,0,0,0},
    {0,0,0,0,1,0,0,0,0,0},
    {0,0,0,0,1,0,0,0,0,0},
    {0,0,0,0,1,0,0,0,0,0},
    {0,0,0,0,1,0,0,0,0,0},
    {0,0,0,0,1,0,0,0,0,0}
};

int g_recks_moving_gun[10][10]= {      //global array for the main charachter (recks) when he is moving
    {0,0,0,1,1,1,0,0,0,0},
    {0,0,0,1,1,1,0,0,0,0},
    {0,0,0,1,1,1,0,0,0,0},
    {0,0,0,0,1,0,1,1,g_g1,g_g2},
    {0,0,0,0,1,1,1,0,0,0},
    {0,0,0,0,1,0,0,0,0,0},
    {0,0,0,0,1,0,0,0,0,0},
    {0,0,0,1,0,1,0,0,0,0},
    {0,0,1,0,0,0,1,0,0,0},
    {0,1,0,0,0,0,0,1,0,0}
};

int g_recks_crouch_gun[10][10]= {      //global array for the main charachter (recks) when he is crouching
    {0,0,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,0},
    {0,0,0,1,1,1,0,0,0,0},
    {0,0,0,1,1,1,0,0,0,0},
    {0,0,0,1,1,1,0,0,0,0},
    {0,0,0,0,1,0,1,1,g_g1,g_g2},
    {0,0,0,0,1,1,1,0,0,0},
    {0,0,0,0,1,0,0,0,0,0},
    {0,0,0,0,0,1,0,0,0,0},
    {0,0,0,0,1,0,0,0,0,0}
};

int g_recks_jump_gun[10][10]= {          //global array for the main charachter (recks) when he is in the jumbing position
    {0,0,1,1,1,0,0,0,0,0},
    {0,0,1,1,1,0,0,0,0,0},
    {0,0,1,1,1,0,0,0,0,0},
    {0,0,0,1,0,1,1,g_g1,g_g2},
    {0,0,0,1,1,1,0,0,0,0},
    {0,0,0,1,0,0,1,0,0,0},
    {0,0,0,1,0,1,0,1,0,0},
    {0,0,0,0,1,0,0,0,1,0},
    {0,0,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,0}
};

const int g_recks_shield[15][15]= {
    {0,0,0,0,1,1,1,1,1,1,1,0,0,0,0},
    {0,0,0,1,0,0,0,0,0,0,0,1,0,0,0},
    {0,0,1,0,0,0,0,0,0,0,0,0,1,0,0},
    {0,1,0,0,1,0,0,0,0,0,0,0,0,1,0},
    {1,0,0,1,0,0,1,1,1,0,0,0,0,0,1},
    {1,0,0,0,0,0,1,1,1,0,0,0,0,0,1},
    {1,0,0,0,1,0,1,1,1,0,1,0,0,0,1},
    {1,0,0,0,0,1,0,1,0,1,0,0,0,0,1},
    {1,0,0,0,0,0,1,1,1,0,0,0,0,0,1},
    {1,0,0,0,0,0,0,1,0,0,0,0,0,0,1},
    {1,0,0,0,0,0,0,1,0,0,0,0,0,0,1},
    {0,1,0,0,0,0,1,0,1,0,0,0,0,1,0},
    {0,0,1,0,0,1,0,0,0,1,0,0,1,0,0},
    {0,0,0,1,1,0,0,0,0,0,1,1,0,0,0},
    {0,0,0,1,0,0,0,0,0,0,0,1,0,0,0}
};

const int g_mob_rat_p1[3][8]= {           //global array for a rat
    {0,0,0,0,0,0,0,1},
    {0,1,1,1,0,0,1,0},
    {1,1,1,1,1,1,0,0}
};

const int g_mob_rat_p2[3][8]= {           //second global array for a rat
    {0,0,0,0,0,0,1,0},
    {0,1,1,1,0,0,1,0},
    {1,1,1,1,1,1,0,0}
};

const int g_mob_hound_p1[8][13]= {        //global array for a hound
    {0,0,0,1,0,0,0,0,0,0,0,0,0},
    {0,1,1,1,0,0,0,0,0,0,0,1,0},
    {1,1,1,1,0,0,0,0,0,0,0,1,0},
    {1,1,1,1,1,1,1,1,1,1,1,0,0},
    {0,0,0,1,1,1,1,1,1,1,1,0,0},
    {0,0,0,1,0,0,0,0,0,0,1,0,0},
    {0,0,0,1,0,0,0,0,0,0,1,0,0},
    {0,0,0,1,0,0,0,0,0,0,1,0,0}
};

const int g_mob_hound_p2[8][13]= {        //global array for a moving hound
    {0,0,0,1,0,0,0,0,0,0,0,0,0},
    {0,1,1,1,0,0,0,0,0,0,0,0,1},
    {1,1,1,1,0,0,0,0,0,0,0,1,0},
    {1,1,1,1,1,1,1,1,1,1,1,0,0},
    {0,0,0,1,1,1,1,1,1,1,1,0,0},
    {0,0,1,0,0,0,0,0,0,0,0,1,0},
    {0,1,0,0,0,0,0,0,0,0,0,0,1},
    {1,0,0,0,0,0,0,0,0,0,0,0,1}
};

const int g_mob_hound_dead[8][13]= {        //global array for a moving hound
    {0,0,0,0,0,0,0,0,0,0,1,0,1},
    {0,0,1,0,0,1,0,1,0,1,0,0,1},
    {0,1,0,1,0,0,0,0,0,0,0,1,0},
    {0,0,0,0,1,1,0,1,0,1,0,0,0},
    {0,0,0,0,1,0,1,0,0,1,0,0,0},
    {0,0,0,0,0,1,0,0,0,0,0,0,0},
    {0,1,0,0,0,0,1,0,0,0,0,0,0},
    {0,0,0,0,1,0,0,0,0,0,0,0,0}
};

const int g_mob_bear_p1[10][19]= {        //global array for a still bear
    {0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
    {0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0},
    {0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0},
    {0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0},
    {0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0},
    {0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0},
    {0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0},
    {0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0},
    {0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0},
    {0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0}
};

const int g_mob_bear_p2[10][19]= {        //global array for a moving bear
    {0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
    {0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0},
    {0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0},
    {0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0},
    {0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0},
    {0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0},
    {0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0},
    {0,0,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0},
    {0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0},
    {1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1}
};

const int g_mob_bear_dead[10][19]= {        //global array for a still bear
    {0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0},
    {0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,1,0},
    {0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,0,1,0},
    {0,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,0,0,0},
    {0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,0,0},
    {0,0,0,1,1,0,1,0,0,0,1,1,0,0,0,0,1,0,0},
    {0,0,0,1,1,0,0,0,0,1,0,0,0,0,1,1,1,0,0},
    {0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0},
    {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
};


const int g_mob_bird_p1 [10][10]= {
    {0,0,0,0,1,0,0,0,0,0},
    {0,0,0,0,1,1,0,0,0,0},
    {0,0,0,0,1,1,1,0,0,0},
    {0,0,0,0,1,1,1,0,0,0},
    {0,1,1,0,1,1,1,0,0,0},
    {1,1,1,1,1,1,1,1,1,1},
    {0,0,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,0}
};

const int g_mob_bird_p2 [10][10]= {
    {0,0,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,0},
    {0,1,1,0,0,0,0,0,0,0},
    {1,1,1,1,1,1,1,1,1,1},
    {0,0,0,0,1,1,1,0,0,0},
    {0,0,0,0,1,1,1,0,0,0},
    {0,0,0,0,1,1,0,0,0,0},
    {0,0,0,0,1,0,0,0,0,0}
};

const int g_mob_bird_dead [10][10]= {
    {0,0,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,0},
    {0,0,0,0,1,0,0,0,0,0},
    {0,0,0,0,1,0,1,0,1,0},
    {0,1,0,0,0,0,0,0,0,0},
    {1,0,0,0,1,1,1,1,1,0},
    {0,0,1,0,0,0,0,0,0,0},
    {0,1,0,0,0,1,0,1,0,0},
    {0,0,0,1,0,0,0,0,0,1},
    {0,0,0,0,0,0,0,0,0,0}
};

const int cactus[12][5]= {
    {0,0,1,0,0},
    {0,0,1,0,0},
    {0,0,1,0,1},
    {1,0,1,0,1},
    {1,0,1,0,1},
    {1,0,1,0,1},
    {1,1,1,1,1},
    {0,0,1,0,0},
    {0,0,1,0,0},
    {0,0,1,0,0},
    {0,0,1,0,0},
    {0,0,1,0,0}
};

const int g_t_rex[28][25]= {
    {0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
    {1,1,1,1,1,1,0,0,1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,0,0,0},
    {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0}
};

const int g_fire_ball_p1[9][9]= {
    {0,0,0,1,0,1,0,0,0},
    {0,0,0,0,0,0,0,0,0},
    {0,1,0,0,1,0,0,1,0},
    {0,0,0,1,1,1,0,0,0},
    {1,0,1,1,1,1,1,0,1},
    {0,0,0,1,1,1,0,0,0},
    {0,1,0,0,1,0,0,1,0},
    {0,0,0,0,0,0,0,0,0},
    {0,0,0,1,0,1,0,0,0}
};

const int g_fire_ball_p2[9][9]= {
    {0,0,0,0,1,0,0,0,0},
    {0,0,1,0,0,0,1,0,0},
    {0,0,0,0,1,0,0,0,0},
    {1,0,0,1,1,1,0,0,1},
    {0,0,1,1,1,1,1,0,0},
    {1,0,0,1,1,1,0,0,1},
    {0,0,0,0,1,0,0,0,0},
    {0,0,1,0,0,0,1,0,0},
    {0,0,0,0,1,0,0,0,0}
};

const int g_clouds[3][342]= {
    {0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,1,0,0,0,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1,0,1,0,1,0,1,1,1},
    {1,0,1,0,1,1,1,0,1,1,1,0,1,0,1},
    {1,1,1,0,1,0,1,0,1,0,1,0,1,0,1},
    {1,0,1,0,1,0,1,0,1,0,1,0,1,0,1},
    {1,0,1,0,1,0,1,0,1,0,1,0,1,1,1}
};

const int g_speed_boost[7][14]= {
    {1,0,0,0,0,1,0,0,0,0,1,0,0,0},
    {0,1,0,0,0,0,1,0,0,0,0,1,0,0},
    {0,0,1,0,0,0,0,1,0,0,0,0,1,0},
    {0,0,0,1,0,0,0,0,1,0,0,0,0,1},
    {0,0,1,0,0,0,0,1,0,0,0,0,1,0},
    {0,1,0,0,0,0,1,0,0,0,0,1,0,0},
    {1,0,0,0,0,1,0,0,0,0,1,0,0,0}
};

const int g_heart[5][5]= {
    {0,1,0,1,0},
    {1,1,1,1,1},
    {1,1,1,1,1},
    {0,1,1,1,0},
    {0,0,1,0,0}
};

const int g_ammo_pickUp[8][7]= {
    {1,1,1,1,1,1,1},
    {1,0,0,0,0,0,1},
    {1,0,1,1,1,0,1},
    {1,0,1,0,1,0,1},
    {1,0,1,1,1,0,1},
    {1,0,1,0,1,0,1},
    {1,0,0,0,0,0,1},
    {1,1,1,1,1,1,1}
};

const int g_padlock_p1[6][4]= {
    {0,1,1,0},
    {1,0,0,1},
    {1,0,0,1},
    {1,1,1,1},
    {1,1,1,1},
    {1,1,1,1}
};

const int g_padlock_p2[6][4]= {
    {0,1,1,0},
    {1,0,0,1},
    {1,0,0,0},
    {1,1,1,1},
    {1,1,1,1},
    {1,1,1,1}
};

const int zero[5][3]= {
    {1,1,1},
    {1,0,1},
    {1,0,1},
    {1,0,1},
    {1,1,1}
};

const int one [5][3]= {
    {0,1,0},
    {1,1,0},
    {0,1,0},
    {0,1,0},
    {1,1,1}
};

const int two [5][3]= {
    {1,1,1},
    {0,0,1},
    {1,1,1},
    {1,0,0},
    {1,1,1}
};

const int three [5][3]= {
    {1,1,1},
    {0,0,1},
    {0,1,1},
    {0,0,1},
    {1,1,1}
};

const int four [5][3]= {
    {1,0,1},
    {1,0,1},
    {1,1,1},
    {0,0,1},
    {0,0,1}
};

const int five [5][3]= {
    {1,1,1},
    {1,0,0},
    {1,1,1},
    {0,0,1},
    {1,1,1}
};

const int six [5][3]= {
    {1,1,1},
    {1,0,0},
    {1,1,1},
    {1,0,1},
    {1,1,1}
};

const int seven [5][3]= {
    {1,1,1},
    {0,0,1},
    {0,0,1},
    {0,0,1},
    {0,0,1}
};

const int eight [5][3]= {
    {1,1,1},
    {1,0,1},
    {1,1,1},
    {1,0,1},
    {1,1,1}
};

const int nine [5][3]= {
    {1,1,1},
    {1,0,1},
    {1,1,1},
    {0,0,1},
    {0,0,1}
};

const float song1[]= {
    0.108,
    880,0,0,0,0,0,0,0,0,0,880,0,880,0,1568,0,
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    698,0,0,0,0,0,0,0,0,0,698,0,698,0,1568,0,
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,1568,0,
    880,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    880,0,0,0,0,0,0,0,988,0,0,0,
    1047,0,0,0,1047,0,0,0,988,0,880,0,0,0,0,0,
    880,0,0,0,1568,0,0,0,0,0,880,0,0,0,
    880,0,1568,0,0,0,0,0,1047,0,0,0,988,0,0,0,
    880,0,0,0,0,0,0,0,988,0,0,0,
    1047,0,0,0,1047,0,0,0,988,0,1047,0,0,0,0,0,
    1319,0,0,0,1175,0,0,0,0,0,1319,0,0,0,
    1319,0,1175,0,0,0,0,0,1319,0,1175,0,1319,0,1175,0,
    880,0,0,0,0,0,0,0,1047,0,1319,0,
    0,0,1760,0,0,0,2093,0,0,0,1976,0,0,0,1568,0,
    1568,0,0,0,0,0,0,0,0,0,0,0,1760,0,1976,0,
    0,0,2093,0,0,0,1760,0,0,0,2093,0,1568,0,0,0,
    698,0,0,0,0,0,0,0,1568,0,1760,0,
    0,0,1760,0,0,0,1760,0,2093,0,1976,0,0,0,0,0,
    1319,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    1319,1319,0,1319,0,1319,1175,1047,988,1319,0,0,0,0,0,0
};