Skip to content

Commit

Permalink
バージョン16プロトコルへの対応
Browse files Browse the repository at this point in the history
	modified:   rcsc/coach/coach_agent.cpp
	modified:   rcsc/player/player_agent.cpp
	modified:   rcsc/trainer/trainer_agent.cpp
  • Loading branch information
hidehisaakiyama committed Apr 26, 2020
1 parent 2e4a57b commit f2e4a08
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
2020-04-26 Hidehisa Akiyama <[email protected]>

* rcsc/coach/coach_agent.cpp:
* rcsc/player/player_agent.cpp:
* rcsc/trainer/trainer_agent.cpp:
- バージョン16プロトコルへの対応

* rcsc/common/server_param.cpp:
* rcsc/common/server_param.h:
- illegal defense対応のパラメータとメソッドを追加
Expand Down
2 changes: 1 addition & 1 deletion rcsc/coach/coach_agent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ CoachAgent::initImpl( CmdLineParser & cmd_parser )
M_config.parse( cmd_parser );

if ( config().version() < 1.0
|| 16.0 <= config().version() )
|| 17.0 <= config().version() )
{
std::cerr << "Unsupported client version: " << config().version()
<< std::endl;
Expand Down
2 changes: 1 addition & 1 deletion rcsc/player/player_agent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ PlayerAgent::initImpl( CmdLineParser & cmd_parser )
M_config.parse( cmd_parser );

if ( config().version() < 8.0
|| 16.0 <= config().version() )
|| 17.0 <= config().version() )
{
std::cerr << "Unsupported client version: " << config().version()
<< std::endl;
Expand Down
2 changes: 1 addition & 1 deletion rcsc/trainer/trainer_agent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ TrainerAgent::initImpl( CmdLineParser & cmd_parser )
M_config.parse( cmd_parser );

if ( config().version() < 1.0
|| 16.0 <= config().version() )
|| 17.0 <= config().version() )
{
std::cerr << "Unsupported client version: " << config().version()
<< std::endl;
Expand Down

0 comments on commit f2e4a08

Please sign in to comment.