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
2304847f
Commit
2304847f
authored
May 07, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c8cc0f34
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
128 additions
and
59 deletions
+128
-59
gframe/duelclient.cpp
gframe/duelclient.cpp
+1
-1
gframe/tag_duel.cpp
gframe/tag_duel.cpp
+124
-56
gframe/tag_duel.h
gframe/tag_duel.h
+1
-0
script/c89882100.lua
script/c89882100.lua
+1
-1
system.conf
system.conf
+1
-1
No files found.
gframe/duelclient.cpp
View file @
2304847f
...
...
@@ -2122,7 +2122,7 @@ int DuelClient::ClientAnalyze(char* msg, unsigned int len) {
case
MSG_LPUPDATE
:
{
int
player
=
mainGame
->
LocalPlayer
(
BufferIO
::
ReadInt8
(
pbuf
));
int
val
=
BufferIO
::
ReadInt32
(
pbuf
);
mainGame
->
lpd
=
(
val
-
mainGame
->
dInfo
.
lp
[
player
]
)
/
10
;
mainGame
->
lpd
=
(
mainGame
->
dInfo
.
lp
[
player
]
-
val
)
/
10
;
mainGame
->
lpplayer
=
player
;
mainGame
->
lpframe
=
10
;
mainGame
->
WaitFrameSignal
(
11
);
...
...
gframe/tag_duel.cpp
View file @
2304847f
This diff is collapsed.
Click to expand it.
gframe/tag_duel.h
View file @
2304847f
...
...
@@ -44,6 +44,7 @@ public:
protected:
DuelPlayer
*
players
[
4
];
DuelPlayer
*
pplayer
[
4
];
DuelPlayer
*
cur_player
[
2
];
std
::
set
<
DuelPlayer
*>
observers
;
bool
ready
[
4
];
Deck
pdeck
[
4
];
...
...
script/c89882100.lua
View file @
2304847f
...
...
@@ -23,7 +23,7 @@ function c89882100.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c89882100
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
Is
Facedown
()
and
tc
:
Is
RelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
...
...
system.conf
View file @
2304847f
...
...
@@ -5,7 +5,7 @@ antialias = 2
errorlog
=
1
nickname
=
Player
gamename
=
Game
lastdeck
=
sample
lastdeck
=
T1
textfont
=
c
:/
windows
/
fonts
/
simsun
.
ttc
14
numfont
=
c
:/
windows
/
fonts
/
arialbd
.
ttf
serverport
=
7911
...
...
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