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
nanahira
ygopro
Commits
fe17ad7a
Commit
fe17ad7a
authored
Nov 25, 2024
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into server-develop
parents
d1014429
98562f65
Pipeline
#31373
failed with stages
in 3 minutes and 47 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
8 deletions
+5
-8
gframe/game.cpp
gframe/game.cpp
+1
-6
gframe/menu_handler.cpp
gframe/menu_handler.cpp
+1
-0
ocgcore
ocgcore
+1
-1
script
script
+1
-1
system.conf
system.conf
+1
-0
No files found.
gframe/game.cpp
View file @
fe17ad7a
...
...
@@ -311,13 +311,8 @@ bool Game::Initialize() {
env
->
addStaticText
(
dataManager
.
GetSysString
(
1221
),
rect
<
s32
>
(
10
,
360
,
220
,
380
),
false
,
false
,
wLanWindow
);
ebJoinHost
=
env
->
addEditBox
(
gameConf
.
lasthost
,
rect
<
s32
>
(
110
,
355
,
350
,
380
),
true
,
wLanWindow
);
ebJoinHost
->
setTextAlignment
(
irr
::
gui
::
EGUIA_CENTER
,
irr
::
gui
::
EGUIA_CENTER
);
wchar_t
lastPortText
[
6
];
if
(
gameConf
.
lastport
)
myswprintf
(
lastPortText
,
L"%d"
,
gameConf
.
lastport
);
else
myswprintf
(
lastPortText
,
L""
);
editbox_list
.
push_back
(
ebJoinHost
);
ebJoinPort
=
env
->
addEditBox
(
lastPortTex
t
,
rect
<
s32
>
(
360
,
355
,
420
,
380
),
true
,
wLanWindow
);
ebJoinPort
=
env
->
addEditBox
(
gameConf
.
lastpor
t
,
rect
<
s32
>
(
360
,
355
,
420
,
380
),
true
,
wLanWindow
);
ebJoinPort
->
setTextAlignment
(
irr
::
gui
::
EGUIA_CENTER
,
irr
::
gui
::
EGUIA_CENTER
);
editbox_list
.
push_back
(
ebJoinPort
);
env
->
addStaticText
(
dataManager
.
GetSysString
(
1222
),
rect
<
s32
>
(
10
,
390
,
220
,
410
),
false
,
false
,
wLanWindow
);
...
...
gframe/menu_handler.cpp
View file @
fe17ad7a
...
...
@@ -86,6 +86,7 @@ bool MenuHandler::OnEvent(const irr::SEvent& event) {
}
BufferIO
::
CopyWideString
(
pstr
,
mainGame
->
gameConf
.
lasthost
);
BufferIO
::
CopyWideString
(
portstr
,
mainGame
->
gameConf
.
lastport
);
BufferIO
::
CopyWideString
(
mainGame
->
ebJoinPass
->
getText
(),
mainGame
->
gameConf
.
roompass
);
if
(
DuelClient
::
StartClient
(
remote
.
host
,
remote
.
port
,
false
))
{
mainGame
->
btnCreateHost
->
setEnabled
(
false
);
mainGame
->
btnJoinHost
->
setEnabled
(
false
);
...
...
ocgcore
@
1df6818e
Subproject commit
768b0323c5d01782c8922f4301df2c86d0b0a7fb
Subproject commit
1df6818ead44e0d01765c60a1ff93fbb10ad9037
script
@
8af8a510
Subproject commit
0e970000f2b3198d8d11735ee50f74d57fa603a0
Subproject commit
8af8a510cc48c17c1e147451caa5ba76f750c784
system.conf
View file @
fe17ad7a
...
...
@@ -14,6 +14,7 @@ numfont = ./fonts/arial.ttf
serverport
=
7911
lasthost
=
127
.
0
.
0
.
1
lastport
=
0
roompass
=
automonsterpos
=
0
autospellpos
=
0
randompos
=
0
...
...
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