#ifndef ALREADY_INCLUDED_2006_LIBD_ENUM_DEBUG_CODE_HH #define ALREADY_INCLUDED_2006_LIBD_ENUM_DEBUG_CODE_HH namespace dmp { /// /// NOTE: must manually keep in sync with switch statements in dmm.cc /// /// COOL: At least GCC gives a warning for missing values, /// COOL: and an error for values that do not appear in this list. /// /// NOTE: Lisp would not need this at all... /// enum enum_debug_code { /// /// For testing purposes (saves you from having to always create a /// new enumeration value when you are testing) /// DCODE_GENERIC = 123, /// /// Basic types /// DCODE_BOOLEAN, /* a random value */ DCODE_INTEGER, DCODE_QUICK, DCODE_FLOAT, DCODE_DOUBLE, DCODE_STRING, /// /// Vectors (2d & 3d) /// DCODE_XYI, DCODE_XYQ, DCODE_XYD, DCODE_V3I, DCODE_V3Q, DCODE_V3D, DCODE_BITMAP, DCODE_SAMPLE, DCODE_GULPER, /// from ~/lisp++-projects/2006/libd/_List.hh DCODE_LIST, DCODE_LIST_NODE, DCODE_LIST_ITERATOR, /// from ~/lisp++-projects/2006/libd/_Array.hh DCODE_ARRAY, /// from ~/lisp++-projects/2006/gui-menus/ DCODE_MENU_BUTTON, DCODE_MENU_LIST, /// from ~/lisp++-projects/2006/sprite-grabber/sprite-grabber.hh DCODE_SPRITE, DCODE_SPRITE_2, DCODE_SPRITE_GRABBER_ACTION, /// from ~/lisp++-projects/2006/sprite-editor/* DCODE_SPRITE_EDITOR_RECT, /// from ~/lisp++-projects/2006/gui-widgets/widget.hh DCODE_WIDGET, DCODE_FILE, /// from ~/lisp++-projects/2004/Tritus-II/* DCODE_TRI_RANDOM_OUTER, DCODE_TRI_INPUT_DEVICE, DCODE_TRI_PLAYER, DCODE_TRI_PONG_FADER, DCODE_TRI_PONG_BALL, DCODE_TRI_SLIMER, DCODE_TRI_STRATEGY, DCODE_TRI_TRICKS_NODE, DCODE_TRI_TRICKS, DCODE_TRI_PAIR, DCODE_R4_SAVE, /// from ~/lisp++-projects/2012/lisp++/*.lisp++ DCODE_X1, DCODE_X2, DCODE_Y1, DCODE_Y2, /// from ~/lisp++-projects/2012/Othello/othello.lisp++ DCODE_BOARD, }; } #endif /* ALREADY_INCLUDED_2006_LIBD_ENUM_DEBUG_CODE_HH */
Back |