The PilotClassPilotClass


public:
                short           pilot_id;                                                       // Index into the PilotInfoClass table
                uchar           pilot_skill_and_rating;                         // LowByte: Skill, HiByte: Rating
                uchar           pilot_status;
                uchar           aa_kills;
                uchar           ag_kills;
                uchar           as_kills;
                uchar           an_kills;
                short           missions_flown;

        public:
                PilotClass();
                void ResetStats(void);
                int GetPilotSkill(void)         { return (pilot_skill_and_rating & 0xF); }
                int GetPilotRating(void)        { return ((uchar)((pilot_skill_and_rating & 0xF0) >> 4)); }
                void SetPilotSR(uchar skill, uchar rating)      { pilot_skill_and_rating = (uchar)((rating << 4) | skill); }
 

class PilotInfoClass

        {
        public:
                short           usage;                                                          // How many times this pilot is being used
                uchar           voice_id;                                                       // Which voice data to use
                uchar           photo_id;                                                       // Assigned through the UI
        public:
                PilotInfoClass();
                void ResetStats (void);
        };