//************************************************************************** //** //** ## ## ## ## ## #### #### ### ### //** ## ## ## ## ## ## ## ## ## ## #### #### //** ## ## ## ## ## ## ## ## ## ## ## ## ## ## //** ## ## ######## ## ## ## ## ## ## ## ### ## //** ### ## ## ### ## ## ## ## ## ## //** # ## ## # #### #### ## ## //** //** $Id: names.h 2655 2007-08-16 15:33:10Z dj_jl $ //** //** Copyright (C) 1999-2006 Jānis Legzdiņš //** //** This program is free software; you can redistribute it and/or //** modify it under the terms of the GNU General Public License //** as published by the Free Software Foundation; either version 2 //** of the License, or (at your option) any later version. //** //** This program is distributed in the hope that it will be useful, //** but WITHOUT ANY WARRANTY; without even the implied warranty of //** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //** GNU General Public License for more details. //** //************************************************************************** //** //** Header file registering global hardcoded Vavoom names. //** //************************************************************************** // Macros ------------------------------------------------------------------ // Define a message as an enumeration. #ifndef REGISTER_NAME #define REGISTER_NAME(name) NAME_##name, #define REGISTERING_ENUM enum EName { #endif // Hardcoded names which are not messages ---------------------------------- // Special zero value, meaning no name. REGISTER_NAME(None) REGISTER_NAME(Object) REGISTER_NAME(Num) REGISTER_NAME(Insert) REGISTER_NAME(Remove) REGISTER_NAME(Goto) REGISTER_NAME(Stop) REGISTER_NAME(Wait) REGISTER_NAME(Fail) REGISTER_NAME(Loop) REGISTER_NAME(Super) REGISTER_NAME(Bright) REGISTER_NAME(Offset) // Closing ----------------------------------------------------------------- #ifdef REGISTERING_ENUM NUM_HARDCODED_NAMES }; #undef REGISTER_NAME #undef REGISTERING_ENUM #endif