[win32] fixing include directives to avoid having to pass all include dirs to compiler

This commit is contained in:
martinfouilleul 2023-06-16 19:48:33 +02:00
parent debcffce2a
commit 6499bcd2a2
6 changed files with 985 additions and 985 deletions

View File

@ -9,8 +9,8 @@
#ifndef __GRAPHICS_H_ #ifndef __GRAPHICS_H_
#define __GRAPHICS_H_ #define __GRAPHICS_H_
#include"typedefs.h" #include"util/typedefs.h"
#include"platform.h" #include"platform/platform.h"
#include"mp_app.h" #include"mp_app.h"
//------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------

View File

@ -12,22 +12,22 @@
//---------------------------------------------------------------- //----------------------------------------------------------------
// utility layer // utility layer
//---------------------------------------------------------------- //----------------------------------------------------------------
#include"platform.h" #include"platform/platform.h"
#include"typedefs.h" #include"util/typedefs.h"
#include"macro_helpers.h" #include"util/macro_helpers.h"
#include"platform_log.h" #include"platform/platform_log.h"
#include"lists.h" #include"util/lists.h"
#include"memory.h" #include"util/memory.h"
#include"strings.h" #include"util/strings.h"
#include"utf8.h" #include"util/utf8.h"
#include"hash.h" #include"util/hash.h"
//---------------------------------------------------------------- //----------------------------------------------------------------
// platform layer // platform layer
//---------------------------------------------------------------- //----------------------------------------------------------------
#include"platform_clock.h" #include"platform/platform_clock.h"
#include"platform_path.h" #include"platform/platform_path.h"
#include"platform_io.h" #include"platform/platform_io.h"
/* /*
#include"platform_rng.h" #include"platform_rng.h"
#include"platform_socket.h" #include"platform_socket.h"

View File

@ -9,10 +9,10 @@
#ifndef __PLATFORM_APP_H_ #ifndef __PLATFORM_APP_H_
#define __PLATFORM_APP_H_ #define __PLATFORM_APP_H_
#include"typedefs.h" #include"util/typedefs.h"
#include"utf8.h" #include"util/utf8.h"
#include"lists.h" #include"util/lists.h"
#include"memory.h" #include"util/memory.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -9,7 +9,7 @@
#ifndef __PLATFORM_CLOCK_H_ #ifndef __PLATFORM_CLOCK_H_
#define __PLATFORM_CLOCK_H_ #define __PLATFORM_CLOCK_H_
#include"typedefs.h" #include"util/typedefs.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -9,7 +9,7 @@
#define __PLATFORM_LOG_H_ #define __PLATFORM_LOG_H_
#include"platform.h" #include"platform.h"
#include"strings.h" #include"util/strings.h"
typedef enum { LOG_LEVEL_ERROR, typedef enum { LOG_LEVEL_ERROR,
LOG_LEVEL_WARNING, LOG_LEVEL_WARNING,

View File

@ -9,8 +9,8 @@
#ifndef __UI_H_ #ifndef __UI_H_
#define __UI_H_ #define __UI_H_
#include"typedefs.h" #include"util/typedefs.h"
#include"lists.h" #include"util/lists.h"
#include"input_state.h" #include"input_state.h"
#include"graphics.h" #include"graphics.h"