From 7d0e1aba9989cb3c4a5b09e214df601fe43cb1a6 Mon Sep 17 00:00:00 2001 From: Graham Pentheny Date: Sun, 24 Aug 2025 23:55:38 -0400 Subject: [PATCH] Convert some includes in AppData.h to forward declarations --- RecastDemo/Include/AppData.h | 10 +++++++--- RecastDemo/Source/AppData.cpp | 4 ++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/RecastDemo/Include/AppData.h b/RecastDemo/Include/AppData.h index 0dea376b..07aa1780 100644 --- a/RecastDemo/Include/AppData.h +++ b/RecastDemo/Include/AppData.h @@ -1,11 +1,15 @@ #pragma once -#include "InputGeom.h" #include "SDL.h" -#include "Sample.h" -#include "TestCase.h" +#include "SampleInterfaces.h" #include +#include +#include + +class TestCase; +class Sample; +class InputGeom; struct AppData { diff --git a/RecastDemo/Source/AppData.cpp b/RecastDemo/Source/AppData.cpp index 0f9094af..65bb6b9e 100644 --- a/RecastDemo/Source/AppData.cpp +++ b/RecastDemo/Source/AppData.cpp @@ -1,5 +1,9 @@ #include "AppData.h" +#include "InputGeom.h" +#include "Sample.h" +#include "TestCase.h" + #include "SDL_opengl.h" #ifdef __APPLE__