Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
REIKAI
ygopro
Commits
dec6e34b
Commit
dec6e34b
authored
Oct 20, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into another
parents
8e16dd0d
fb7c229d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
17 deletions
+14
-17
cards.cdb
cards.cdb
+0
-0
gframe/image_manager.cpp
gframe/image_manager.cpp
+8
-14
ocgcore
ocgcore
+1
-1
premake5.lua
premake5.lua
+2
-1
script
script
+1
-1
strings.conf
strings.conf
+2
-0
No files found.
cards.cdb
View file @
dec6e34b
No preview for this file type
gframe/image_manager.cpp
View file @
dec6e34b
...
...
@@ -13,8 +13,14 @@ bool ImageManager::Initial() {
tCover
[
0
]
=
NULL
;
tCover
[
1
]
=
NULL
;
tCover
[
2
]
=
NULL
;
tCover
[
3
]
=
NULL
;
tCover
[
2
]
=
GetRandomImage
(
TEXTURE_COVER_S
,
CARD_IMG_WIDTH
,
CARD_IMG_HEIGHT
);
if
(
!
tCover
[
2
])
tCover
[
2
]
=
GetTextureFromFile
(
"textures/cover.jpg"
,
CARD_IMG_WIDTH
,
CARD_IMG_HEIGHT
);
tCover
[
3
]
=
GetRandomImage
(
TEXTURE_COVER_O
,
CARD_IMG_WIDTH
,
CARD_IMG_HEIGHT
);
if
(
!
tCover
[
3
])
tCover
[
3
]
=
GetTextureFromFile
(
"textures/cover2.jpg"
,
CARD_IMG_WIDTH
,
CARD_IMG_HEIGHT
);
if
(
!
tCover
[
3
])
tCover
[
3
]
=
tCover
[
2
];
//tUnknown = NULL;
tUnknown
[
0
]
=
NULL
;
tUnknown
[
1
]
=
NULL
;
...
...
@@ -196,18 +202,6 @@ void ImageManager::ResizeTexture() {
tCover
[
1
]
=
GetRandomImage
(
TEXTURE_COVER_S
,
imgWidth
,
imgHeight
);
if
(
!
tCover
[
1
])
tCover
[
1
]
=
tCover
[
0
];
if
(
!
tCover
[
2
])
tCover
[
2
]
=
GetRandomImage
(
TEXTURE_COVER_S
,
CARD_IMG_WIDTH
,
CARD_IMG_HEIGHT
);
if
(
!
tCover
[
2
])
tCover
[
2
]
=
GetTextureFromFile
(
"textures/cover.jpg"
,
CARD_IMG_WIDTH
,
CARD_IMG_HEIGHT
);
if
(
!
tCover
[
2
])
tCover
[
2
]
=
tCover
[
0
];
if
(
!
tCover
[
3
])
tCover
[
3
]
=
GetRandomImage
(
TEXTURE_COVER_O
,
CARD_IMG_WIDTH
,
CARD_IMG_HEIGHT
);
if
(
!
tCover
[
3
])
tCover
[
3
]
=
GetTextureFromFile
(
"textures/cover2.jpg"
,
CARD_IMG_WIDTH
,
CARD_IMG_HEIGHT
);
if
(
!
tCover
[
3
])
tCover
[
3
]
=
tCover
[
2
];
//driver->removeTexture(tUnknown);
//tUnknown = GetTextureFromFile("textures/unknown.jpg", imgWidth, imgHeight);
driver
->
removeTexture
(
tBackGround
);
...
...
ocgcore
@
e40ffb2f
Subproject commit
f3074d049afe25f0f60feb9288f68d11942579fb
Subproject commit
e40ffb2fc6433d12e384858c755265014077fcec
premake5.lua
View file @
dec6e34b
...
...
@@ -24,7 +24,7 @@ solution "ygo"
libdirs
{
"/usr/local/lib"
}
configuration
"macosx"
defines
{
"LUA_USE_MACOSX"
}
defines
{
"LUA_USE_MACOSX"
,
"DBL_MAX_10_EXP=+308"
,
"DBL_MANT_DIG=53"
}
includedirs
{
"/usr/local/include"
,
"/usr/local/include/*"
}
libdirs
{
"/usr/local/lib"
,
"/usr/X11/lib"
}
buildoptions
{
"-stdlib=libc++"
}
...
...
@@ -32,6 +32,7 @@ solution "ygo"
configuration
"linux"
defines
{
"LUA_USE_LINUX"
}
buildoptions
{
"-U_FORTIFY_SOURCE"
}
configuration
"Release"
optimize
"Speed"
...
...
script
@
320fe4ad
Subproject commit
a93a95d288897020f051f57de3555e9d7458f6c3
Subproject commit
320fe4ad30e23958d244bbbd088b07bfed535832
strings.conf
View file @
dec6e34b
...
...
@@ -559,6 +559,8 @@
!
counter
0
x48
指示物(连接死亡炮塔)
!
counter
0
x1049
警逻指示物
!
counter
0
x4a
运动员指示物
!
counter
0
x4b
枪管指示物
!
counter
0
x4c
召唤指示物
#setnames, using tab for comment
!
setname
0
x1
正义盟军
A
・
O
・
J
!
setname
0
x2
次世代 ジェネクス
...
...
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