Planeshift
eedittoolbox.h
Go to the documentation of this file.
1
/*
2
* Author: Andrew Robberts
3
*
4
* Copyright (C) 2003 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
5
*
6
*
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation (version 2 of the License)
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
*
18
*/
19
20
#ifndef EEDIT_TOOLBOX_HEADER
21
#define EEDIT_TOOLBOX_HEADER
22
23
26
class
EEditToolbox
27
{
28
public
:
29
enum
TOOLBOX_TYPE
30
{
31
T_POSITION
= 0,
32
T_TARGET
,
33
T_CAMERA
,
34
T_RENDER
,
35
T_LOAD_EFFECT
,
36
T_EDIT_EFFECT
,
37
T_LOAD_MAP
,
38
T_ERROR
,
39
T_FPS
,
40
T_SHORTCUTS
,
41
T_PARTICLES
,
42
43
T_COUNT
44
};
45
46
EEditToolbox
();
47
virtual
~EEditToolbox
();
48
52
virtual
void
Update
(
unsigned
int
elapsed);
53
57
virtual
size_t
GetType
()
const
= 0;
58
62
virtual
const
char
*
GetName
()
const
= 0;
63
64
private
:
65
66
};
67
68
#endif
EEditToolbox::T_COUNT
Definition:
eedittoolbox.h:43
EEditToolbox::T_SHORTCUTS
Definition:
eedittoolbox.h:40
EEditToolbox::T_EDIT_EFFECT
Definition:
eedittoolbox.h:36
EEditToolbox::Update
virtual void Update(unsigned int elapsed)
Updates the toobox.
EEditToolbox::T_ERROR
Definition:
eedittoolbox.h:38
EEditToolbox::T_TARGET
Definition:
eedittoolbox.h:32
EEditToolbox::GetName
virtual const char * GetName() const =0
Gets the name of the toolbox.
EEditToolbox::GetType
virtual size_t GetType() const =0
Gets the toolbox type.
EEditToolbox::T_RENDER
Definition:
eedittoolbox.h:34
EEditToolbox::TOOLBOX_TYPE
TOOLBOX_TYPE
Definition:
eedittoolbox.h:29
EEditToolbox::EEditToolbox
EEditToolbox()
EEditToolbox::T_PARTICLES
Definition:
eedittoolbox.h:41
EEditToolbox
A base class for all eedit toolbox windows.
Definition:
eedittoolbox.h:26
EEditToolbox::T_LOAD_EFFECT
Definition:
eedittoolbox.h:35
EEditToolbox::T_LOAD_MAP
Definition:
eedittoolbox.h:37
EEditToolbox::T_CAMERA
Definition:
eedittoolbox.h:33
EEditToolbox::~EEditToolbox
virtual ~EEditToolbox()
EEditToolbox::T_FPS
Definition:
eedittoolbox.h:39
EEditToolbox::T_POSITION
Definition:
eedittoolbox.h:31
eedit
eedittoolbox.h
Generated on Sat Jun 19 2021 05:00:30 for Planeshift by
1.8.11