DDraceNetwork Docs
image.h
Go to the documentation of this file.
1
#ifndef GAME_EDITOR_MAPITEMS_IMAGE_H
2
#define GAME_EDITOR_MAPITEMS_IMAGE_H
3
4
#include <
engine/graphics.h
>
5
6
#include <
game/editor/auto_map.h
>
7
#include <
game/editor/component.h
>
8
9
class
CEditorImage
:
public
CImageInfo
,
public
CEditorComponent
10
{
11
public
:
12
explicit
CEditorImage
(
CEditor
*pEditor);
13
~CEditorImage
();
14
15
void
OnInit
(
CEditor
*pEditor)
override
;
16
void
AnalyseTileFlags
();
17
18
IGraphics::CTextureHandle
m_Texture
;
19
int
m_External
= 0;
20
char
m_aName
[
IO_MAX_PATH_LENGTH
] =
""
;
21
unsigned
char
m_aTileFlags
[256];
22
CAutoMapper
m_AutoMapper
;
23
};
24
25
#endif
auto_map.h
CAutoMapper
Definition:
auto_map.h:9
CEditorComponent
Definition:
component.h:9
CEditorImage
Definition:
image.h:10
CEditorImage::OnInit
void OnInit(CEditor *pEditor) override
Definition:
image.cpp:19
CEditorImage::AnalyseTileFlags
void AnalyseTileFlags()
Definition:
image.cpp:26
CEditorImage::m_aName
char m_aName[IO_MAX_PATH_LENGTH]
Definition:
image.h:20
CEditorImage::CEditorImage
CEditorImage(CEditor *pEditor)
Definition:
image.cpp:5
CEditorImage::m_aTileFlags
unsigned char m_aTileFlags[256]
Definition:
image.h:21
CEditorImage::m_External
int m_External
Definition:
image.h:19
CEditorImage::~CEditorImage
~CEditorImage()
Definition:
image.cpp:12
CEditorImage::m_Texture
IGraphics::CTextureHandle m_Texture
Definition:
image.h:18
CEditorImage::m_AutoMapper
CAutoMapper m_AutoMapper
Definition:
image.h:22
CEditor
Definition:
editor.h:276
CImageInfo
Definition:
image.h:12
IGraphics::CTextureHandle
Definition:
graphics.h:200
component.h
graphics.h
IO_MAX_PATH_LENGTH
@ IO_MAX_PATH_LENGTH
Definition:
types.h:43
src
game
editor
mapitems
image.h
Generated by
1.9.4