Code: Alles auswählen
    struct Gebaeude ALEE =
{
    1,//Stufe
    10*(ALEE.STUFE+1),//Goldkosten
    10*(ALEE.STUFE+1),//Steinkosten
    20*(ALEE.STUFE+1),//Arbeitsaufwand
    10*(5*(ALEE.STUFE+1)),//Prestige
    ALEE.PRESTIGE/10//Punkte
};
    printf("\n\n%d",ALEE.GOLDKOSTEN);
    printf("\n%d",ALEE.PRESTIGE);
    ALEE.STUFE+=1;
    printf("\n\n%d",ALEE.GOLDKOSTEN);
    printf("\n%d",ALEE.PRESTIGE);





