World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
48 {{ui_book_button1_on}});
54 {{ui_book_button2_on}});
77 render->DrawTextureAlphaNew(471 / 640.0
f, 445 / 480.0
f,
127 questbook_window.
uFrameZ = 407;
128 questbook_window.
uFrameW = 333;
159 if ((
signed int)(questbook_window.
uFrameY + pTextHeight) >
163 render->DrawTextureAlphaNew(
165 ((questbook_window.
uFrameY + pTextHeight) + 12) / 480.0
f,
169 (questbook_window.
uFrameY + pTextHeight) + 24;
unsigned int ui_book_quests_text_color
void DrawText(GUIFont *font, int x, int y, unsigned short uFontColor, const char *str, bool present_time_transparency=false, int max_text_height=0, int uFontShadowColor=0)
const char * GetString(unsigned int index) const
Texture * GetImage_Solid(const String &name)
Image * ui_exit_cancel_button_background
bool _449B57_test_bit(unsigned __int8 *a1, __int16 a2)
GUIButton * CreateButton(int x, int y, int width, int height, int a6, int a7, UIMessageType msg, unsigned int msg_param, uint8_t hotkey, const String &label, const std::vector< Image * > &textures=std::vector< Image * >())
Image * ui_book_button1_on
void PlaySound(SoundID eSoundID, int pid, unsigned int uNumRepeats, int x, int y, int a7)
unsigned int game_viewport_width
unsigned __int8 _quest_bits[64]
Localization * localization
Image * ui_book_quest_div_bar
void DrawTitleText(GUIFont *font, int horizontal_margin, int vertical_margin, unsigned __int16 uDefaultColor, const char *pInString, int line_spacing)
unsigned int game_viewport_height
Image * ui_book_button2_on
Image * ui_book_quests_background
unsigned int uFrameHeight
void StopChannels(int uStartChannel, int uEndChannel)
unsigned int CalcTextHeight(const String &str, unsigned int width, int x_offset, bool return_on_carriage=false)
std::array< AwardType, 1000 > achieved_awards
std::array< const char *, 513 > pQuestTable
Image * ui_book_button1_off
struct Viewport * pViewport
GUIWindow * pBooksButtonOverlay
Image * ui_book_button2_off
void BasicBookInitialization()
int books_primary_item_per_page
unsigned int ui_book_quests_title_color
Texture * GetImage_Alpha(const String &name)
std::array< char, 777 > books_num_items_per_page
AudioPlayer * pAudioPlayer
int full_num_items_in_book
std::shared_ptr< IRender > render