Changeset 567


Ignore:
Timestamp:
May 2, 2011, 12:49:58 AM (6 years ago)
Author:
Sam Hocevar
Message:

imlib: add explicit enum values for easier source code reading.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/specs.h

    r555 r567  
    2525{
    2626    SPEC_INVALID_TYPE = 0,
    27     SPEC_COLOR_TABLE,
    28     SPEC_PALETTE,
    29     SPEC_, /* Unused */
    30     SPEC_IMAGE,
    31     SPEC_FORETILE,
    32     SPEC_BACKTILE,
    33     SPEC_CHARACTER,
    34     SPEC_MORPH_POINTS_8,
    35     SPEC_MORPH_POINTS_16,
    36     SPEC_GRUE_OBJS,
    37     SPEC_EXTERN_SFX,
    38     SPEC_DMX_MUS,
    39     SPEC_PATCHED_MORPH,
    40     SPEC_NORMAL_FILE,
    41     SPEC_COMPRESS1_FILE,
    42     SPEC_VECTOR_IMAGE,
    43     SPEC_LIGHT_LIST,
    44     SPEC_GRUE_FGMAP,
    45     SPEC_GRUE_BGMAP,
    46     SPEC_DATA_ARRAY,
    47     SPEC_CHARACTER2,
    48     SPEC_PARTICLE,
    49     SPEC_EXTERNAL_LCACHE,
     27    SPEC_COLOR_TABLE = 1,
     28    SPEC_PALETTE = 2,
     29    /* Empty slot */
     30    SPEC_IMAGE = 4,
     31    SPEC_FORETILE = 5,
     32    SPEC_BACKTILE = 6,
     33    SPEC_CHARACTER = 7,
     34    SPEC_MORPH_POINTS_8 = 8,
     35    SPEC_MORPH_POINTS_16 = 9,
     36    SPEC_GRUE_OBJS = 10,
     37    SPEC_EXTERN_SFX = 11,
     38    SPEC_DMX_MUS = 12,
     39    SPEC_PATCHED_MORPH = 13,
     40    SPEC_NORMAL_FILE = 14,
     41    SPEC_COMPRESS1_FILE = 15,
     42    SPEC_VECTOR_IMAGE = 16,
     43    SPEC_LIGHT_LIST = 17,
     44    SPEC_GRUE_FGMAP = 18,
     45    SPEC_GRUE_BGMAP = 19,
     46    SPEC_DATA_ARRAY = 20,
     47    SPEC_CHARACTER2 = 21,
     48    SPEC_PARTICLE = 22,
     49    SPEC_EXTERNAL_LCACHE = 23,
    5050};
    5151
Note: See TracChangeset for help on using the changeset viewer.