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
8ddf3e94
Commit
8ddf3e94
authored
May 19, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust
parent
2edc4dec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
gframe/drawing.cpp
gframe/drawing.cpp
+20
-20
No files found.
gframe/drawing.cpp
View file @
8ddf3e94
...
@@ -1126,16 +1126,16 @@ void Game::DrawDeckBd() {
...
@@ -1126,16 +1126,16 @@ void Game::DrawDeckBd() {
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
current_deck
.
main
.
size
()],
Resize
(
380
,
138
,
440
,
158
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
current_deck
.
main
.
size
()],
Resize
(
380
,
138
,
440
,
158
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
//monster count
//monster count
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1312
));
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1312
));
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
2
-
(
40
*
3
)
-
(
25
*
3
),
137
,
792
-
(
40
*
2
)
-
(
25
*
3
),
157
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
7
-
(
55
*
3
)
-
(
25
*
3
),
137
,
797
-
(
55
*
2
)
-
(
25
*
3
),
157
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
main
,
TYPE_MONSTER
)],
Resize
(
79
2
-
(
40
*
2
)
-
(
25
*
3
),
138
,
792
-
(
40
*
2
)
-
(
25
*
2
),
158
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
main
,
TYPE_MONSTER
)],
Resize
(
79
7
-
(
55
*
2
)
-
(
25
*
3
),
138
,
797
-
(
55
*
2
)
-
(
25
*
2
),
158
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
//spell count
//spell count
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1313
));
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1313
));
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
2
-
(
40
*
2
)
-
(
25
*
2
),
137
,
792
-
(
40
*
1
)
-
(
25
*
2
),
157
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
7
-
(
55
*
2
)
-
(
25
*
2
),
137
,
797
-
(
55
*
1
)
-
(
25
*
2
),
157
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
main
,
TYPE_SPELL
)],
Resize
(
79
2
-
(
40
*
1
)
-
(
25
*
2
),
138
,
792
-
(
40
*
1
)
-
(
25
*
1
),
158
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
main
,
TYPE_SPELL
)],
Resize
(
79
7
-
(
55
*
1
)
-
(
25
*
2
),
138
,
797
-
(
55
*
1
)
-
(
25
*
1
),
158
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
//trap count
//trap count
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1314
));
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1314
));
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
2
-
(
40
*
1
)
-
(
25
*
1
),
137
,
792
-
(
40
*
0
)
-
(
25
*
1
),
157
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
7
-
(
55
*
1
)
-
(
25
*
1
),
137
,
797
-
(
55
*
0
)
-
(
25
*
1
),
157
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
main
,
TYPE_TRAP
)],
Resize
(
79
2
-
(
40
*
0
)
-
(
25
*
1
),
138
,
792
-
(
40
*
0
)
-
(
25
*
0
),
158
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
main
,
TYPE_TRAP
)],
Resize
(
79
7
-
(
55
*
0
)
-
(
25
*
1
),
138
,
797
-
(
55
*
0
)
-
(
25
*
0
),
158
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
driver
->
draw2DRectangle
(
Resize
(
310
,
160
,
797
,
436
),
0x400000ff
,
0x400000ff
,
0x40000000
,
0x40000000
);
driver
->
draw2DRectangle
(
Resize
(
310
,
160
,
797
,
436
),
0x400000ff
,
0x400000ff
,
0x40000000
,
0x40000000
);
driver
->
draw2DRectangleOutline
(
Resize
(
309
,
159
,
797
,
436
));
driver
->
draw2DRectangleOutline
(
Resize
(
309
,
159
,
797
,
436
));
...
@@ -1160,20 +1160,20 @@ void Game::DrawDeckBd() {
...
@@ -1160,20 +1160,20 @@ void Game::DrawDeckBd() {
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
current_deck
.
extra
.
size
()],
Resize
(
380
,
441
,
440
,
461
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
current_deck
.
extra
.
size
()],
Resize
(
380
,
441
,
440
,
461
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
//fusion count
//fusion count
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1056
));
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1056
));
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
2
-
(
40
*
4
)
-
(
25
*
4
),
440
,
792
-
(
40
*
3
)
-
(
25
*
4
),
460
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
7
-
(
55
*
4
)
-
(
25
*
4
),
440
,
797
-
(
55
*
3
)
-
(
25
*
4
),
460
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_FUSION
)],
Resize
(
79
2
-
(
40
*
3
)
-
(
25
*
4
),
441
,
792
-
(
40
*
3
)
-
(
25
*
3
),
461
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_FUSION
)],
Resize
(
79
7
-
(
55
*
3
)
-
(
25
*
4
),
441
,
797
-
(
55
*
3
)
-
(
25
*
3
),
461
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
//synchro count
//synchro count
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1063
));
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1063
));
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
2
-
(
40
*
3
)
-
(
25
*
3
),
440
,
792
-
(
40
*
2
)
-
(
25
*
3
),
460
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
7
-
(
55
*
3
)
-
(
25
*
3
),
440
,
797
-
(
55
*
2
)
-
(
25
*
3
),
460
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_SYNCHRO
)],
Resize
(
79
2
-
(
40
*
2
)
-
(
25
*
3
),
441
,
792
-
(
40
*
2
)
-
(
25
*
2
),
461
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_SYNCHRO
)],
Resize
(
79
7
-
(
55
*
2
)
-
(
25
*
3
),
441
,
797
-
(
55
*
2
)
-
(
25
*
2
),
461
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
//xyz count
//xyz count
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1073
));
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1073
));
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
2
-
(
40
*
2
)
-
(
25
*
2
),
440
,
792
-
(
40
*
1
)
-
(
25
*
2
),
460
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
7
-
(
55
*
2
)
-
(
25
*
2
),
440
,
797
-
(
55
*
1
)
-
(
25
*
2
),
460
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_XYZ
)],
Resize
(
79
2
-
(
40
*
1
)
-
(
25
*
2
),
441
,
792
-
(
40
*
1
)
-
(
25
*
1
),
461
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_XYZ
)],
Resize
(
79
7
-
(
55
*
1
)
-
(
25
*
2
),
441
,
797
-
(
55
*
1
)
-
(
25
*
1
),
461
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
//link count
//link count
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1076
));
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1076
));
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
2
-
(
40
*
1
)
-
(
25
*
1
),
440
,
792
-
(
40
*
0
)
-
(
25
*
1
),
460
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
7
-
(
55
*
1
)
-
(
25
*
1
),
440
,
797
-
(
55
*
0
)
-
(
25
*
1
),
460
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_LINK
)],
Resize
(
79
2
-
(
40
*
0
)
-
(
25
*
1
),
441
,
792
-
(
40
*
0
)
-
(
25
*
0
),
461
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_LINK
)],
Resize
(
79
7
-
(
55
*
0
)
-
(
25
*
1
),
441
,
797
-
(
55
*
0
)
-
(
25
*
0
),
461
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
driver
->
draw2DRectangle
(
Resize
(
310
,
463
,
797
,
533
),
0x400000ff
,
0x400000ff
,
0x40000000
,
0x40000000
);
driver
->
draw2DRectangle
(
Resize
(
310
,
463
,
797
,
533
),
0x400000ff
,
0x400000ff
,
0x40000000
,
0x40000000
);
driver
->
draw2DRectangleOutline
(
Resize
(
309
,
462
,
797
,
533
));
driver
->
draw2DRectangleOutline
(
Resize
(
309
,
462
,
797
,
533
));
...
@@ -1192,16 +1192,16 @@ void Game::DrawDeckBd() {
...
@@ -1192,16 +1192,16 @@ void Game::DrawDeckBd() {
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
current_deck
.
side
.
size
()],
Resize
(
380
,
538
,
440
,
558
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
current_deck
.
side
.
size
()],
Resize
(
380
,
538
,
440
,
558
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
//monster count
//monster count
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1312
));
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1312
));
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
2
-
(
40
*
3
)
-
(
25
*
3
),
537
,
792
-
(
40
*
2
)
-
(
25
*
3
),
557
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
7
-
(
55
*
3
)
-
(
25
*
3
),
537
,
797
-
(
55
*
2
)
-
(
25
*
3
),
557
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
side
,
TYPE_MONSTER
)],
Resize
(
79
2
-
(
40
*
2
)
-
(
25
*
3
),
538
,
792
-
(
40
*
2
)
-
(
25
*
2
),
558
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
side
,
TYPE_MONSTER
)],
Resize
(
79
7
-
(
55
*
2
)
-
(
25
*
3
),
538
,
797
-
(
55
*
2
)
-
(
25
*
2
),
558
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
//spell count
//spell count
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1313
));
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1313
));
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
2
-
(
40
*
2
)
-
(
25
*
2
),
537
,
792
-
(
40
*
1
)
-
(
25
*
2
),
557
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
7
-
(
55
*
2
)
-
(
25
*
2
),
537
,
797
-
(
55
*
1
)
-
(
25
*
2
),
557
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
side
,
TYPE_SPELL
)],
Resize
(
79
2
-
(
40
*
1
)
-
(
25
*
2
),
538
,
792
-
(
40
*
1
)
-
(
25
*
1
),
558
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
side
,
TYPE_SPELL
)],
Resize
(
79
7
-
(
55
*
1
)
-
(
25
*
2
),
538
,
797
-
(
55
*
1
)
-
(
25
*
1
),
558
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
//trap count
//trap count
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1314
));
myswprintf
(
textBuffer
,
L"%ls:"
,
dataManager
.
GetSysString
(
1314
));
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
2
-
(
40
*
1
)
-
(
25
*
1
),
537
,
792
-
(
40
*
0
)
-
(
25
*
1
),
557
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
textFont
,
textBuffer
,
Resize
(
79
7
-
(
55
*
1
)
-
(
25
*
1
),
537
,
797
-
(
55
*
0
)
-
(
25
*
1
),
557
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
side
,
TYPE_TRAP
)],
Resize
(
79
2
-
(
40
*
0
)
-
(
25
*
1
),
538
,
792
-
(
40
*
0
)
-
(
25
*
0
),
558
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
side
,
TYPE_TRAP
)],
Resize
(
79
7
-
(
55
*
0
)
-
(
25
*
1
),
538
,
797
-
(
55
*
0
)
-
(
25
*
0
),
558
),
Resize
(
1
,
1
,
1
,
1
),
0xffffffff
,
0xff000000
,
false
,
true
);
driver
->
draw2DRectangle
(
Resize
(
310
,
560
,
797
,
630
),
0x400000ff
,
0x400000ff
,
0x40000000
,
0x40000000
);
driver
->
draw2DRectangle
(
Resize
(
310
,
560
,
797
,
630
),
0x400000ff
,
0x400000ff
,
0x40000000
,
0x40000000
);
driver
->
draw2DRectangleOutline
(
Resize
(
309
,
559
,
797
,
630
));
driver
->
draw2DRectangleOutline
(
Resize
(
309
,
559
,
797
,
630
));
...
...
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