| 1069 | } |
| 1070 | bool Set_score_server_ip = false; |
| 1071 | void ScoreAPIFrameInterval() { |
| 1072 | if (ScoreAPIShouldBail()) |
| 1073 | return; |
| 1074 | if (!Set_score_server_ip) { |
| 1075 | Set_score_server_ip = true; |
| 1076 | // Look for a score server on the command line.. |
| 1077 | int ss_arg = FindArg("-scoreserver"); |
| 1078 | if (ss_arg) { |
| 1079 | CallMultiScoreDLL(CDT_EVT_SET_SCORE_IP, GameArgs[ss_arg + 1]); |
| 1080 | } |
| 1081 | int gi_arg = FindArg("-gameid"); |
| 1082 | if (gi_arg) { |
| 1083 | CallMultiScoreDLL(CDT_EVT_SET_GAMEID, GameArgs[gi_arg + 1]); |
| 1084 | } |
| 1085 | } |
| 1086 | CallMultiScoreDLL(CDT_EVT_FRAME, NULL); |
| 1087 | } |
no test coverage detected