vee_strs.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 
00003 /* COPYRIGHT
00004  *
00005  * This file is part of the Visual Effects Engine - VEE
00006  *
00007  * Read the "VEE-LICENSE" file for the license.
00008  *
00009  * Authors & Copyright:   
00010  *
00011  * Tommi Ilmonen, Tuukka Heikura, Marko Myllymaa and 
00012  * Janne Kontkanen 2001-2004
00013  *
00014  * Additional copyrights: Tekes 2003-2004
00015  *
00016  * firstname.lastname@hut.fi
00017  *
00018  */
00019 
00020 #ifndef VEE_STRS_H
00021 #define VEE_STRS_H
00022 
00023 #include <string.h>
00024 
00026 class VEE_Strs
00027 {
00028 public:
00029 
00030   static const char * addvelocity;
00031   static const char * addlocation;
00032   static const char * age;
00033   static const char * agelimit;
00034   static const char * area;
00035   static const char * axes;
00036   static const char * color;
00037   static const char * decaypower;
00038   static const char * direction;
00039   static const char * done;
00040   static const char * epsilon;
00041   static const char * location;
00042   static const char * looks;
00043   static const char * magnitude;
00044   static const char * mass;
00045   static const char * material;
00046   static const char * normal;
00047   static const char * radius;
00048   static const char * range;
00049   static const char * rate;
00050   static const char * rotation;
00051   static const char * size;
00052   static const char * stiffness;
00053   static const char * strength;
00054   static const char * transform;
00055   static const char * type;
00056   static const char * value;
00057   static const char * velocity;
00058   static const char * visible;
00059   static const char * volume;
00060 
00062   static inline bool equals(const char *s1, const char *s2)
00063   {
00064     return !strcmp(s1, s2);
00065 
00066     /* if(!s1 || !s2) return s1 == s2;
00067     
00068     while(*s1 != '\0' && *s2 != '\0')
00069       if(*s1++ != *s2++)
00070   return false;
00071 
00072   return *s1 == *s2;*/
00073   }
00074 
00075 };
00076 
00077 #endif

Generated on Mon Mar 12 21:09:01 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6