diff options
Diffstat (limited to 'tools/trackeditor/code/nodes/tiledisplay.h')
-rw-r--r-- | tools/trackeditor/code/nodes/tiledisplay.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tools/trackeditor/code/nodes/tiledisplay.h b/tools/trackeditor/code/nodes/tiledisplay.h new file mode 100644 index 0000000..631778a --- /dev/null +++ b/tools/trackeditor/code/nodes/tiledisplay.h @@ -0,0 +1,35 @@ +#include "precompiled/PCH.h" + + +#ifndef TILE_DSIPLAY_H +#define TILE_DSIPLAY_H + +class TileDisplayNode : public MPxLocatorNode +{ +public: + TileDisplayNode(); + ~TileDisplayNode(); + + static void* creator(); + virtual void draw( M3dView& view, + const MDagPath& path, + M3dView::DisplayStyle displayStyle, + M3dView::DisplayStatus displayStatus + ); + static MStatus initialize(); + + static MTypeId id; + static const char* stringId; + +private: + static const int ORIGIN_COLOUR; + static const int ROAD_COLOUR; + static const int TOP_COLOUR; + static const int BOTTOM_COLOUR; + static const int LANE_COLOUR; + static const float SCALE; + static const float LINE_WIDTH; + static const float Y_OFFSET; +}; + +#endif
\ No newline at end of file |