QTfrontend/achievements.h
changeset 3494 208c5671b202
parent 3344 b18a166e6ca4
child 4976 088d40d8aba2
equal deleted inserted replaced
3493:2adbae321127 3494:208c5671b202
    18 
    18 
    19 #ifndef ACHIEVEMENTS_H
    19 #ifndef ACHIEVEMENTS_H
    20 #define ACHIEVEMENTS_H
    20 #define ACHIEVEMENTS_H
    21 
    21 
    22 #define MAX_ACHIEVEMENTS 128
    22 #define MAX_ACHIEVEMENTS 128
    23 extern const char achievements[][5][256];
    23 
       
    24 // This is just for testing and far from being complete - everything might change so don't use it anywhere!
       
    25 
       
    26 enum achflags
       
    27 {
       
    28     ACH_FLAGS_NONE      = 0x00,
       
    29     ACH_FLAGS_HIDDEN    = 0x01,
       
    30     ACH_FLAGS_INACTIVE  = 0x02,
       
    31     // UNKNOWN          = 0x04,
       
    32     // UNKNOWN          = 0x08,
       
    33     // UNKNOWN          = 0x10,
       
    34     // UNKNOWN          = 0x20,
       
    35     // UNKNOWN          = 0x40,
       
    36     // UNKNOWN          = 0x80,
       
    37 };
       
    38 
       
    39 struct achievement
       
    40 {
       
    41     const char *id;
       
    42     const char *caption;
       
    43     const char *description;
       
    44     const char *image;
       
    45     const int   goal;
       
    46     const int   flags;
       
    47 };
       
    48 
       
    49 extern const char achievements[][6][256];
    24 
    50 
    25 #endif // ACHIEVEMENTS_H
    51 #endif // ACHIEVEMENTS_H