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
3868cdf8
Commit
3868cdf8
authored
Aug 09, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into server
parents
94d1dc42
09e7e181
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
gframe/drawing.cpp
gframe/drawing.cpp
+10
-10
script
script
+1
-1
No files found.
gframe/drawing.cpp
View file @
3868cdf8
...
@@ -1140,15 +1140,15 @@ void Game::DrawDeckBd() {
...
@@ -1140,15 +1140,15 @@ void Game::DrawDeckBd() {
//monster count
//monster count
if
(
imageManager
.
tCardType
)
if
(
imageManager
.
tCardType
)
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
645
,
136
,
645
+
14
+
3
/
8
,
156
),
recti
(
0
,
0
,
23
,
32
),
0
,
0
,
true
);
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
645
,
136
,
645
+
14
+
3
/
8
,
156
),
recti
(
0
,
0
,
23
,
32
),
0
,
0
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
main
,
TYPE_MONSTER
)],
Resize
(
670
,
13
7
,
690
,
157
),
Resize
(
0
,
1
,
2
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
main
,
TYPE_MONSTER
)],
Resize
(
670
,
13
8
,
690
,
158
),
Resize
(
0
,
1
,
1
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
//spell count
//spell count
if
(
imageManager
.
tCardType
)
if
(
imageManager
.
tCardType
)
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
695
,
136
,
695
+
14
+
3
/
8
,
156
),
recti
(
23
,
0
,
46
,
32
),
0
,
0
,
true
);
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
695
,
136
,
695
+
14
+
3
/
8
,
156
),
recti
(
23
,
0
,
46
,
32
),
0
,
0
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
main
,
TYPE_SPELL
)],
Resize
(
720
,
13
7
,
740
,
157
),
Resize
(
0
,
1
,
2
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
main
,
TYPE_SPELL
)],
Resize
(
720
,
13
8
,
740
,
158
),
Resize
(
0
,
1
,
1
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
//trap count
//trap count
if
(
imageManager
.
tCardType
)
if
(
imageManager
.
tCardType
)
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
745
,
136
,
745
+
14
+
3
/
8
,
156
),
recti
(
46
,
0
,
69
,
32
),
0
,
0
,
true
);
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
745
,
136
,
745
+
14
+
3
/
8
,
156
),
recti
(
46
,
0
,
69
,
32
),
0
,
0
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
main
,
TYPE_TRAP
)],
Resize
(
770
,
13
7
,
790
,
157
),
Resize
(
0
,
1
,
2
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
main
,
TYPE_TRAP
)],
Resize
(
770
,
13
8
,
790
,
158
),
Resize
(
0
,
1
,
1
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
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
));
...
@@ -1177,19 +1177,19 @@ void Game::DrawDeckBd() {
...
@@ -1177,19 +1177,19 @@ void Game::DrawDeckBd() {
//fusion count
//fusion count
if
(
imageManager
.
tCardType
)
if
(
imageManager
.
tCardType
)
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
595
,
440
,
595
+
14
+
3
/
8
,
460
),
recti
(
0
,
32
,
23
,
64
),
0
,
0
,
true
);
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
595
,
440
,
595
+
14
+
3
/
8
,
460
),
recti
(
0
,
32
,
23
,
64
),
0
,
0
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_FUSION
)],
Resize
(
620
,
44
0
,
640
,
460
),
Resize
(
0
,
1
,
2
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_FUSION
)],
Resize
(
620
,
44
1
,
640
,
461
),
Resize
(
0
,
1
,
1
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
//synchro count
//synchro count
if
(
imageManager
.
tCardType
)
if
(
imageManager
.
tCardType
)
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
645
,
440
,
645
+
14
+
3
/
8
,
460
),
recti
(
23
,
32
,
46
,
64
),
0
,
0
,
true
);
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
645
,
440
,
645
+
14
+
3
/
8
,
460
),
recti
(
23
,
32
,
46
,
64
),
0
,
0
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_SYNCHRO
)],
Resize
(
67
0
,
440
,
690
,
460
),
Resize
(
0
,
1
,
2
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_SYNCHRO
)],
Resize
(
67
1
,
440
,
690
,
461
),
Resize
(
0
,
1
,
1
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
//XYZ count
//XYZ count
if
(
imageManager
.
tCardType
)
if
(
imageManager
.
tCardType
)
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
695
,
440
,
695
+
14
+
3
/
8
,
460
),
recti
(
46
,
32
,
69
,
64
),
0
,
0
,
true
);
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
695
,
440
,
695
+
14
+
3
/
8
,
460
),
recti
(
46
,
32
,
69
,
64
),
0
,
0
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_XYZ
)],
Resize
(
720
,
44
0
,
740
,
460
),
Resize
(
0
,
1
,
2
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_XYZ
)],
Resize
(
720
,
44
1
,
740
,
461
),
Resize
(
0
,
1
,
1
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
//link count
//link count
if
(
imageManager
.
tCardType
)
if
(
imageManager
.
tCardType
)
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
745
,
440
,
745
+
14
+
3
/
8
,
460
),
recti
(
0
,
64
,
23
,
96
),
0
,
0
,
true
);
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
745
,
440
,
745
+
14
+
3
/
8
,
460
),
recti
(
0
,
64
,
23
,
96
),
0
,
0
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_LINK
)],
Resize
(
770
,
44
0
,
790
,
460
),
Resize
(
0
,
1
,
2
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
extra
,
TYPE_LINK
)],
Resize
(
770
,
44
1
,
790
,
461
),
Resize
(
0
,
1
,
1
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
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
));
...
@@ -1212,15 +1212,15 @@ void Game::DrawDeckBd() {
...
@@ -1212,15 +1212,15 @@ void Game::DrawDeckBd() {
//monster count
//monster count
if
(
imageManager
.
tCardType
)
if
(
imageManager
.
tCardType
)
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
645
,
537
,
645
+
14
+
3
/
8
,
557
),
recti
(
0
,
0
,
23
,
32
),
0
,
0
,
true
);
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
645
,
537
,
645
+
14
+
3
/
8
,
557
),
recti
(
0
,
0
,
23
,
32
),
0
,
0
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
side
,
TYPE_MONSTER
)],
Resize
(
670
,
53
7
,
690
,
557
),
Resize
(
0
,
1
,
2
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
side
,
TYPE_MONSTER
)],
Resize
(
670
,
53
8
,
690
,
558
),
Resize
(
0
,
1
,
1
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
//spell count
//spell count
if
(
imageManager
.
tCardType
)
if
(
imageManager
.
tCardType
)
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
695
,
537
,
695
+
14
+
3
/
8
,
557
),
recti
(
23
,
0
,
46
,
32
),
0
,
0
,
true
);
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
695
,
537
,
695
+
14
+
3
/
8
,
557
),
recti
(
23
,
0
,
46
,
32
),
0
,
0
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
side
,
TYPE_SPELL
)],
Resize
(
720
,
53
7
,
740
,
557
),
Resize
(
0
,
1
,
2
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
side
,
TYPE_SPELL
)],
Resize
(
720
,
53
8
,
740
,
558
),
Resize
(
0
,
1
,
1
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
//trap count
//trap count
if
(
imageManager
.
tCardType
)
if
(
imageManager
.
tCardType
)
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
745
,
537
,
745
+
14
+
3
/
8
,
557
),
recti
(
46
,
0
,
69
,
32
),
0
,
0
,
true
);
driver
->
draw2DImage
(
imageManager
.
tCardType
,
ResizeCardHint
(
745
,
537
,
745
+
14
+
3
/
8
,
557
),
recti
(
46
,
0
,
69
,
32
),
0
,
0
,
true
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
side
,
TYPE_TRAP
)],
Resize
(
770
,
53
7
,
790
,
557
),
Resize
(
0
,
1
,
2
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
DrawShadowText
(
numFont
,
dataManager
.
numStrings
[
deckManager
.
TypeCount
(
deckManager
.
current_deck
.
side
,
TYPE_TRAP
)],
Resize
(
770
,
53
8
,
790
,
558
),
Resize
(
0
,
1
,
1
,
0
),
0xffffffff
,
0xff000000
,
true
,
false
);
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
));
...
...
script
@
ea1c4fe5
Subproject commit
08eccd453e00cfa4fbf9dc2024b2f16a1690e25a
Subproject commit
ea1c4fe515a0822b92086af5473cda869f2e8e83
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