Changeset 5634 in orxonox.OLD for trunk/src/defs
- Timestamp:
- Nov 18, 2005, 6:09:01 PM (19 years ago)
- Location:
- trunk/src/defs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/defs/class_id.h
r5458 r5634 213 213 CL_TRACK_ELEMENT = 0x00000b0b, 214 214 CL_NUMBER = 0x00000b0c, 215 CL_EXECUTOR = 0x00000b0d, 215 216 CL_FAST_FACTORY = 0x00000c01, 216 217 CL_SHELL = 0x00000c10, -
trunk/src/defs/functor_list.h
r5391 r5634 30 30 //! defines the maximum count of arguments function pointers might have 31 31 #define FUNCTOR_MAX_ARGUMENTS 5 32 33 typedef enum 34 { 35 ParameterNull = 0, 36 ParameterBool = 1, 37 ParameterChar = 2, 38 ParameterString = 4, 39 ParameterInt = 8, 40 ParameterUInt = 16, 41 ParameterFloat = 32, 42 ParameterLong = 64, 43 ParameterXML = 128, 44 /* ... */ 45 } ParameterType; 46 32 #include "multi_type.h" 47 33 48 34 #define l_BOOL_TYPE bool //!< The type of an BOOL 49 35 #define l_BOOL_FUNC isBool //!< The function to call to parse BOOL 50 36 #define l_BOOL_NAME "bool" //!< The name of an BOOL 51 #define l_BOOL_PARAM ParameterBool//!< the type of the parameter BOOL37 #define l_BOOL_PARAM MT_BOOL //!< the type of the parameter BOOL 52 38 #define l_BOOL_DEFAULT false //!< a default Value for an BOOL 53 39 … … 56 42 #define l_INT_FUNC isInt //!< The function to call to parse INT 57 43 #define l_INT_NAME "int" //!< The name of an INT 58 #define l_INT_PARAM ParameterInt//!< the type of the parameter INT44 #define l_INT_PARAM MT_INT //!< the type of the parameter INT 59 45 #define l_INT_DEFAULT 0 //!< a default Value for an INT 60 46 … … 62 48 #define l_UINT_FUNC isInt //!< The function to call to parse UINT 63 49 #define l_UINT_NAME "unsigned int" //!< The name of an UINT 64 #define l_UINT_PARAM ParameterUInt//!< the type of the parameter UINT50 #define l_UINT_PARAM MT_INT //!< the type of the parameter UINT 65 51 #define l_UINT_DEFAULT 0 //!< a default Value for an UINT 66 52 … … 68 54 #define l_LONG_FUNC isInt //!< The function to parse a LONG 69 55 #define l_LONG_NAME "long" //!< The name of a LONG 70 #define l_LONG_PARAM ParameterLong//!< the type of the parameter LONG56 #define l_LONG_PARAM MT_INT //!< the type of the parameter LONG 71 57 #define l_LONG_DEFAULT 0 //!< a default Value for a LONG 72 58 … … 80 66 #define l_FLOAT_FUNC isFloat //!< The function to parse a FLOAT 81 67 #define l_FLOAT_NAME "float" //!< The name of a FLOAT 82 #define l_FLOAT_PARAM ParameterFloat//!< the type of the parameter FLOAT68 #define l_FLOAT_PARAM MT_FLOAT //!< the type of the parameter FLOAT 83 69 #define l_FLOAT_DEFAULT 0.0 //!< a default Value for a FLOAT 84 70 … … 91 77 #define l_STRING_FUNC isString //!< The function to parse a STRING 92 78 #define l_STRING_NAME "string" //!< The name of a STRING 93 #define l_STRING_PARAM ParameterString//!< the type of the parameter STRING79 #define l_STRING_PARAM MT_STRING //!< the type of the parameter STRING 94 80 #define l_STRING_DEFAULT "" //!< a default Value for an STRING 95 81
Note: See TracChangeset
for help on using the changeset viewer.