Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

sprite.h

Go to the documentation of this file.
00001 // ----------------------------------------------------------------------- //
00002 //
00003 // MODULE  : sprite.h
00004 //
00005 // PURPOSE : CSprite object class - Definition
00006 //
00007 // CREATED : 06/26/01
00008 //
00009 // (c) 2001 LithTech, Inc.  All Rights Reserved
00010 //
00011 // ----------------------------------------------------------------------- //
00012 
00013 #ifndef __SPRITE_H__
00014 #define __SPRITE_H__
00015 
00016 
00017 // Engine includes
00018 #include <ltengineobjects.h>
00019 
00020 
00022 class CSprite : public BaseClass
00023 {
00024   public:
00025     // Construction / destruction
00026     CSprite();
00027     virtual ~CSprite();
00028 
00029     // Overridden functions
00030 
00031     uint32      EngineMessageFn(uint32 messageID, void *pData, float fData);
00032 
00033     // Accessors
00034 
00035   protected:
00036     // EngineMessageFn handlers
00037 
00038     uint32      PreCreate(void *pData, float fData);
00039     void        ObjectCreated();
00040     void        Update();
00041 
00042     // Other functions
00043 
00044     void        ReadProps(ObjectCreateStruct* pStruct);
00045     void        PostReadProps();
00046 
00047     // Members
00048 
00049     char        m_szTextureFile[MAX_CS_FILENAME_LEN];
00050 
00051     float       m_fScale;
00052 
00053     bool        m_bRotatable;
00054     bool        m_bGlow;
00055     bool        m_bNoZ;
00056 
00057   private:
00058     
00059 };
00060 
00061 
00062 #endif  // __SPRITE_H__
00063 

Generated on Mon Mar 4 08:42:23 2002 for Aria by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002