mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 02:40:17 +02:00
Renamed Glest namespace to ZetaGlest
This commit is contained in:
@@ -1,10 +1,22 @@
|
||||
//This file is part of Glest Shared Library (www.glest.org)
|
||||
//Copyright (C) 2005 Matthias Braun <matze@braunis.de>
|
||||
// This file is part of ZetaGlest <https://github.com/ZetaGlest>
|
||||
//
|
||||
// Copyright (C) 2018 The ZetaGlest team
|
||||
//
|
||||
// ZetaGlest is a fork of MegaGlest <https://megaglest.org>
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>
|
||||
|
||||
//You can redistribute this code and/or modify it under
|
||||
//the terms of the GNU General Public License as published by the Free Software
|
||||
//Foundation; either version 2 of the License, or (at your option) any later
|
||||
//version.
|
||||
#ifndef _SHARED_SOUND_SOUNDPLAYEROPENAL_H_
|
||||
#define _SHARED_SOUND_SOUNDPLAYEROPENAL_H_
|
||||
|
||||
|
@@ -2529,15 +2529,15 @@ namespace Shared {
|
||||
//int ports[4] = { this->getExternalPort(), this->getBindPort(), this->getFTPServerPort(), this->getFTPServerPort() };
|
||||
std::vector<int> UPNPPortForwardList;
|
||||
|
||||
// Glest Game Server port
|
||||
// Game Server port
|
||||
UPNPPortForwardList.push_back(this->getExternalPort());
|
||||
UPNPPortForwardList.push_back(this->getBindPort());
|
||||
|
||||
// Glest mini FTP Server Listen Port
|
||||
// mini FTP Server Listen Port
|
||||
UPNPPortForwardList.push_back(this->getFTPServerPort());
|
||||
UPNPPortForwardList.push_back(this->getFTPServerPort());
|
||||
|
||||
// GLest mini FTP Server Passive file TRansfer ports (1 per game player)
|
||||
// mini FTP Server Passive file TRansfer ports (1 per game player)
|
||||
for (int clientIndex = 1; clientIndex <= ServerSocket::maxPlayerCount; ++clientIndex) {
|
||||
UPNPPortForwardList.push_back(this->getFTPServerPort() + clientIndex);
|
||||
UPNPPortForwardList.push_back(this->getFTPServerPort() + clientIndex);
|
||||
|
Reference in New Issue
Block a user