Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/orxonox/objects/Model.h @ 708

Last change on this file since 708 was 708, checked in by rgrieder, 18 years ago
  • added Vector2, Vector3, Matrix3, ColourValue, Quaternion and String to the misc folder as header files (each of them contains #include <string> … typedef std::string String , etc.)
  • please use String from now on by including <misc/String.h"
  • removed #include <OgreVector3.h", etc. from "CoreIncludes.h" (adjusted all source files)
  • adjusted all the source files (except network, that keeps <string> for the moment) (what a mess..)
  • moved usleep hack to misc/Sleep.h
  • relative include paths for files from other root directories (like misc, network, etc.) (but it stills writes "../Orxonox.h" when in folder orxonox/objects)
  • "OgreSceneManager.h" —> <OgreSceneManager.h>
  • included OrxonoxPrereqs in every file in folder orxonox
  • moved HUD and ParticleInterface to namespace orxonox
  • removed some using namespace Ogre/std when appropriate
  • I hope I haven't forgotten important points..
File size: 552 bytes
RevLine 
[576]1#ifndef _Model_H__
2#define _Model_H__
3
[708]4#include "../OrxonoxPrereqs.h"
5
[576]6#include "WorldEntity.h"
7#include "Mesh.h"
8
[708]9class TiXmlElement; // Forward declaration
10
[576]11namespace orxonox
12{
[708]13
[576]14    class Model : public WorldEntity
15    {
16        public:
17            Model();
[646]18            virtual ~Model();
[576]19            virtual void loadParams(TiXmlElement* xmlElem);
[630]20            bool create();
[576]21
22        private:
[708]23            String meshSrc_;
[576]24            Mesh mesh_;
[630]25            void registerAllVariables();
[576]26    };
27}
28
[673]29#endif /* _Model_H__ */
Note: See TracBrowser for help on using the repository browser.