mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-10-31 04:32:06 +00:00 
			
		
		
		
	Update to new apis
This commit is contained in:
		| @@ -63,6 +63,7 @@ target_include_directories(dBehaviors PUBLIC "." | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dUtilities" # Preconditions.h via QuickBuildComponent.h | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dEntity" # via dZoneManager.h, Spawner.h | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dInventory" # via CharacterComponent.h | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dCinema" | ||||
| 	"${PROJECT_SOURCE_DIR}/dZoneManager" # via BasicAttackBehavior.cpp | ||||
| ) | ||||
| target_precompile_headers(dBehaviors REUSE_FROM dGameBase) | ||||
|   | ||||
| @@ -9,3 +9,16 @@ target_link_libraries(dCinema | ||||
|     PUBLIC dPhysics dDatabase | ||||
|     INTERFACE dUtilities dCommon dBehaviors dChatFilter dMission dInventory dComponents | ||||
| ) | ||||
|  | ||||
| target_include_directories(dCinema PUBLIC "." | ||||
| 	PRIVATE | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dComponents" # direct MissionComponent.h | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dUtilities" # direct SlashCommandHandler.h | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dPropertyBehaviors" # direct ControlBehaviors.h | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dMission" # via MissionComponent.h | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dBehaviors" # via InventoryComponent.h | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dInventory" # via InventoryComponent.h | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dEntity" # via dZoneManager/Spawner.h | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dGameMessages" | ||||
| 	"${PROJECT_SOURCE_DIR}/dZoneManager" # via GameMessages.cpp, GameMessageHandler.cpp | ||||
| ) | ||||
| @@ -554,8 +554,6 @@ void MovementRecord::Act(Entity* actor) { | ||||
| 		controllableComponent->SetVelocity(velocity); | ||||
| 		controllableComponent->SetAngularVelocity(angularVelocity); | ||||
| 		controllableComponent->SetIsOnGround(onGround); | ||||
| 		controllableComponent->SetDirtyVelocity(dirtyVelocity); | ||||
| 		controllableComponent->SetDirtyAngularVelocity(dirtyAngularVelocity); | ||||
| 	} | ||||
|  | ||||
| 	Game::entityManager->SerializeEntity(actor); | ||||
|   | ||||
| @@ -18,6 +18,7 @@ target_include_directories(dGameMessages PUBLIC "." | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dBehaviors" # via InventoryComponent.h | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dInventory" # via InventoryComponent.h | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dEntity" # via dZoneManager/Spawner.h | ||||
| 	"${PROJECT_SOURCE_DIR}/dGame/dCinema" | ||||
| 	"${PROJECT_SOURCE_DIR}/dZoneManager" # via GameMessages.cpp, GameMessageHandler.cpp | ||||
| ) | ||||
| target_precompile_headers(dGameMessages REUSE_FROM dGameBase) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 wincent
					wincent