-
Notifications
You must be signed in to change notification settings - Fork 6
/
scene_mode.h
59 lines (45 loc) · 1.22 KB
/
scene_mode.h
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
// Copyright 2002-2004 Frozenbyte Ltd.
#ifndef INCLUDED_EDITOR_SCENE_MODE_H
#define INCLUDED_EDITOR_SCENE_MODE_H
#ifndef INCLUDED_EDITOR_IMODE_H
#include "imode.h"
#endif
#ifndef INCLUDED_BOOST_SCOPED_PTR_HPP
#define INCLUDED_BOOST_SCOPED_PTR_HPP
#include <boost/scoped_ptr.hpp>
#endif
#include <DatatypeDef.h>
namespace frozenbyte {
namespace editor {
class Dialog;
class Gui;
class IEditorState;
struct Storm;
struct SceneModeData;
class SceneMode: public IMode
{
boost::scoped_ptr<SceneModeData> data;
public:
SceneMode(Gui &gui, Storm &storm, IEditorState &editorState);
~SceneMode();
void tick();
void reset();
void setLightning();
void update();
VC3 getSunDirection() const;
bool doesShowFolds() const;
bool doesShowGrid() const;
bool doesShowTriggers() const;
bool doesShowUnits() const;
bool doesShowHelpers() const;
bool doesShowStatic() const;
bool doesShowDynamic() const;
bool doesShowNoCollision() const;
bool doesShowIncomplete() const;
void doExport(Exporter &exporter) const;
filesystem::OutputStream &writeStream(filesystem::OutputStream &stream) const;
filesystem::InputStream &readStream(filesystem::InputStream &stream);
};
} // end of namespace editor
} // end of namespace frozenbyte
#endif