OpenPolygon  1.0.0
OpenPolygon is a Rendering Engine
rendereditor.h
1 /*
2  Copyright (C) 2014 - 2016 Mutzii
3 
4  This program is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program. If not, see <http://www.gnu.org/licenses/>.
16 
17 */
18 //#ifndef RENDEREDITOR_H
19 //#define RENDEREDITOR_H
20 
21 //#include "index.h"
22 //#include "texturemanager.h"
23 //#include "meshmanager.h"
24 //#include "shadermanager.h"
25 //#include "editormanager.h"
26 //#include "rendermanager.h"
27 //#include "scenemanager.h"
28 //#include "materialmanager.h"
29 
30 
32 //#include "editorstore.h"
33 
35 //#include "positionaddon.h"
36 //#include "meshaddon.h"
37 //#include "shaderaddon.h"
38 //#include "materialaddon.h"
39 //#include "shadowaddon.h"
40 
42 //#include "updateposition.h"
43 
44 
45 //namespace Engine
46 //{
47 // using EntityObjects = std::vector< EntityObject *>;
48 
49 // class RenderEditor : public Editor
50 // {
51 // public:
52 
53 // friend class EntityObject;
54 
55 // RenderEditor();
56 // ~RenderEditor(){}
57 
58 // void initialize(void);
59 
60 // void finish(void);
61 
62 // void ReadFile(const string &path);
63 
64 // void WriteFile(const string &path);
65 
66 // void UpdateContext(const std::string &path);
67 
68 // void addAddon(IEditorAddon *addon, uint editor_addon_flag);
69 
70 // EntityObjects getObjects(void);
71 
72 // EditorStore * getReadStore(void);
73 // EditorStore * getUpdateStore(void);
74 
75 // protected:
76 
77 // void GlobalMode( const string & line );
78 // void GlobalUpdateMode( const string & line);
79 // void BuildPhase( const string & line );
80 // void UpdatePhase( const string & line );
81 // void BuildObject( void );
82 
83 // static void CreateEntity ( EntityObject * entity );
84 // static void DrawFunctions ( EntityObject * entity , const DrawEvent & event );
85 // static void ShadowFunctions( EntityObject * entity , const ShadowEvent & event );
86 
87 // private:
88 
89 // static Entity * mEntityEditor;
90 
91 // EditorStore * mReadStore;
92 // EditorStore * mUpdateStore;
93 
94 // EntityObjects mObjects;
95 
96 // };
97 
98 // class EntityObject : public RenderObject<Entity>
99 // {
100 // public:
101 // EntityObject(){}
102 // ~EntityObject(){}
103 
104 // void create(void)
105 // {
106 // RenderEditor::CreateEntity( this );
107 // }
108 
109 // void draw(const DrawEvent &event)
110 // {
111 // RenderEditor::DrawFunctions( this , event );
112 // }
113 
114 // void shadowDraw(const ShadowEvent &event)
115 // {
116 // RenderEditor::ShadowFunctions( this , event );
117 // }
118 
119 // Entity * getObject(void)
120 // {
121 // return mEntity;
122 // }
123 
124 
125 // public:
126 // Entity * mEntity;
127 // };
128 
129 
130 //}
131 //#endif // RENDEREDITOR_H