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
b21854b4
Commit
b21854b4
authored
Nov 21, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
f5600dc0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
gframe/game.cpp
gframe/game.cpp
+3
-3
gframe/game.h
gframe/game.h
+2
-2
gframe/menu_handler.cpp
gframe/menu_handler.cpp
+1
-1
strings.conf
strings.conf
+1
-1
No files found.
gframe/game.cpp
View file @
b21854b4
...
...
@@ -924,13 +924,13 @@ void Game::RefreshBot() {
continue
;
if
(
linebuf
[
0
]
==
'!'
)
{
BotInfo
newinfo
;
sscanf
(
linebuf
,
"!%
s
[^
\n
]"
,
strbuf
);
sscanf
(
linebuf
,
"!%
240
[^
\n
]"
,
strbuf
);
BufferIO
::
DecodeUTF8
(
strbuf
,
newinfo
.
internalname
);
fgets
(
linebuf
,
256
,
fp
);
sscanf
(
linebuf
,
"%
s
[^
\n
]"
,
strbuf
);
sscanf
(
linebuf
,
"%
240
[^
\n
]"
,
strbuf
);
BufferIO
::
DecodeUTF8
(
strbuf
,
newinfo
.
name
);
fgets
(
linebuf
,
256
,
fp
);
sscanf
(
linebuf
,
"%
s
[^
\n
]"
,
strbuf
);
sscanf
(
linebuf
,
"%
240
[^
\n
]"
,
strbuf
);
BufferIO
::
DecodeUTF8
(
strbuf
,
newinfo
.
desc
);
fgets
(
linebuf
,
256
,
fp
);
sscanf
(
linebuf
,
"%d"
,
&
newinfo
.
flag
);
...
...
gframe/game.h
View file @
b21854b4
...
...
@@ -69,9 +69,9 @@ struct DuelInfo {
};
struct
BotInfo
{
wchar_t
internalname
[
32
];
wchar_t
internalname
[
256
];
wchar_t
name
[
32
];
wchar_t
desc
[
32
];
wchar_t
desc
[
256
];
int
flag
;
};
...
...
gframe/menu_handler.cpp
View file @
b21854b4
...
...
@@ -253,7 +253,7 @@ bool MenuHandler::OnEvent(const irr::SEvent& event) {
si
.
cb
=
sizeof
(
si
);
ZeroMemory
(
&
pi
,
sizeof
(
pi
));
LPTSTR
cmd
=
new
TCHAR
[
MAX_PATH
];
myswprintf
(
cmd
,
L"Bot.exe
%d
\"
%s
\"
"
,
(
mainGame
->
chkBotHand
->
isChecked
()
?
1
:
0
),
mainGame
->
botInfo
[
sel
].
internalname
);
myswprintf
(
cmd
,
L"Bot.exe
\"
%s
\"
%d %d"
,
mainGame
->
botInfo
[
sel
].
internalname
,
(
mainGame
->
chkBotHand
->
isChecked
()
?
1
:
0
),
mainGame
->
gameConf
.
serverport
);
if
(
!
CreateProcess
(
NULL
,
cmd
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
))
{
NetServer
::
StopServer
();
...
...
strings.conf
View file @
b21854b4
...
...
@@ -378,7 +378,7 @@
!
system
1382
人机信息:
!
system
1383
使用旧规则(大师规则3)
!
system
1384
电脑锁定出剪刀
!
system
1385
列表为空,可能未安装人机
!
system
1385
列表为空,可能未安装
合适的
人机
!
system
1390
等待行动中...
!
system
1391
等待行动中....
!
system
1392
等待行动中.....
...
...
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