World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
13 {61, 281, 61, 281, 171}};
28 if (!ui_book_lloyds_border) {
47 if (water_skill & 0x100 || (water_skill & 0x80))
49 else if (water_skill & 0x40)
52 for (
int i = 0; i < max_beacons; ++i) {
94 int uNumMaxBeacons = 1;
102 if (uNumMaxBeacons > 0) {
103 for (
size_t BeaconID = 0; BeaconID < uNumMaxBeacons; BeaconID++) {
115 render->DrawTextureAlphaNew(
120 if (BeaconID < pPlayer->vBeacons.size()) {
128 pWindow.
uFrameY -= 6 + pTextHeight;
134 unsigned int pDays = RemainingTime.
GetDays();
138 }
else if (pHours + 1 <= 23) {
const char * GetString(unsigned int index) const
GameTime & GetPlayingTime()
Image * ui_exit_cancel_button_background
@ UIMSG_LloydsBeacon_FlippingBtn
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
Localization * localization
std::array< Player, 4 > pPlayers
void DrawTitleText(GUIFont *font, int horizontal_margin, int vertical_margin, unsigned __int16 uDefaultColor, const char *pInString, int line_spacing)
std::array< unsigned __int16, 37 > pActiveSkills
unsigned int game_viewport_height
struct MapStats * pMapStats
bool _506360_installing_beacon
Texture * GetImage_ColorKey(const String &name, uint16_t colorkey)
unsigned int uFrameHeight
unsigned int CalcTextHeight(const String &str, unsigned int width, int x_offset, bool return_on_carriage=false)
int GetHoursOfDay() const
int _506348_current_lloyd_playerid
Image * ui_book_button1_off
std::array< Image *, 2 > ui_book_lloyds_backgrounds
int sub_410D99_get_map_index(int a1)
@ UIMSG_CloseAfterInstallBeacon
void BasicBookInitialization()
std::vector< LloydBeacon > vBeacons
std::array< unsigned int, 5 > pLloydsBeaconsPreviewXs
Image * ui_book_lloyds_border
std::array< unsigned int, 5 > pLloydsBeaconsPreviewYs
Texture * GetImage_Alpha(const String &name)
struct GUIMessageQueue * pMessageQueue_50CBD0
std::array< unsigned int, 5 > pLloydsBeacons_SomeXs
String StringPrintf(const char *fmt,...)
std::array< unsigned int, 5 > pLloydsBeacons_SomeYs
std::shared_ptr< IRender > render