Haiku: Remove common/ dependency for freetype

This commit is contained in:
Er2 2023-03-07 17:15:41 +03:00
parent 2305298f10
commit 4da0877600
16 changed files with 21 additions and 31 deletions

View File

@ -3,17 +3,6 @@
#ifdef ANDROID
#include <sys/cdefs.h>
#elif defined(PLATFORM_HAIKU)
#include <BeBuild.h>
# if B_HAIKU_64_BIT
# define __WORDSIZE 64
# elif B_HAIKU_32_BIT
# define __WORDSIZE 32
# else
# error "Unknown Haiku bit size"
# endif
#elif defined(OSX) || defined(PLATFORM_BSD)
#include <stdint.h>
#else
#include <bits/wordsize.h>
#endif

View File

@ -12,7 +12,7 @@
#endif
#include <vgui/VGUI.h>
#include "vgui_surfacelib/FontAmalgam.h"
#include "common/vgui_surfacelib/FontAmalgam.h"
#include "materialsystem/imaterialsystem.h"
#include "filesystem.h"
#include "vguifont.h"

View File

@ -15,7 +15,7 @@
#include <vgui/VGUI.h>
#include "interface.h"
#include "tier3/tier3.h"
#include "xbox/xboxstubs.h"
#include "common/xbox/xboxstubs.h"
namespace vgui
{

View File

@ -7,12 +7,12 @@
#if defined( WIN32 ) && !defined( _X360 )
#include <wtypes.h>
#include <winuser.h>
#include "xbox/xboxstubs.h"
#include "common/xbox/xboxstubs.h"
#endif
#include "tier0/dbg.h"
#include "vgui_key_translation.h"
#if defined( _X360 )
#include "xbox/xbox_win32stubs.h"
#include "common/xbox/xbox_win32stubs.h"
#endif
#ifdef POSIX
#define VK_RETURN -1

View File

@ -50,6 +50,7 @@ def build(bld):
includes = [
'.',
'../..',
'../../public',
'../../public/tier0',
'../../public/tier1',

View File

@ -97,7 +97,7 @@ def build(bld):
includes = [
'.',
'../../common',
'../..',
'../../public',
'../../public/tier0',
'../../public/tier1'
@ -109,6 +109,7 @@ def build(bld):
if bld.env.DEST_OS == 'win32':
libs += ['SHELL32']
includes += ['../../common']
bld.stlib(
source = source,

View File

@ -15,8 +15,8 @@
#else
#include <malloc.h>
#endif
#include "vgui_surfacelib/BitmapFont.h"
#include "vgui_surfacelib/FontManager.h"
#include "common/vgui_surfacelib/BitmapFont.h"
#include "common/vgui_surfacelib/FontManager.h"
#include <tier0/dbg.h>
#include <vgui/ISurface.h>
#include <tier0/mem.h>

View File

@ -5,7 +5,7 @@
// $NoKeywords: $
//=============================================================================//
#include "vgui_surfacelib/FontAmalgam.h"
#include "common/vgui_surfacelib/FontAmalgam.h"
#include <tier0/dbg.h>
#include <vgui/VGUI.h>
#include <vgui/ISurface.h>

View File

@ -5,8 +5,8 @@
//=====================================================================================//
#include <locale.h>
#include "vgui_surfacelib/BitmapFont.h"
#include "vgui_surfacelib/FontManager.h"
#include "common/vgui_surfacelib/BitmapFont.h"
#include "common/vgui_surfacelib/FontManager.h"
#include <vgui/ISurface.h>
#include <tier0/dbg.h>

View File

@ -11,7 +11,7 @@
#include <string.h>
#include <math.h>
#include <malloc.h>
#include "vgui_surfacelib/Win32Font.h"
#include "common/vgui_surfacelib/Win32Font.h"
#include <tier0/dbg.h>
#include <vgui/ISurface.h>
#include <tier0/mem.h>

View File

@ -6,7 +6,7 @@
//=============================================================================//
#include "vgui_surfacelib/linuxfont.h"
#include "common/vgui_surfacelib/linuxfont.h"
#include <assert.h>
#include <stdio.h>
@ -24,7 +24,7 @@
#include <freetype/ftbitmap.h>
#include "materialsystem/imaterialsystem.h"
#include "vgui_surfacelib/FontManager.h"
#include "common/vgui_surfacelib/FontManager.h"
#include "FontEffects.h"
// memdbgon must be the last include file in a .cpp file!!!

View File

@ -38,7 +38,7 @@ def build(bld):
'../../public',
'../../public/tier0',
'../../public/tier1',
'../../common',
'../..',
] + bld.env.INCLUDES_FC + bld.env.INCLUDES_FT2
defines = []

View File

@ -18,7 +18,7 @@
#endif
#include "FontTextureCache.h"
#include "MatSystemSurface.h"
#include <vgui_surfacelib/BitmapFont.h>
#include "common/vgui_surfacelib/BitmapFont.h"
#include <vgui/IVGui.h>
#include <vgui_controls/Controls.h>
#include "bitmap/imageformat.h"

View File

@ -11,7 +11,7 @@
#pragma once
#endif
#include "vgui_surfacelib/FontManager.h"
#include "common/vgui_surfacelib/FontManager.h"
#include "utlrbtree.h"
#include <vgui/ISurface.h>
#include "utlmap.h"

View File

@ -36,7 +36,6 @@ ILauncherMgr *g_pLauncherMgr = NULL;
#include "Input.h"
#include <vgui/IHTML.h>
#include <vgui/IVGui.h>
#include "vgui_surfacelib/FontManager.h"
#include "FontTextureCache.h"
#include "MatSystemSurface.h"
#include "inputsystem/iinputsystem.h"
@ -56,9 +55,9 @@ ILauncherMgr *g_pLauncherMgr = NULL;
#include "../vgui2/src/VPanel.h"
#include <vgui/IInputInternal.h>
#if defined( _X360 )
#include "xbox/xbox_win32stubs.h"
#include "common/xbox/xbox_win32stubs.h"
#endif
#include "xbox/xboxstubs.h"
#include "common/xbox/xboxstubs.h"
#include "../vgui2/src/Memorybitmap.h"
#pragma warning( disable : 4706 )

View File

@ -40,10 +40,10 @@ def build(bld):
includes = [
'.',
'..',
'../public',
'../public/tier0',
'../public/tier1',
'../common',
]
defines = []