Resolve "Toggle Free Look with Hotkey"
[ryzomcore.git] / ryzom / common / data_common / r2 / r2_core.lua
blob1463b3eed896e3635106827710a64880be175fa6
2 r2.doFile("r2_refid.lua")
4 if r2.InClient == true then
5 r2.doFile("r2_ui_reset.lua")
6 end
8 r2.doFile("r2_config.lua")
9 r2.doFile("r2_debug.lua")
11 r2.doFile("r2_misc.lua")
12 r2.doFile("r2_console.lua")
14 r2.doFile("r2_environment.lua") -- main tables & general editor functions
16 r2.doFile("r2_prim_render.lua")
17 r2.doFile("r2_components.lua")
20 if defaulting(config.R2EDLightPalette, 0) ~= 0 then
21 r2.doFile("r2_palette_light.lua")
22 else
23 r2.doFile("r2_palette.lua")
24 end
26 r2.doFile("r2_translator.lua")
27 r2.doFile("r2_utils.lua")
28 r2.doFile("r2_features.lua")
29 r2.doFile("r2_base_class.lua")
30 r2.doFile("r2_world_object.lua")
31 r2.doFile("r2_logic_entities.lua")
32 r2.doFile("r2_version.lua")
33 r2.doFile("r2_init.lua")
34 r2.doFile("r2_plot_item.lua")
36 if r2.InClient == true then
37 -- edit time
38 r2.doFile("r2_ui.lua")
39 r2.doFile("r2_ui_forms.lua")
40 r2.doFile("r2_ui_misc.lua")
41 r2.doFile("r2_ui_tools.lua")
42 r2.doFile("r2_ui_palette.lua")
44 r2.doFile("r2_ui_features_tree.lua")
46 r2.doFile("r2_ui_displayers.lua")
47 r2.doFile("r2_ui_property_sheet.lua")
48 r2.doFile("r2_ui_windows.lua")
49 r2.doFile("r2_ui_event_handlers.lua")
50 r2.doFile("r2_ui_lua_inspector.lua")
51 r2.doFile("r2_ui_displayer_npc.lua")
52 r2.doFile("r2_activities.lua")
53 r2.doFile("r2_mini_activities.lua")
54 r2.doFile("r2_dialogs.lua")
55 r2.doFile("r2_events.lua")
56 r2.doFile("r2_logic_comp.lua")
57 r2.doFile("r2_logic_ui.lua")
58 r2.doFile("r2_ui_acts.lua")
59 r2.doFile("r2_ui_custom_selection_bbox.lua")
60 r2.doFile("r2_ui_scenario.lua")
61 r2.doFile("r2_ui_main_loop.lua")
62 r2.doFile("r2_ui_toolbar_base.lua")
63 r2.doFile("r2_ui_select_bar_2.lua")
64 r2.doFile("r2_ui_mini_toolbar.lua")
65 -- animation time
66 r2.doFile("r2_ui_dm_gift.lua")
67 r2.doFile("r2_ui_anim_bar.lua")
68 r2.doFile("r2_ui_anim_acts.lua")
69 r2.doFile("r2_ui_anim_user_triggers.lua")
70 --r2.doFile("r2_ui_contextual_commands.lua")
71 r2.doFile("r2_ui_contextual_commands_new.lua")
72 r2.CustomBBox:load() -- custom bbox for ojbect selection
73 end
77 profileFunction(r2.init, "r2.init")
80 if r2.InClient == true then
82 profileMethod(r2, "initUI", "r2:initUI")
83 profileMethod(r2, "initNpcEditor", "r2:initNpcEditor")
84 profileMethod(r2.logicComponents, "initLogicEditors", "r2.logicComponents:initLogicEditors")
85 profileMethod(r2.acts, "initActsEditor", "r2.acts:initActsEditor")
86 profileMethod(r2.ScenarioWindow, "initScenarioWindow", "r2.ScenarioWindow:initScenarioWindow")
87 end