mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 06:03:09 +00:00
Move 2D-only navigation code to its own subfolder
This commit is contained in:
parent
99addd6d9c
commit
fd582dca62
@ -31,11 +31,11 @@
|
||||
#ifndef GODOT_NAVIGATION_SERVER_2D_H
|
||||
#define GODOT_NAVIGATION_SERVER_2D_H
|
||||
|
||||
#include "nav_agent.h"
|
||||
#include "nav_link.h"
|
||||
#include "nav_map.h"
|
||||
#include "nav_obstacle.h"
|
||||
#include "nav_region.h"
|
||||
#include "../nav_agent.h"
|
||||
#include "../nav_link.h"
|
||||
#include "../nav_map.h"
|
||||
#include "../nav_obstacle.h"
|
||||
#include "../nav_region.h"
|
||||
|
||||
#include "servers/navigation_server_2d.h"
|
||||
|
@ -74,6 +74,7 @@ env.modules_sources += thirdparty_obj
|
||||
module_obj = []
|
||||
|
||||
env_navigation.add_source_files(module_obj, "*.cpp")
|
||||
env_navigation.add_source_files(module_obj, "2d/*.cpp")
|
||||
if env.editor_build:
|
||||
env_navigation.add_source_files(module_obj, "editor/*.cpp")
|
||||
env.modules_sources += module_obj
|
||||
|
@ -30,8 +30,8 @@
|
||||
|
||||
#include "register_types.h"
|
||||
|
||||
#include "2d/godot_navigation_server_2d.h"
|
||||
#include "godot_navigation_server.h"
|
||||
#include "godot_navigation_server_2d.h"
|
||||
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
#ifndef _3D_DISABLED
|
||||
|
Loading…
Reference in New Issue
Block a user