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
62469620
Commit
62469620
authored
May 23, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust
parent
690a0fe9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
gframe/drawing.cpp
gframe/drawing.cpp
+5
-5
No files found.
gframe/drawing.cpp
View file @
62469620
...
@@ -533,15 +533,15 @@ void Game::DrawMisc() {
...
@@ -533,15 +533,15 @@ void Game::DrawMisc() {
if(!dInfo.isReplay && dInfo.player_type < 7 && dInfo.time_limit) {
if(!dInfo.isReplay && dInfo.player_type < 7 && dInfo.time_limit) {
if(imageManager.tClock != NULL) {
if(imageManager.tClock != NULL) {
driver->draw2DImage(imageManager.tClock, ResizeCardMid(472, 32, 490, 50, 490, 41), recti(0, 0, 128, 128), 0, 0, true);
driver->draw2DImage(imageManager.tClock, ResizeCardMid(472, 32, 490, 50, 490, 41), recti(0, 0, 128, 128), 0, 0, true);
driver
->
draw2DImage
(
imageManager
.
tClock
,
ResizeCardMid
(
795
,
32
,
813
,
50
,
813
,
41
),
recti
(
0
,
0
,
128
,
128
),
0
,
0
,
true
);
driver->draw2DImage(imageManager.tClock, ResizeCardMid(
800, 32, 818, 50, 818
, 41), recti(0, 0, 128, 128), 0, 0, true);
}
}
DrawShadowText
(
numFont
,
dInfo
.
str_time_left
[
0
],
Resize
(
490
,
31
,
52
5
,
50
),
Resize
(
0
,
1
,
2
,
0
),
dInfo
.
time_color
[
0
],
0xff000000
,
true
,
false
,
0
);
DrawShadowText(numFont, dInfo.str_time_left[0], Resize(490, 31, 52
0
, 50), Resize(0, 1, 2, 0), dInfo.time_color[0], 0xff000000, true, false, 0);
DrawShadowText
(
numFont
,
dInfo
.
str_time_left
[
1
],
Resize
(
81
3
,
31
,
848
,
50
),
Resize
(
0
,
1
,
2
,
0
),
dInfo
.
time_color
[
1
],
0xff000000
,
true
,
false
,
0
);
DrawShadowText(numFont, dInfo.str_time_left[1], Resize(81
8
, 31, 848, 50), Resize(0, 1, 2, 0), dInfo.time_color[1], 0xff000000, true, false, 0);
driver
->
draw2DImage
(
imageManager
.
tCover
[
0
],
ResizeCardMid
(
4
43
,
32
,
45
5
,
50
,
455
,
41
),
rect
<
s32
>
(
0
,
0
,
CARD_IMG_WIDTH
,
CARD_IMG_HEIGHT
),
0
,
0
,
true
);
driver->draw2DImage(imageManager.tCover[0], ResizeCardMid(4
33, 32, 44
5, 50, 455, 41), rect<s32>(0, 0, CARD_IMG_WIDTH, CARD_IMG_HEIGHT), 0, 0, true);
driver->draw2DImage(imageManager.tCover[1], ResizeCardMid(850, 32, 862, 50, 862, 41), rect<s32>(0, 0, CARD_IMG_WIDTH, CARD_IMG_HEIGHT), 0, 0, true);
driver->draw2DImage(imageManager.tCover[1], ResizeCardMid(850, 32, 862, 50, 862, 41), rect<s32>(0, 0, CARD_IMG_WIDTH, CARD_IMG_HEIGHT), 0, 0, true);
DrawShadowText
(
numFont
,
dInfo
.
str_card_count
[
0
],
Resize
(
4
5
5
,
31
,
470
,
50
),
Resize
(
0
,
1
,
2
,
0
),
dInfo
.
card_count_color
[
0
],
0xff000000
,
true
,
false
,
0
);
DrawShadowText(numFont, dInfo.str_card_count[0], Resize(4
4
5, 31, 470, 50), Resize(0, 1, 2, 0), dInfo.card_count_color[0], 0xff000000, true, false, 0);
DrawShadowText(numFont, dInfo.str_card_count[1], Resize(862, 31, 887, 50), Resize(0, 1, 2, 0), dInfo.card_count_color[1], 0xff000000, true, false, 0);
DrawShadowText(numFont, dInfo.str_card_count[1], Resize(862, 31, 887, 50), Resize(0, 1, 2, 0), dInfo.card_count_color[1], 0xff000000, true, false, 0);
driver->draw2DRectangle(Resize(525, 34, 525 + dInfo.time_left[0] * 100 / dInfo.time_limit, 44), 0xa0e0e0e0, 0xa0e0e0e0, 0xa0c0c0c0, 0xa0c0c0c0);
driver->draw2DRectangle(Resize(525, 34, 525 + dInfo.time_left[0] * 100 / dInfo.time_limit, 44), 0xa0e0e0e0, 0xa0e0e0e0, 0xa0c0c0c0, 0xa0c0c0c0);
...
...
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