Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile
Commits
69a45483
Commit
69a45483
authored
May 11, 2018
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
聊天消息发送&优化布局
parent
7eb249aa
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
Classes/gframe/deck_con.cpp
Classes/gframe/deck_con.cpp
+0
-2
Classes/gframe/game.h
Classes/gframe/game.h
+3
-3
Classes/gframe/menu_handler.cpp
Classes/gframe/menu_handler.cpp
+2
-0
mobile/assets/changelog.html
mobile/assets/changelog.html
+1
-0
mobile/src/main/res/layout/activity_deck_cards.xml
mobile/src/main/res/layout/activity_deck_cards.xml
+5
-6
No files found.
Classes/gframe/deck_con.cpp
View file @
69a45483
...
@@ -115,8 +115,6 @@ void DeckBuilder::Terminate() {
...
@@ -115,8 +115,6 @@ void DeckBuilder::Terminate() {
mainGame
->
device
->
closeDevice
();
mainGame
->
device
->
closeDevice
();
}
}
bool
DeckBuilder
::
OnEvent
(
const
irr
::
SEvent
&
event
)
{
bool
DeckBuilder
::
OnEvent
(
const
irr
::
SEvent
&
event
)
{
if
(
mainGame
->
dField
.
OnCommonEvent
(
event
))
return
false
;
#ifdef _IRR_ANDROID_PLATFORM_
#ifdef _IRR_ANDROID_PLATFORM_
irr
::
SEvent
transferEvent
;
irr
::
SEvent
transferEvent
;
if
(
irr
::
android
::
TouchEventTransferAndroid
::
OnTransferDeckEdit
(
event
))
{
if
(
irr
::
android
::
TouchEventTransferAndroid
::
OnTransferDeckEdit
(
event
))
{
...
...
Classes/gframe/game.h
View file @
69a45483
...
@@ -222,6 +222,9 @@ public:
...
@@ -222,6 +222,9 @@ public:
irr
::
gui
::
IGUIStaticText
*
stSetName
;
irr
::
gui
::
IGUIStaticText
*
stSetName
;
irr
::
gui
::
IGUIStaticText
*
stText
;
irr
::
gui
::
IGUIStaticText
*
stText
;
irr
::
gui
::
IGUIScrollBar
*
scrCardText
;
irr
::
gui
::
IGUIScrollBar
*
scrCardText
;
irr
::
gui
::
IGUIListBox
*
lstLog
;
irr
::
gui
::
IGUIButton
*
btnClearLog
;
irr
::
gui
::
IGUIButton
*
btnSaveLog
;
irr
::
gui
::
IGUICheckBox
*
chkMAutoPos
;
irr
::
gui
::
IGUICheckBox
*
chkMAutoPos
;
irr
::
gui
::
IGUICheckBox
*
chkSTAutoPos
;
irr
::
gui
::
IGUICheckBox
*
chkSTAutoPos
;
irr
::
gui
::
IGUICheckBox
*
chkRandomPos
;
irr
::
gui
::
IGUICheckBox
*
chkRandomPos
;
...
@@ -231,9 +234,6 @@ public:
...
@@ -231,9 +234,6 @@ public:
irr
::
gui
::
IGUICheckBox
*
chkHideHintButton
;
irr
::
gui
::
IGUICheckBox
*
chkHideHintButton
;
irr
::
gui
::
IGUICheckBox
*
chkIgnoreDeckChanges
;
irr
::
gui
::
IGUICheckBox
*
chkIgnoreDeckChanges
;
irr
::
gui
::
IGUICheckBox
*
chkAutoSearch
;
irr
::
gui
::
IGUICheckBox
*
chkAutoSearch
;
irr
::
gui
::
IGUIListBox
*
lstLog
;
irr
::
gui
::
IGUIButton
*
btnClearLog
;
irr
::
gui
::
IGUIButton
*
btnSaveLog
;
//main menu
//main menu
irr
::
gui
::
IGUIWindow
*
wMainMenu
;
irr
::
gui
::
IGUIWindow
*
wMainMenu
;
irr
::
gui
::
IGUIButton
*
btnLanMode
;
irr
::
gui
::
IGUIButton
*
btnLanMode
;
...
...
Classes/gframe/menu_handler.cpp
View file @
69a45483
...
@@ -31,6 +31,8 @@ void UpdateDeck() {
...
@@ -31,6 +31,8 @@ void UpdateDeck() {
DuelClient
::
SendBufferToServer
(
CTOS_UPDATE_DECK
,
deckbuf
,
pdeck
-
deckbuf
);
DuelClient
::
SendBufferToServer
(
CTOS_UPDATE_DECK
,
deckbuf
,
pdeck
-
deckbuf
);
}
}
bool
MenuHandler
::
OnEvent
(
const
irr
::
SEvent
&
event
)
{
bool
MenuHandler
::
OnEvent
(
const
irr
::
SEvent
&
event
)
{
if
(
mainGame
->
dField
.
OnCommonEvent
(
event
))
return
false
;
#ifdef _IRR_ANDROID_PLATFORM_
#ifdef _IRR_ANDROID_PLATFORM_
irr
::
SEvent
transferEvent
;
irr
::
SEvent
transferEvent
;
if
(
irr
::
android
::
TouchEventTransferAndroid
::
OnTransferCommon
(
event
,
false
))
{
if
(
irr
::
android
::
TouchEventTransferAndroid
::
OnTransferCommon
(
event
,
false
))
{
...
...
mobile/assets/changelog.html
View file @
69a45483
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
更新:
更新:
1.更新ygo内核;
1.更新ygo内核;
2.避免误导用户移除版本号修改功能★
2.避免误导用户移除版本号修改功能★
3.新卡:TCG1004+WJ+VJ;
修复:
修复:
1.一些已知的卡图错误;
1.一些已知的卡图错误;
2.下拉列表滚动容易弹回顶部的问题;
2.下拉列表滚动容易弹回顶部的问题;
...
...
mobile/src/main/res/layout/activity_deck_cards.xml
View file @
69a45483
...
@@ -23,26 +23,25 @@
...
@@ -23,26 +23,25 @@
android:layout_height=
"match_parent"
/>
android:layout_height=
"match_parent"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"
wrap_cont
ent"
android:layout_width=
"
match_par
ent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"bottom|
left
"
android:layout_gravity=
"bottom|"
android:layout_marginBottom=
"2dp"
android:layout_marginBottom=
"2dp"
android:layout_marginLeft=
"10dp"
android:layout_marginLeft=
"10dp"
android:orientation=
"horizontal"
android:orientation=
"horizontal"
android:weightSum=
"1"
>
android:weightSum=
"1"
>
<TextView
<TextView
android:layout_width=
"
match_par
ent"
android:layout_width=
"
wrap_cont
ent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/deck_name"
android:text=
"@string/deck_name"
android:textColor=
"@color/holo_blue_light"
/>
android:textColor=
"@color/holo_blue_light"
/>
<android.support.v7.widget.AppCompatSpinner
<android.support.v7.widget.AppCompatSpinner
android:id=
"@+id/toolbar_list"
android:id=
"@+id/toolbar_list"
android:layout_width=
"
15
0dp"
android:layout_width=
"0dp"
android:layout_height=
"@dimen/item_height"
android:layout_height=
"@dimen/item_height"
app:popupTheme=
"@style/AppTheme.PopupOverlay.Bule"
android:layout_weight=
"1"
/>
android:layout_weight=
"3.56"
/>
<ImageView
<ImageView
android:id=
"@+id/btn_nav_list"
android:id=
"@+id/btn_nav_list"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment