mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-12 08:08:06 +00:00
Haiku: Remove common/ dependency for freetype
This commit is contained in:
parent
2305298f10
commit
4da0877600
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -50,6 +50,7 @@ def build(bld):
|
||||
|
||||
includes = [
|
||||
'.',
|
||||
'../..',
|
||||
'../../public',
|
||||
'../../public/tier0',
|
||||
'../../public/tier1',
|
||||
|
@ -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,
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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!!!
|
||||
|
@ -38,7 +38,7 @@ def build(bld):
|
||||
'../../public',
|
||||
'../../public/tier0',
|
||||
'../../public/tier1',
|
||||
'../../common',
|
||||
'../..',
|
||||
] + bld.env.INCLUDES_FC + bld.env.INCLUDES_FT2
|
||||
|
||||
defines = []
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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 )
|
||||
|
@ -40,10 +40,10 @@ def build(bld):
|
||||
|
||||
includes = [
|
||||
'.',
|
||||
'..',
|
||||
'../public',
|
||||
'../public/tier0',
|
||||
'../public/tier1',
|
||||
'../common',
|
||||
]
|
||||
|
||||
defines = []
|
||||
|
Loading…
Reference in New Issue
Block a user