Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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
MyCard
ygopro-2pick
Commits
3068b34c
Commit
3068b34c
authored
Oct 23, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
b057cafd
ec00a23f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
12 deletions
+34
-12
cards.cdb
cards.cdb
+0
-0
gframe/event_handler.cpp
gframe/event_handler.cpp
+6
-6
gframe/game.cpp
gframe/game.cpp
+22
-0
ocgcore
ocgcore
+1
-1
premake/gframe/ygopro.rc
premake/gframe/ygopro.rc
+4
-4
script
script
+1
-1
No files found.
cards.cdb
View file @
3068b34c
No preview for this file type
gframe/event_handler.cpp
View file @
3068b34c
...
...
@@ -2322,12 +2322,12 @@ void ClientField::ShowCardInfoInList(ClientCard* pcard, irr::gui::IGUIElement* e
}
if
(
str
.
length
()
>
0
)
{
parent
->
addChild
(
mainGame
->
stCardListTip
);
irr
::
core
::
rect
<
s32
>
e
p
os
=
element
->
getRelativePosition
();
s32
x
=
(
e
pos
.
UpperLeftCorner
.
X
+
ep
os
.
LowerRightCorner
.
X
)
/
2
;
s32
y
=
e
p
os
.
LowerRightCorner
.
Y
;
irr
::
core
::
dimension2d
<
unsigned
int
>
dtip
=
mainGame
->
textFont
->
getDimension
(
str
.
c_str
())
+
irr
::
core
::
dimension2d
<
unsigned
int
>
(
10
,
10
);
mainGame
->
stCardListTip
->
setRelativePosition
(
recti
(
x
-
dtip
.
Width
/
2
,
y
-
10
,
x
+
dtip
.
Width
/
2
,
y
-
10
+
dtip
.
Height
)
);
mainGame
->
stCardListTip
->
set
Text
(
str
.
c_str
(
));
irr
::
core
::
rect
<
s32
>
e
P
os
=
element
->
getRelativePosition
();
s32
x
=
(
e
Pos
.
UpperLeftCorner
.
X
+
eP
os
.
LowerRightCorner
.
X
)
/
2
;
s32
y
=
e
P
os
.
LowerRightCorner
.
Y
;
mainGame
->
SetStaticText
(
mainGame
->
stCardListTip
,
160
,
mainGame
->
guiFont
,
str
.
c_str
()
);
irr
::
core
::
dimension2d
<
unsigned
int
>
dTip
=
mainGame
->
guiFont
->
getDimension
(
mainGame
->
stCardListTip
->
getText
())
+
irr
::
core
::
dimension2d
<
unsigned
int
>
(
10
,
10
);
mainGame
->
stCardListTip
->
set
RelativePosition
(
recti
(
x
-
dTip
.
Width
/
2
,
y
-
10
,
x
+
dTip
.
Width
/
2
,
y
-
10
+
dTip
.
Height
));
mainGame
->
stCardListTip
->
setVisible
(
true
);
}
}
...
...
gframe/game.cpp
View file @
3068b34c
...
...
@@ -195,6 +195,28 @@ bool Game::Initialize() {
btnDeckEdit
=
env
->
addButton
(
rect
<
s32
>
(
10
,
135
,
270
,
165
),
wMainMenu
,
BUTTON_DECK_EDIT
,
dataManager
.
GetSysString
(
1204
));
btnModeExit
=
env
->
addButton
(
rect
<
s32
>
(
10
,
170
,
270
,
200
),
wMainMenu
,
BUTTON_MODE_EXIT
,
dataManager
.
GetSysString
(
1210
));
<<<<<<<
HEAD
=======
env
->
addStaticText
(
L"\u6B64\u7248\u672C\u4E3A233\u670D\u6D4B\u8BD5\u7248\u672C\uFF0C"
,
rect
<
s32
>
(
10
,
220
,
270
,
240
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"\u9047\u5230\u95EE\u9898\u8BF7\u52A1\u5FC5\u53CD\u9988\uFF0C\u7FA4\uFF1A275986039\u3002"
,
rect
<
s32
>
(
10
,
240
,
270
,
260
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"\u4E0D\u8981\u89C9\u5F97\u4F1A\u6709\u522B\u4EBA\u62A5\u544A\uFF0C\u522B\u4EBA\u4E5F\u4F1A\u8FD9\u4E48\u60F3\u3002"
,
rect
<
s32
>
(
10
,
260
,
270
,
280
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"\u6B64\u7248\u672C\u4F1A\u4E0D\u5B9A\u671F\u66F4\u65B0\uFF0C"
,
rect
<
s32
>
(
10
,
300
,
270
,
320
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"\u5EFA\u8BAE\u968F\u65F6\u5728233\u670D\u5B98\u7F51\u4E0B\u8F7D\u6700\u65B0\u7248\u672C\uFF01"
,
rect
<
s32
>
(
10
,
320
,
270
,
340
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"\u7F51\u5740\uFF1A"
,
rect
<
s32
>
(
10
,
340
,
270
,
360
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"https://ygo233.com/"
,
rect
<
s32
>
(
10
,
360
,
270
,
380
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"\u76EE\u524D\u6D4B\u8BD5\u7684\u5185\u5BB9\uFF1A
\n\n
\
\u7A97\u53E3\u7F29\u653E\u3002
\n
\
\n
\
\u6295\u964D\u65F6\u786E\u8BA4\u3002
\n
\
\n
\
\n
\u5DF2\u77E5\u95EE\u9898\uFF1A
\n
\
\n
\u6548\u679C\u6587\u5185\u82F1\u6587\u6362\u884C\u4F1A\u622A\u65AD\u5355\u8BCD\u3002
\n
\
"
,
rect
<
s32
>
(
300
,
30
,
550
,
390
),
false
,
true
,
wMainMenu
);
>>>>>>>
3683554
b43a5189795ad018b83b87c0247dc3e0c
//lan mode
wLanWindow
=
env
->
addWindow
(
rect
<
s32
>
(
220
,
100
,
800
,
520
),
false
,
dataManager
.
GetSysString
(
1200
));
wLanWindow
->
getCloseButton
()
->
setVisible
(
false
);
...
...
ocgcore
@
246f45bb
Subproject commit
cd3ed6ffc92c1f4e45b69ddd1f0d1c307730bd0b
Subproject commit
246f45bb441e85f4bd69f4b575974ba40bb52385
premake/gframe/ygopro.rc
View file @
3068b34c
1 ICON "ygopro.ico"
1 VERSIONINFO
FILEVERSION 1, 0, 34,
5
PRODUCTVERSION 1, 0, 34,
5
FILEVERSION 1, 0, 34,
6
PRODUCTVERSION 1, 0, 34,
6
FILEOS 0x4
FILETYPE 0x1
...
...
@@ -16,8 +16,8 @@ VALUE "InternalName", "YGOPRO Server Mode"
VALUE "LegalCopyright", "Copyright (C) 2018 Nanahira"
VALUE "OriginalFilename", "ygopro.exe"
VALUE "ProductName", "YGOPRO Server Mode"
VALUE "FileVersion", "1.034.
5
.Koishi"
VALUE "ProductVersion", "1.034.
5
.Koishi"
VALUE "FileVersion", "1.034.
6
.Koishi"
VALUE "ProductVersion", "1.034.
6
.Koishi"
END
END
BLOCK "VarFileInfo"
...
...
script
@
4abdd05e
Subproject commit
9b8e025ee28b8175b717a8071843b05666ca4d75
Subproject commit
4abdd05e56bfb3a3c369f7f8bed8230f7e10e4c2
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