00001 // score.h 00005 00006 #ifndef SCORE_H 00007 #define SCORE_H 00008 00009 #define CAUSE_OF_DEATH_MAX_LENGTH 32 00010 00011 typedef struct high_score 00012 { 00013 ulong points; 00014 char cause_of_death[CAUSE_OF_DEATH_MAX_LENGTH]; 00015 } high_score; 00016 00017 typedef struct high_scores 00018 { 00019 high_score scores[NUM_SCORES]; 00020 ulong num_games; 00021 ulong checksum; 00022 } high_scores; 00023 00024 #endif //SCORE_H 00025
1.3.6