From c220e400436703c71adf2b49a04a863b72c41d29 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 17 Nov 2013 20:42:06 +0100 Subject: broken translations and shit, possibly final commit before public release --- include/game.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/game.h') diff --git a/include/game.h b/include/game.h index c0477b7..5adbe0f 100755 --- a/include/game.h +++ b/include/game.h @@ -815,6 +815,8 @@ namespace lyt { Vec2 GetVtxPos() const; + u16 GetExtUserDataNum() const; // 802AC5A0 + ut::LinkListNode parentLink; Pane *parent; @@ -3761,6 +3763,15 @@ class MessageClass { dScript::Res_c *GetBMG(); // 800CDD50 void WriteBMGToTextBox(nw4r::lyt::TextBox *textBox, dScript::Res_c *res, int category, int message, int argCount, ...); // 0x800C9B50 +// My version ignores the Font and Font Scale fields in BMG +void Newer_WriteBMGToTextBox_VAList(nw4r::lyt::TextBox *textBox, dScript::Res_c *res, int category, int message, int argCount, va_list *args); +void Newer_WriteBMGToTextBox(nw4r::lyt::TextBox *textBox, dScript::Res_c *res, int category, int message, int argCount, ...); + +// support functions needed for it +void CheckForUSD1ShadowEntry(nw4r::lyt::TextBox *textBox); // 800C9BF0 +void WriteParsedStringToTextBox(nw4r::lyt::TextBox *textBox, const wchar_t *str, int vaCount, va_list *args, dScript::Res_c *res); + + extern "C" dAc_Py_c* GetSpecificPlayerActor(int number); extern "C" dStageActor_c *CreateActor(u16 classID, int settings, Vec pos, char rot, char layer); extern "C" dStageActor_c *Actor_SearchByID(u32 actorID); -- cgit v1.2.3