Commit c03bb8b4 authored by fallenstardust's avatar fallenstardust

修复贴图不正确

parent 2bc9ab1e
......@@ -550,8 +550,8 @@ void Game::DrawMisc() {
}
if(!dInfo.isReplay && dInfo.player_type < 7 && dInfo.time_limit) {
if(imageManager.tClock) {
driver->draw2DImage(imageManager.tClock, recti(577 * mainGame->xScale, 32 * mainGame->yScale, 595 * mainGame->xScale, 50 * mainGame->yScale), recti(0, 0, 128, 128), 0, 0, true);
driver->draw2DImage(imageManager.tClock, recti(695 * mainGame->xScale, 32 * mainGame->yScale, 713 * mainGame->xScale, 50 * mainGame->yScale), recti(0, 0, 128, 128), 0, 0, true);
driver->draw2DImage(imageManager.tClock, recti(577 * mainGame->xScale, 32 * mainGame->yScale, 595 * mainGame->xScale, 50 * mainGame->yScale), recti(0, 0, 34, 34), 0, 0, true);
driver->draw2DImage(imageManager.tClock, recti(695 * mainGame->xScale, 32 * mainGame->yScale, 713 * mainGame->xScale, 50 * mainGame->yScale), recti(0, 0, 34, 34), 0, 0, true);
}
DrawShadowText(numFont, dInfo.str_time_left[0], recti(595 * mainGame->xScale, 31 * mainGame->yScale, 625 * mainGame->xScale, 50 * mainGame->yScale), recti(0, 1 * mainGame->yScale, 2 * mainGame->xScale, 0), dInfo.time_color[0], 0xff000000, true, false, 0);
DrawShadowText(numFont, dInfo.str_time_left[1], recti(713 * mainGame->xScale, 31 * mainGame->yScale, 743 * mainGame->xScale, 50 * mainGame->yScale), recti(0, 1 * mainGame->yScale, 2 * mainGame->xScale, 0), dInfo.time_color[1], 0xff000000, true, false, 0);
......
......@@ -48,7 +48,7 @@ bool ImageManager::Initial(const path dir) {
snprintf(buff, 100, "/textures/extra/lscale_%d.png", i);
tLScale[i] = driver->getTexture((dir + path(buff)).c_str());
}
tClock = driver->getTexture((dir + path("/textures/clock.png")).c_str());
tClock = driver->getTexture((dir + path("/textures/tiktok.png")).c_str());
support_types.push_back(std::string("jpg"));
support_types.push_back(std::string("png"));
support_types.push_back(std::string("bpg"));
......
......@@ -32,19 +32,6 @@
5.增加卡差对比统计数字;
6.直观数字等级显示;
</pre>
<ul>
<li style="color:#ffff00">3.3.1</li>
</ul>
<pre>
更新:
1.更新ygo内核;
2.升级游戏版本号为1034.4
3.卡图全部翻新为第十期模板;
(为了回避版权问题不得已改为无字卡图)
优化:
1.精简资源缩小一些安装包体积;
2.为了避免误导用户取消直接启动游戏功能
</pre>
<ul>
<li style="color:#ffffff">3.3.0</li>
</ul>
......
......@@ -8,7 +8,7 @@ android {
applicationId "cn.garymb.ygomobile"
minSdkVersion 16
targetSdkVersion 22
versionCode 33010605
versionCode 33010606
versionName "3.3.1"
flavorDimensions "versionCode"
vectorDrawables.useSupportLibrary = true
......
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