dustyengine.h

Go to the documentation of this file.
00001 /*
00002 Dusty Engine Library
00003 by Dave Andrews
00004 
00005 Dusty Engine is a task engine using the Irrlicht (irrlicht.sourceforge.net)
00006 3d Engine, by Nikolaus Gebhardt.
00007 
00008 This software is released on the zlib license.  Contents of that license follow.
00009 
00010   Copyright (C) 2005 Dave Andrews
00011 
00012   This software is provided 'as-is', without any express or implied
00013   warranty.  In no event will the authors be held liable for any damages
00014   arising from the use of this software.
00015 
00016   Permission is granted to anyone to use this software for any purpose,
00017   including commercial applications, and to alter it and redistribute it
00018   freely, subject to the following restrictions:
00019 
00020   1. The origin of this software must not be misrepresented; you must not
00021      claim that you wrote the original software. If you use this software
00022      in a product, an acknowledgment in the product documentation would be
00023      appreciated but is not required.
00024   2. Altered source versions must be plainly marked as such, and must not be
00025      misrepresented as being the original software.
00026   3. This notice may not be removed or altered from any source distribution.
00027 
00028   Dave Andrews (dave@daveandrews.org)
00029   
00030 */
00031 
00032 #ifndef __DUSTY_ENGINE_H__
00033 #define __DUSTY_ENGINE_H__
00034 
00035 // This disables a couple of frivolous, annoying visual studio warnings
00036 #pragma warning (disable : 4251)
00037 #pragma warning (disable : 4275)
00038 #pragma warning (disable : 4244)
00039 
00040 // Sets the correct import/export properties for DustyEngine.
00041 // This allows the code to know when it's being compiled as a library,
00042 // and also to know when it's being compiled as a program using the library.
00043 #ifdef _WIN32
00044 #ifdef DUSTYENGINE_EXPORTS
00045 #define DUSTYENGINE_API __declspec(dllexport)
00046 #else
00047 #define DUSTYENGINE_API __declspec(dllimport)
00048 #endif // end ifdef dustyengine_exports
00049 #else
00050 #define DUSTYENGINE_API
00051 #endif // end ifdef _win32
00052 
00053 // engine core
00054 #include "dustydeltatimer.h"
00055 #include "dustydriver.h"
00056 #include "dustynodeaffector.h"
00057 #include "dustytask.h"
00058 #include "dustydummytask.h"
00059 #include "dustymovetask.h"
00060 #include "dustyscaletask.h"
00061 #include "dustyrotatetask.h"
00062 #include "dustyinterpolatedtask.h"
00063 #include "dustyvectorinterpolatedtask.h"
00064 #include "dustymoveinterpolatedtask.h"
00065 #include "dustyrotateinterpolatedtask.h"
00066 #include "dustyscaleinterpolatedtask.h"
00067 #include "dustycolorinterpolatedtask.h"
00068 #include "dustyintervalcountertask.h"
00069 #include "dustycountertask.h"
00070 #include "dustycountdowntask.h"
00071 #include "dustynodegeneratortask.h"
00072 #include "dustymoveboundedtask.h"
00073 #include "dustyrotateboundedtask.h"
00074 #include "dustyscaleboundedtask.h"
00075 #include "dustywaypointmoveinterpolatedtask.h"
00076 #include "dustywaypointrotateinterpolatedtask.h"
00077 #include "dustywaypointscaleinterpolatedtask.h"
00078 #include "dustytasktree.h"
00079 #include "dustyrandgen.h"
00080 #include "dustyentityparenttask.h"
00081 
00082 // Entity code
00083 #include "dustyentity.h"
00084 
00085 namespace DustyEngine
00086 {
00088         const irr::u32 BCT_NO_COLLISION = 0;
00090         const irr::u32 BCT_MIN_X = 1;
00092         const irr::u32 BCT_MIN_Y = 2;
00094         const irr::u32 BCT_MIN_Z = 4;
00096         const irr::u32 BCT_MAX_X = 8;
00098         const irr::u32 BCT_MAX_Y = 16;
00100         const irr::u32 BCT_MAX_Z = 32;
00101 
00102         // for waypoint interpolation tasks
00103     struct WaypointPoint
00104     {
00105         irr::core::vector3df point;
00106         irr::u32 time;
00107     };
00108 
00109     struct WaypointListItem
00110     {
00111         irr::core::vector3df startPoint;
00112         irr::core::vector3df endPoint;
00113         irr::u32 time;
00114         irr::u32 startTime;
00115         irr::u32 endTime;
00116     };
00117 }
00118 
00119 #endif
00120 

Generated on Fri Jan 27 17:31:49 2006 for Dusty Engine by  doxygen 1.4.6-NO