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
f09c20f7
Commit
f09c20f7
authored
Mar 29, 2016
by
Frozen Water
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1706 from sidschingis/patch-2
Increase amount of characters available for the effect description
parents
b9447645
c5438158
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
gframe/data_manager.cpp
gframe/data_manager.cpp
+1
-1
gframe/data_manager.h
gframe/data_manager.h
+1
-1
gframe/game.cpp
gframe/game.cpp
+1
-1
No files found.
gframe/data_manager.cpp
View file @
f09c20f7
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
namespace
ygo
{
namespace
ygo
{
const
wchar_t
*
DataManager
::
unknown_string
=
L"???"
;
const
wchar_t
*
DataManager
::
unknown_string
=
L"???"
;
wchar_t
DataManager
::
strBuffer
[
2048
];
wchar_t
DataManager
::
strBuffer
[
4096
];
DataManager
dataManager
;
DataManager
dataManager
;
bool
DataManager
::
LoadDB
(
const
char
*
file
)
{
bool
DataManager
::
LoadDB
(
const
char
*
file
)
{
...
...
gframe/data_manager.h
View file @
f09c20f7
...
@@ -46,7 +46,7 @@ public:
...
@@ -46,7 +46,7 @@ public:
wchar_t
tpBuffer
[
128
];
wchar_t
tpBuffer
[
128
];
wchar_t
scBuffer
[
128
];
wchar_t
scBuffer
[
128
];
static
wchar_t
strBuffer
[
2048
];
static
wchar_t
strBuffer
[
4096
];
static
const
wchar_t
*
unknown_string
;
static
const
wchar_t
*
unknown_string
;
static
int
CardReader
(
int
,
void
*
);
static
int
CardReader
(
int
,
void
*
);
...
...
gframe/game.cpp
View file @
f09c20f7
...
@@ -638,7 +638,7 @@ void Game::InitStaticText(irr::gui::IGUIStaticText* pControl, u32 cWidth, u32 cH
...
@@ -638,7 +638,7 @@ void Game::InitStaticText(irr::gui::IGUIStaticText* pControl, u32 cWidth, u32 cH
void
Game
::
SetStaticText
(
irr
::
gui
::
IGUIStaticText
*
pControl
,
u32
cWidth
,
irr
::
gui
::
CGUITTFont
*
font
,
const
wchar_t
*
text
,
u32
pos
)
{
void
Game
::
SetStaticText
(
irr
::
gui
::
IGUIStaticText
*
pControl
,
u32
cWidth
,
irr
::
gui
::
CGUITTFont
*
font
,
const
wchar_t
*
text
,
u32
pos
)
{
int
pbuffer
=
0
;
int
pbuffer
=
0
;
u32
_width
=
0
,
_height
=
0
;
u32
_width
=
0
,
_height
=
0
;
for
(
int
i
=
0
;
text
[
i
]
!=
0
&&
i
<
1023
;
++
i
)
{
for
(
int
i
=
0
;
text
[
i
]
!=
0
&&
i
<
wcslen
(
text
)
;
++
i
)
{
u32
w
=
font
->
getCharDimension
(
text
[
i
]).
Width
;
u32
w
=
font
->
getCharDimension
(
text
[
i
]).
Width
;
if
(
text
[
i
]
==
L'\n'
)
{
if
(
text
[
i
]
==
L'\n'
)
{
dataManager
.
strBuffer
[
pbuffer
++
]
=
L'\n'
;
dataManager
.
strBuffer
[
pbuffer
++
]
=
L'\n'
;
...
...
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