Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

procedural.h

Go to the documentation of this file.
00001 /****************************************************************************/
00002 /*    FILE: Procedural.h                                                                                                    */
00003 /*                                                                          */
00004 /*    Copyright (c) 1998, Eclipse Entertainment; All rights reserved.       */
00005 /*                                                                          */
00006 /****************************************************************************/
00007 #ifndef PROCEDURAL_H
00008 #define PROCEDURAL_H
00009 
00010 #include "Bitmap.h"
00011 
00012 #ifdef __cplusplus
00013 extern "C" {
00014 #endif
00015 
00016 //====================================================================================
00017 
00018 typedef struct Procedural       Procedural;
00019 
00020 //====================================================================================
00021 
00022 typedef Procedural *    PROC_CREATE(geBitmap **Bitmap, const char *ParmStart);
00023 typedef void                    PROC_DESTROY(Procedural *Proc);
00024 typedef geBoolean               PROC_ANIMATE(Procedural *Proc, float ElapsedTime); // ElapsedTime in Millisecs
00025 
00026 #define Procedurals_Version             (0)
00027 #define Procedurals_Tag                 (0x50724F63)    //PrOc
00028 
00029         // when you define a procedural table, the first two lines are
00030         //      Procedurals_Version,Procedurals_Tag
00031 
00032 typedef struct
00033 {
00034         uint32                  Version;
00035         uint32                  Tag;
00036 
00037         const char              Name[256];
00038 
00039         // Init/Destroy funcs
00040         PROC_CREATE             *Create;
00041         PROC_DESTROY    *Destroy;
00042 
00043         // Access funcs
00044         PROC_ANIMATE    *Animate;
00045 
00046         // Edit / Interactive interface functions
00047         // PROC_*
00048 
00049 } Procedural_Table;
00050 
00051 #ifdef __cplusplus
00052 }
00053 #endif
00054 
00055 #endif

Generated on Tue Sep 30 12:36:12 2003 for GTestAndEngine by doxygen 1.3.2