Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/physics/src/orxonox/objects/HelloBullet.cc @ 1995

Last change on this file since 1995 was 1995, checked in by martisty, 16 years ago

Corrected CMLs in bullet, ogrebullet and global include directories.
Added new test class for OgreBullet.

File size: 2.0 KB
Line 
1/*
2 *   ORXONOX - the hottest 3D action shooter ever to exist
3 *                    > www.orxonox.net <
4 *
5 *
6 *   License notice:
7 *
8 *   This program is free software; you can redistribute it and/or
9 *   modify it under the terms of the GNU General Public License
10 *   as published by the Free Software Foundation; either version 2
11 *   of the License, or (at your option) any later version.
12 *
13 *   This program is distributed in the hope that it will be useful,
14 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
15 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 *   GNU General Public License for more details.
17 *
18 *   You should have received a copy of the GNU General Public License
19 *   along with this program; if not, write to the Free Software
20 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21 *
22 *   Author:
23 *      Martin Stypinski
24 *   Co-authors:
25 *      ...
26 *
27 */
28
29#include "OrxonoxStableHeaders.h"
30#include "HelloBullet.h"
31
32#include <OgreStaticGeometry.h>
33#include <OgreSceneManager.h>
34#include <OgreEntity.h>
35
36#include "ogreode/OgreOde_Core.h"
37#include "ogreode/OgreOdeGeometry.h"
38#include "util/Convert.h"
39#include "core/CoreIncludes.h"
40#include "core/ConfigValueIncludes.h"
41#include "core/XMLPort.h"
42#include "GraphicsEngine.h"
43
44namespace orxonox
45{
46    CreateFactory(HelloBullet);
47   
48    HelloBullet::HelloBullet()
49    {
50           RegisterObject(HelloBullet);
51           COUT(0) << "HelloBullet loaded" << std::endl ;
52    }
53
54    HelloBullet::~HelloBullet()
55    {
56     // empty
57    }
58
59    void HelloBullet::setConfigValues()
60    {
61
62    }
63
64    /**
65    @brief
66        XML loading and saving.
67    @param
68        xmlelement The XML-element
69    @param     
70        loading Loading (true) or saving (false)
71    @return
72        The XML-element
73    */
74    void HelloBullet::XMLPort(Element& xmlelement, XMLPort::Mode mode)
75    {
76      SUPER(HelloBullet, XMLPort, xmlelement, mode);
77    }
78
79    void HelloBullet::tick(float dt)
80    {
81        // only update physics in a certain interval
82    }
83
84}
Note: See TracBrowser for help on using the repository browser.