mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-03 01:13:22 +00:00
- moved stringtable to 'common'.
This commit is contained in:
parent
b3c7b81893
commit
777f2ee7c6
6 changed files with 4 additions and 8 deletions
|
@ -897,7 +897,6 @@ set (PCH_SOURCES
|
||||||
gamedata/g_mapinfo.cpp
|
gamedata/g_mapinfo.cpp
|
||||||
gamedata/g_skill.cpp
|
gamedata/g_skill.cpp
|
||||||
gamedata/gi.cpp
|
gamedata/gi.cpp
|
||||||
gamedata/stringtable.cpp
|
|
||||||
gamedata/umapinfo.cpp
|
gamedata/umapinfo.cpp
|
||||||
gamedata/d_dehacked.cpp
|
gamedata/d_dehacked.cpp
|
||||||
gamedata/g_doomedmap.cpp
|
gamedata/g_doomedmap.cpp
|
||||||
|
@ -1146,6 +1145,7 @@ set (PCH_SOURCES
|
||||||
common/filesystem/resourcefile.cpp
|
common/filesystem/resourcefile.cpp
|
||||||
common/engine/sc_man.cpp
|
common/engine/sc_man.cpp
|
||||||
common/engine/palettecontainer.cpp
|
common/engine/palettecontainer.cpp
|
||||||
|
common/engine/stringtable.cpp
|
||||||
|
|
||||||
utility/m_png.cpp
|
utility/m_png.cpp
|
||||||
utility/m_random.cpp
|
utility/m_random.cpp
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
extern "C" int mysnprintf(char* buffer, size_t count, const char* format, ...) ATTRIBUTE((format(printf, 3, 4)));
|
extern "C" int mysnprintf(char* buffer, size_t count, const char* format, ...) ATTRIBUTE((format(printf, 3, 4)));
|
||||||
extern "C" int myvsnprintf(char* buffer, size_t count, const char* format, va_list argptr) ATTRIBUTE((format(printf, 3, 0)));
|
extern "C" int myvsnprintf(char* buffer, size_t count, const char* format, va_list argptr) ATTRIBUTE((format(printf, 3, 0)));
|
||||||
|
|
||||||
|
#define TEXTCOLOR_ESCAPE '\034'
|
||||||
|
#define TEXTCOLOR_ESCAPESTR "\034"
|
||||||
|
|
||||||
#define TEXTCOLOR_BRICK "\034A"
|
#define TEXTCOLOR_BRICK "\034A"
|
||||||
#define TEXTCOLOR_TAN "\034B"
|
#define TEXTCOLOR_TAN "\034B"
|
||||||
#define TEXTCOLOR_GRAY "\034C"
|
#define TEXTCOLOR_GRAY "\034C"
|
||||||
|
|
|
@ -38,9 +38,6 @@
|
||||||
#include "cmdlib.h"
|
#include "cmdlib.h"
|
||||||
#include "filesystem.h"
|
#include "filesystem.h"
|
||||||
#include "sc_man.h"
|
#include "sc_man.h"
|
||||||
#include "c_dispatch.h"
|
|
||||||
#include "v_text.h"
|
|
||||||
#include "c_cvars.h"
|
|
||||||
#include "printf.h"
|
#include "printf.h"
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
|
@ -43,10 +43,6 @@ struct FBrokenLines
|
||||||
FString Text;
|
FString Text;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define TEXTCOLOR_ESCAPE '\034'
|
|
||||||
#define TEXTCOLOR_ESCAPESTR "\034"
|
|
||||||
|
|
||||||
|
|
||||||
TArray<FBrokenLines> V_BreakLines (FFont *font, int maxwidth, const uint8_t *str, bool preservecolor = false);
|
TArray<FBrokenLines> V_BreakLines (FFont *font, int maxwidth, const uint8_t *str, bool preservecolor = false);
|
||||||
inline TArray<FBrokenLines> V_BreakLines (FFont *font, int maxwidth, const char *str, bool preservecolor = false)
|
inline TArray<FBrokenLines> V_BreakLines (FFont *font, int maxwidth, const char *str, bool preservecolor = false)
|
||||||
{ return V_BreakLines (font, maxwidth, (const uint8_t *)str, preservecolor); }
|
{ return V_BreakLines (font, maxwidth, (const uint8_t *)str, preservecolor); }
|
||||||
|
|
Loading…
Reference in a new issue