Minimize include dependencies of display_server.h
- Removes `native_menu.h` dependency from `display_server.h`. It's now forward-declared in all DisplayServer implementations and should be included in the .cpp's. - Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to having to include them explicitly in half the scene and editor codebase... which shows how much we depend on `display_server.h`. - Forward-declare `input_event.h`, so now we need only `keyboard.h`.
This commit is contained in:
parent
8a4df69e22
commit
ad4b910a10
59 changed files with 334 additions and 167 deletions
|
|
@ -36,6 +36,7 @@
|
|||
#include "core/debugger/debugger_marshalls.h"
|
||||
#include "core/debugger/engine_debugger.h"
|
||||
#include "core/input/input.h"
|
||||
#include "core/input/input_event.h"
|
||||
#include "core/math/geometry_3d.h"
|
||||
#include "scene/2d/camera_2d.h"
|
||||
#include "scene/debugger/scene_debugger_object.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue