World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
59 {{ui_book_button1_on}});
63 {{ui_book_button2_on}});
67 {{ui_book_button3_on}});
71 {{ui_book_button4_on}});
75 {{ui_book_button5_on}});
79 {{ui_book_button6_on}});
83 {{ui_book_button7_on}});
87 {{ui_book_button8_on}});
116 render->DrawTextureAlphaNew(471 / 640.0
f, 445 / 480.0
f,
153 render->DrawTextureAlphaNew(
161 render->DrawTextureAlphaNew(
168 render->DrawTextureAlphaNew(
172 render->DrawTextureAlphaNew(
179 render->DrawTextureAlphaNew(
187 render->DrawTextureAlphaNew(
193 render->DrawTextureAlphaNew(
197 render->DrawTextureAlphaNew(
204 render->DrawTextureAlphaNew(
212 render->DrawTextureAlphaNew(
218 render->DrawTextureAlphaNew(
222 render->DrawTextureAlphaNew(
229 render->DrawTextureAlphaNew(
237 render->DrawTextureAlphaNew(
243 render->DrawTextureAlphaNew(
247 render->DrawTextureAlphaNew(
254 render->DrawTextureAlphaNew(
262 render->DrawTextureAlphaNew(
268 render->DrawTextureAlphaNew(
272 render->DrawTextureAlphaNew(
279 render->DrawTextureAlphaNew(
287 render->DrawTextureAlphaNew(
293 render->DrawTextureAlphaNew(
297 render->DrawTextureAlphaNew(
318 autonotes_window.
uFrameZ = 407;
319 autonotes_window.
uFrameW = 333;
325 for (
uint i = 1; i <= 195; ++i) {
378 if ((
signed int)(autonotes_window.
uFrameY + pTextHeight) >
382 render->DrawTextureAlphaNew(
384 ((autonotes_window.
uFrameY + pTextHeight) + 12) / 480.0
f,
388 (autonotes_window.
uFrameY + pTextHeight) + 24;
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
Image * ui_book_button8_on
Image * ui_exit_cancel_button_background
Image * ui_book_button6_off
int Autonotes_Misc_page_flag
bool _449B57_test_bit(unsigned __int8 *a1, __int16 a2)
Image * ui_book_button7_off
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_button4_off
Image * ui_book_button5_off
Image * ui_book_button1_on
void PlaySound(SoundID eSoundID, int pid, unsigned int uNumRepeats, int x, int y, int a7)
Image * ui_book_autonotes_background
unsigned int game_viewport_width
Image * ui_book_button3_off
unsigned int ui_book_autonotes_text_color
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_button6_on
Image * ui_book_button5_on
@ AUTONOTE_POTION_RECEPIE
Image * ui_book_button2_on
Texture * GetImage_ColorKey(const String &name, uint16_t colorkey)
Image * ui_book_button4_on
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
Image * ui_book_button1_off
struct Viewport * pViewport
GUIWindow * pBooksButtonOverlay
Image * ui_book_button2_off
void BasicBookInitialization()
int books_primary_item_per_page
Texture * GetImage_Alpha(const String &name)
unsigned char _autonote_bits[26]
Image * ui_book_button8_off
std::array< char, 777 > books_num_items_per_page
GUIWindow_AutonotesBook()
AudioPlayer * pAudioPlayer
int _506568_autonote_type
unsigned int ui_book_autonotes_title_color
@ SOUND_StartMainChoice02
std::array< Autonote, 196 > pAutonoteTxt
int full_num_items_in_book
Image * ui_book_button7_on
int Autonotes_Instructors_page_flag
Image * ui_book_button3_on
std::shared_ptr< IRender > render