Commit 18bec1e4 authored by fallenstardust's avatar fallenstardust

修改hint message 位置

parent 134e3223
...@@ -740,7 +740,7 @@ bool Game::Initialize() { ...@@ -740,7 +740,7 @@ bool Game::Initialize() {
chkRace[i] = env->addCheckBox(false, rect<s32>((10 + (i % 4) * 90) * xScale, (25 + (i / 4) * 25) * yScale, (100 + (i % 4) * 90) * xScale, (50 + (i / 4) * 25) * yScale), chkRace[i] = env->addCheckBox(false, rect<s32>((10 + (i % 4) * 90) * xScale, (25 + (i / 4) * 25) * yScale, (100 + (i % 4) * 90) * xScale, (50 + (i / 4) * 25) * yScale),
wANRace, CHECK_RACE, dataManager.FormatRace(filter)); wANRace, CHECK_RACE, dataManager.FormatRace(filter));
//selection hint //selection hint
stHintMsg = env->addStaticText(L"", rect<s32>(500 * xScale, 60 * yScale, 820 * xScale, 90 * yScale), true, false, 0, -1, false); stHintMsg = env->addStaticText(L"", rect<s32>(500 * xScale, 90 * yScale, 820 * xScale, 120 * yScale), true, false, 0, -1, false);
stHintMsg->setBackgroundColor(0x6011113d); stHintMsg->setBackgroundColor(0x6011113d);
stHintMsg->setTextAlignment(irr::gui::EGUIA_CENTER, irr::gui::EGUIA_CENTER); stHintMsg->setTextAlignment(irr::gui::EGUIA_CENTER, irr::gui::EGUIA_CENTER);
stHintMsg->setVisible(false); stHintMsg->setVisible(false);
......
...@@ -207,6 +207,8 @@ public: ...@@ -207,6 +207,8 @@ public:
static int32 card_is_able_to_extra_as_cost(lua_State *L); static int32 card_is_able_to_extra_as_cost(lua_State *L);
static int32 card_is_able_to_deck_or_extra_as_cost(lua_State *L); static int32 card_is_able_to_deck_or_extra_as_cost(lua_State *L);
static int32 card_is_able_to_remove_as_cost(lua_State *L); static int32 card_is_able_to_remove_as_cost(lua_State *L);
static int32 card_is_able_to_decrease_attack_as_cost(lua_State *L);
static int32 card_is_able_to_decrease_defense_as_cost(lua_State *L);
static int32 card_is_releasable(lua_State *L); static int32 card_is_releasable(lua_State *L);
static int32 card_is_releasable_by_effect(lua_State *L); static int32 card_is_releasable_by_effect(lua_State *L);
static int32 card_is_discardable(lua_State *L); static int32 card_is_discardable(lua_State *L);
......
...@@ -70,7 +70,10 @@ public interface Constants { ...@@ -70,7 +70,10 @@ public interface Constants {
String CORE_SCRIPTS_ZIP = "scripts.zip"; String CORE_SCRIPTS_ZIP = "scripts.zip";
String CORE_PICS_ZIP = "pics.zip"; String CORE_PICS_ZIP = "pics.zip";
String CORE_SKIN_COVER = "cover.jpg"; String CORE_SKIN_COVER = "cover.jpg";
String CORE_SKIN_COVER2 = "cover2.jpg";
String CORE_SKIN_BG = "bg.jpg"; String CORE_SKIN_BG = "bg.jpg";
String CORE_SKIN_AVATAR_ME = "me.jpg";
String CORE_SKIN_AVATAR_OPPONENT = "me.jpg";
String UNKNOWN_IMAGE = "unknown.jpg"; String UNKNOWN_IMAGE = "unknown.jpg";
String YDK_FILE_EX = ".ydk"; String YDK_FILE_EX = ".ydk";
int[] CORE_SKIN_BG_SIZE = new int[]{1280, 720}; int[] CORE_SKIN_BG_SIZE = new int[]{1280, 720};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment