Magos: I thought the name was latin for Magician. Hehe. As for a Abr. of you whole name? I dont think i ever seen a name begining with Mago, 'cept magot, which i REEEEAAAALLLLYYYYY doubt thats your real name. But if it is, well, its the 21st century.
Am i high? Whyy do yoi asssk? Oooff coousre iiim noot hiiiiggh. eh heh heh, he a hehehe hahahahHEHEHEHEHHAHAHEHAHEHAHE!
LOL
Im recoding the game in this way
Code:
/player mech
typedef struct
{
char name[size];
int y;
int x;
int gun;
int hp;
int maxhp;
int armor;
int ammo1;
int ammo2;
int ammo3;
int maxammo1;
int maxammo2;
int maxammo3;
} player;
player user =
{
{'Dark Cobra', 0, 0, 1, 450, 450, 30, 500, 10, 30, 500, 10, 30,}
}
//friend mechs
typedef struct
{
char name[size];
int gun;
int hp;
int maxhp;
int armor;
int y;
int x;
} fmech;
fmech cobra[1] =
{
{'Cobra', 1, 400, 400, 30, 0, 1}
}
and getting a buttload of errors. I will give the typedef enum a try... BTW, do mi need to include any special headers or Libs for that?
Im asking because i think might have a typedef undefined error...
Pianorain: A while loop will fix it? A WHILE LOOP????? Shoot, here i was, thinking i HAD a while loop on there... oh, and don't take my 'screamin' wrong..... not trying to be rude......
Fordy: Thanks