Merge branch '138-toggle-free-look-with-hotkey' into main/gingo-test
[ryzomcore.git] / ryzom / client / src / interface_v3 / register_interface_elements.cpp
blobdc2c731e6fcbc8f63da2f635638cda66420d7ca2
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010-2019 Winch Gate Property Limited
3 //
4 // This source file has been modified by the following contributors:
5 // Copyright (C) 2013 Laszlo KIS-ADAM (dfighter) <dfighter1985@gmail.com>
6 //
7 // This program is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU Affero General Public License as
9 // published by the Free Software Foundation, either version 3 of the
10 // License, or (at your option) any later version.
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU Affero General Public License for more details.
17 // You should have received a copy of the GNU Affero General Public License
18 // along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #include "stdpch.h"
21 #include "interface_3d_scene.h"
22 #include "view_radar.h"
23 #include "dbctrl_sheet.h"
24 #include "dbgroup_list_sheet.h"
25 #include "sphrase_manager.h"
26 #include "../r2/displayer_visual.h"
27 #include "../r2/displayer_visual_entity.h"
28 #include "../r2/displayer_visual_group.h"
29 #include "../r2/instance.h"
30 #include "../r2/tool.h"
31 #include "../r2/tool_pick.h"
32 #include "view_pointer_ryzom.h"
33 #include "nel/gui/reflect_register.h"
35 void registerInterfaceElements()
37 CViewPointerRyzom::forceLinking();
39 REGISTER_REFLECTABLE_CLASS(CViewRadar, CViewBase);
40 REGISTER_REFLECTABLE_CLASS(CGroupMap, CInterfaceGroup);
41 REGISTER_REFLECTABLE_CLASS(CDBCtrlSheet, CCtrlDraggable);
42 REGISTER_REFLECTABLE_CLASS(IListSheetBase, CInterfaceGroup);
43 REGISTER_REFLECTABLE_CLASS(CInterface3DScene, CInterfaceGroup);
44 REGISTER_REFLECTABLE_CLASS(CInterface3DCharacter, CInterfaceElement);
45 REGISTER_REFLECTABLE_CLASS(CInterface3DIG, CInterfaceElement);
46 REGISTER_REFLECTABLE_CLASS(CInterface3DShape, CInterfaceElement);
47 REGISTER_REFLECTABLE_CLASS(CInterface3DCamera, CInterfaceElement);
48 REGISTER_REFLECTABLE_CLASS(CInterface3DLight, CInterfaceElement);
49 REGISTER_REFLECTABLE_CLASS(CInterface3DFX, CInterfaceElement);
50 REGISTER_REFLECTABLE_CLASS(R2::CInstance, CReflectable);
51 REGISTER_REFLECTABLE_CLASS(R2::CDisplayerBase, CReflectable);
52 REGISTER_REFLECTABLE_CLASS(R2::CDisplayerVisual, R2::CDisplayerBase);
53 REGISTER_REFLECTABLE_CLASS(R2::CDisplayerVisualEntity, R2::CDisplayerVisual);
54 REGISTER_REFLECTABLE_CLASS(R2::CDisplayerVisualGroup, R2::CDisplayerVisual);
55 REGISTER_REFLECTABLE_CLASS(R2::CTool, CReflectable);
56 REGISTER_REFLECTABLE_CLASS(R2::CToolPick, R2::CTool);
57 REGISTER_REFLECTABLE_CLASS(CSPhraseComAdpater, CReflectable);