Mercurial > mm7
comparison UI/UICharacter.cpp @ 1451:6b1c8c41c83f
m
author | Ritor1 |
---|---|
date | Tue, 06 Aug 2013 09:26:06 +0600 |
parents | 28f87f5234a1 |
children | 9add223260ce |
comparison
equal
deleted
inserted
replaced
1431:4d13549db029 | 1451:6b1c8c41c83f |
---|---|
184 ui_game_dialogue_option_normal_color = TargetColor(255, 255, 255); | 184 ui_game_dialogue_option_normal_color = TargetColor(255, 255, 255); |
185 | 185 |
186 ui_house_player_cant_interact_color = TargetColor(255, 255, 155); | 186 ui_house_player_cant_interact_color = TargetColor(255, 255, 155); |
187 } | 187 } |
188 | 188 |
189 | |
190 | |
191 | |
192 | |
193 | |
194 std::array<unsigned int, 16> papredoll_dbrds; | 189 std::array<unsigned int, 16> papredoll_dbrds; |
195 unsigned int papredoll_drhs[4]; | 190 unsigned int papredoll_drhs[4]; |
196 unsigned int papredoll_dlhus[4]; | 191 unsigned int papredoll_dlhus[4]; |
197 unsigned int papredoll_dlhs[4]; | 192 unsigned int papredoll_dlhs[4]; |
198 unsigned int papredoll_dbods[5]; | 193 unsigned int papredoll_dbods[5]; |
381 const int pMiscSkills[12] = {PLAYER_SKILL_ALCHEMY, PLAYER_SKILL_ARMSMASTER, PLAYER_SKILL_BODYBUILDING, PLAYER_SKILL_ITEM_ID, PLAYER_SKILL_MONSTER_ID, | 376 const int pMiscSkills[12] = {PLAYER_SKILL_ALCHEMY, PLAYER_SKILL_ARMSMASTER, PLAYER_SKILL_BODYBUILDING, PLAYER_SKILL_ITEM_ID, PLAYER_SKILL_MONSTER_ID, |
382 PLAYER_SKILL_LEARNING, PLAYER_SKILL_TRAP_DISARM, PLAYER_SKILL_MEDITATION, PLAYER_SKILL_MERCHANT, PLAYER_SKILL_PERCEPTION, | 377 PLAYER_SKILL_LEARNING, PLAYER_SKILL_TRAP_DISARM, PLAYER_SKILL_MEDITATION, PLAYER_SKILL_MERCHANT, PLAYER_SKILL_PERCEPTION, |
383 PLAYER_SKILL_REPAIR, PLAYER_SKILL_STEALING}; | 378 PLAYER_SKILL_REPAIR, PLAYER_SKILL_STEALING}; |
384 const int pMagicSkills[9] = {PLAYER_SKILL_FIRE, PLAYER_SKILL_AIR, PLAYER_SKILL_WATER, PLAYER_SKILL_EARTH, PLAYER_SKILL_SPIRIT, | 379 const int pMagicSkills[9] = {PLAYER_SKILL_FIRE, PLAYER_SKILL_AIR, PLAYER_SKILL_WATER, PLAYER_SKILL_EARTH, PLAYER_SKILL_SPIRIT, |
385 PLAYER_SKILL_MIND, PLAYER_SKILL_BODY, PLAYER_SKILL_LIGHT, PLAYER_SKILL_DARK}; | 380 PLAYER_SKILL_MIND, PLAYER_SKILL_BODY, PLAYER_SKILL_LIGHT, PLAYER_SKILL_DARK}; |
386 | |
387 | |
388 | 381 |
389 | 382 |
390 //----- (00421626) -------------------------------------------------------- | 383 //----- (00421626) -------------------------------------------------------- |
391 GUIWindow *CharacterUI_Initialize(unsigned int _this) | 384 GUIWindow *CharacterUI_Initialize(unsigned int _this) |
392 { | 385 { |
470 v2->CreateButton(292, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 3, '3', "", 0); | 463 v2->CreateButton(292, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 3, '3', "", 0); |
471 v2->CreateButton(407, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 4, '4', "", 0); | 464 v2->CreateButton(407, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 4, '4', "", 0); |
472 | 465 |
473 return v2; | 466 return v2; |
474 } | 467 } |
475 | |
476 | |
477 | |
478 | |
479 | |
480 | 468 |
481 static int CharacterUI_SkillsTab_Draw__DrawSkillTable(Player *player, int x, int y, const int *skill_list, int skill_list_size, int right_margin, const char *skill_group_name) | 469 static int CharacterUI_SkillsTab_Draw__DrawSkillTable(Player *player, int x, int y, const int *skill_list, int skill_list_size, int right_margin, const char *skill_group_name) |
482 { | 470 { |
483 int y_offset = y; | 471 int y_offset = y; |
484 | 472 |