Commit 68be7b80 authored by fallenstardust's avatar fallenstardust

优化提取卡组

修复双方ID相同时只能提取一方的问题
parent 2344c3aa
......@@ -1062,7 +1062,7 @@ bool Game::Initialize(ANDROID_APP app, android::InitOptions *options) {
env->addStaticText(dataManager.GetSysString(1353), rect<s32>(320 * xScale, 180 * yScale, 550 * xScale, 200 * yScale), false, true, wReplay);
ebRepStartTurn = CAndroidGUIEditBox::addAndroidEditBox(L"", true, env, rect<s32>(320 * xScale, 210 * yScale, 430 * xScale, 250 * yScale), wReplay, -1);
ebRepStartTurn->setTextAlignment(irr::gui::EGUIA_CENTER, irr::gui::EGUIA_CENTER);
btnExportDeck = env->addButton(rect<s32>(440 * xScale, 260 * yScale, 550 * xScale, 300 * yScale), wReplay, BUTTON_EXPORT_DECK, dataManager.GetSysString(1282));
btnExportDeck = env->addButton(rect<s32>(440 * xScale, 260 * yScale, 550 * xScale, 300 * yScale), wReplay, BUTTON_EXPORT_DECK, dataManager.GetSysString(1369));
ChangeToIGUIImageButton(btnExportDeck, imageManager.tButton_S, imageManager.tButton_S_pressed);
btnShareReplay = env->addButton(rect<s32>(320 * xScale, 260 * yScale, 430 * xScale, 300 * yScale), wReplay, BUTTON_SHARE_REPLAY, dataManager.GetSysString(1368));
ChangeToIGUIImageButton(btnShareReplay, imageManager.tButton_S, imageManager.tButton_S_pressed);
......
......@@ -338,7 +338,7 @@ bool MenuHandler::OnEvent(const irr::SEvent& event) {
int extra = replay.ReadInt32();
for(int j = 0; j < extra; ++j)
tmp_deck.extra.push_back(dataManager.GetCodePointer(replay.ReadInt32()));
myswprintf(filename, L"./deck/%ls %ls.ydk", ex_filename, namebuf[i]);
myswprintf(filename, L"deck/%ls-%d %ls.ydk", ex_filename, i + 1, namebuf[i]);
deckManager.SaveDeck(tmp_deck, filename);
}
mainGame->stACMessage->setText(dataManager.GetSysString(1335));
......
......@@ -302,10 +302,6 @@
!system 1235 主机密码:
!system 1236 规则:
!system 1237 每回合时间:
!system 1240 OCG
!system 1241 TCG
!system 1242 OCG&TCG
!system 1243 自定义卡片
!system 1244 单局模式
!system 1245 比赛模式
!system 1246 TAG
......@@ -334,7 +330,6 @@
!system 1279 开启音效
!system 1280 开启音乐
!system 1281 按场景切换音乐
!system 1282 提取卡组
!system 1283 显示场地背景
!system 1287 只有连锁1也显示连锁动画
!system 1288 禁限卡表
......@@ -414,6 +409,7 @@
!system 1366 自动保存录像
!system 1367 录像已自动保存为%ls.yrp
!system 1368 分享录像
!system 1369 提取卡组
!system 1370 星数↑
!system 1371 攻击↑
!system 1372 守备↑
......@@ -461,6 +457,7 @@
!system 1429 选择的位置不符合条件。
!system 1430 选择的表示形式不符合条件。
!system 1431 选择的指示物不符合条件。
!system 1432 「%ls」不允许在当前设定下使用。
!system 1440 关闭大图
!system 1441 放大
!system 1442 缩小
......@@ -486,6 +483,12 @@
!system 1474 已存在同名分类
!system 1475 已存在同名卡组
!system 1476 删除失败
!system 1481 OCG
!system 1482 TCG
!system 1483 简体中文
!system 1484 自定义卡片
!system 1485 无独有卡
!system 1486 所有卡片
!system 1500 决斗结束。
!system 1501 录像结束。
!system 1502 连接已断开。
......
......@@ -302,10 +302,6 @@
!system 1235 Password:
!system 1236 Use obsolete rulings
!system 1237 Time limit
!system 1240 OCG
!system 1241 TCG
!system 1242 TCG/OCG
!system 1243 Custom
!system 1244 Single Duel
!system 1245 Match
!system 1246 Tag
......@@ -334,7 +330,6 @@
!system 1279 SE
!system 1280 BGM
!system 1281 Automatically switch BGM
!system 1282 Export Deck
!system 1283 Drawing field spell
!system 1287 Always showing single chain
!system 1290 Disable Chatting
......@@ -413,6 +408,7 @@
!system 1366 Auto Save Replay
!system 1367 Replay already saved as %ls.yrp
!system 1368 Replay share
!system 1369 Extract Deck
!system 1370 Level
!system 1371 ATK
!system 1372 DEF
......@@ -460,6 +456,7 @@
!system 1429 Ineligible Place.
!system 1430 Ineligible Position.
!system 1431 Ineligible Counter.
!system 1432 [%ls] is not allowed in current room.
!system 1440 Close picture
!system 1441 Zoom in
!system 1442 Zoom out
......@@ -485,6 +482,12 @@
!system 1474 There is already a category with this name.
!system 1475 There is already a deck with this name.
!system 1476 Delete failed.
!system 1481 OCG
!system 1482 TCG
!system 1483 Simplified Chinese
!system 1484 Custom
!system 1485 No Exclusive
!system 1486 All Cards
!system 1500 The duel ended.
!system 1501 Replay ended.
!system 1502 Connection has been lost.
......
......@@ -302,10 +302,6 @@
!system 1235 비밀번호:
!system 1236 규칙:
!system 1237 시간 제한:
!system 1240 OCG
!system 1241 TCG
!system 1242 OCG&TCG
!system 1243 제한 없음
!system 1244 싱글 듀얼
!system 1245 매치
!system 1246 태그
......@@ -334,7 +330,6 @@
!system 1279 효과음
!system 1280 BGM
!system 1281 BGM 자동 전환
!system 1282 덱 추출
!system 1283 필드 마법 그리기
!system 1287 체인 1만 애니메이션 표시
!system 1288 금지/제한
......@@ -414,6 +409,7 @@
!system 1366 자동으로 리플레이 저장
!system 1367 다음과 같이 저장되었습니다. %ls.yrp
!system 1368 리플레이 공유
!system 1369 덱 추출
!system 1370 레벨↑
!system 1371 공격력↑
!system 1372 수비력↑
......@@ -461,6 +457,7 @@
!system 1429 선택된 장소가 조건을 충족하지 않습니다.
!system 1430 선택된 표시 형식이 조건을 충족하지 않습니다.
!system 1431 선언된 카운터가 조건을 충족하지 않습니다.
!system 1432 「%ls」은(는) 현재 설정에서 사용할 수 없습니다.
!system 1440 이미지 창 닫기
!system 1441 확대
!system 1442 축소
......@@ -486,6 +483,12 @@
!system 1474 같은 이름의 카테고리가 존재합니다
!system 1475 같은 이름의 덱이 존재합니다
!system 1476 제거 실패
!system 1481 OCG
!system 1482 TCG
!system 1483 SC
!system 1484 커스텀 카드
!system 1485 ID 없는 카드
!system 1486 모든 카드
!system 1500 듀얼 종료.
!system 1501 리플레이 종료.
!system 1502 연결이 끊어졌습니다.
......@@ -680,7 +683,7 @@
!setname 0x1a 검은 전갈(정발명:전갈)
!setname 0x1b 환수(정발명:환상수)
!setname 0x101b 환수기(정발명:환상수기)
#setname 0x1c N/A
!setname 0x1c 죽음의 메시지
!setname 0x1d 코어키메일(정발명:코아키메일)
!setname 0x1e C(코쿤)(정발명:코쿤)
!setname 0x1f N(네오스페이시언)(정발명:네오 스페이시언)
......@@ -863,7 +866,7 @@
!setname 0xa3 스타더스트
!setname 0xa4 크리보
!setname 0x10a4 날개 크리보
!setname 0xa5 체인지
!setname 0xa5 체인저/체인
!setname 0xa6 스프라우트
!setname 0xa7 아르토리우스
!setname 0xa8 란슬롯
......
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