summaryrefslogtreecommitdiffstats
path: root/game/code/worldsim/worldobject.h
blob: 3cbc3a74fff5a43ee674805a7f78fce837599298 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//=============================================================================
// Copyright (C) 2002 Radical Entertainment Ltd.  All rights reserved.
//
// File:        .h
//
// Description: Blahblahblah
//
// History:     14/05/2002 + Created -- NAME
//
//=============================================================================

#ifndef WORLDOBJECT_H
#define WORLDOBJECT_H

//========================================
// Nested Includes
//========================================

//========================================
// Forward References
//========================================

#include <radmath/radmath.hpp>
#include <p3d/drawable.hpp>

//=============================================================================
//
// Synopsis:    Blahblahblah
//
//=============================================================================

class WorldObject : public tDrawable
{
    public:
        WorldObject( tDrawable* drawable );
        virtual ~WorldObject();

        void SetPosition( rmt::Vector &position );

        virtual void Display();

        tDrawable* GetDrawable() { return( mDrawable ); }
    private:
        //Prevent wasteful constructor creation.
        WorldObject( const WorldObject& worldObject );
        WorldObject& operator=( const WorldObject& worldObject );

        tDrawable* mDrawable;
        rmt::Matrix mTransform;
};


// Hack name for inventory section to hold sim library caches of SkeletonInfo.
// Tracked to ATG as bug 1259.
//
const char SKELCACHE[] = "SkeletonInfoCache";


#endif // WORLDOBJECT_H