mirror of
https://github.com/SWG-Source/src.git
synced 2026-08-05 05:17:46 -04:00
basically the same as last time but i hope it works now...
This commit is contained in:
@@ -1554,7 +1554,7 @@ SessionApiClient* ConnectionServer::getSessionApiClient()
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
void ConnectionServer::setDone(char const reasonfmt, ...)
|
||||
void ConnectionServer::setDone(char const *reasonfmt, ...)
|
||||
{
|
||||
if (!done)
|
||||
{
|
||||
|
||||
@@ -36,7 +36,7 @@ class ConnectionServer : public MessageDispatch::Receiver
|
||||
public:
|
||||
static void install();
|
||||
static void remove();
|
||||
void setDone(char const reasonfmt, ...);
|
||||
void setDone(char const *reasonfmt, ...);
|
||||
|
||||
~ConnectionServer ();
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ void LogServer::receiveMessage(MessageDispatch::Emitter const &source, MessageDi
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
void LogServer::setDone(char const reasonfmt, ...)
|
||||
void LogServer::setDone(char const *reasonfmt, ...)
|
||||
{
|
||||
if (!m_done)
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@ public:
|
||||
static void remove();
|
||||
static void run();
|
||||
void mainLoop();
|
||||
void setDone(char const reason, ...);
|
||||
void setDone(char const *reasonfmt, ...);
|
||||
|
||||
virtual void receiveMessage(MessageDispatch::Emitter const &source, MessageDispatch::MessageBase const &message);
|
||||
|
||||
|
||||
@@ -1449,7 +1449,7 @@ void PlanetServer::sendQueuedMessagesForObject(const PlanetProxyObject &theObjec
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
void PlanetServer::setDone(char const reasonfmt, ...)
|
||||
void PlanetServer::setDone(char const *reasonfmt, ...)
|
||||
{
|
||||
if (!m_done)
|
||||
{
|
||||
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
|
||||
static void run(void);
|
||||
void mainLoop(void);
|
||||
void setDone(char const reasonfmt, ...);
|
||||
void setDone(char const *reasonfmt, ...);
|
||||
|
||||
const unsigned short getGameServicePort() const;
|
||||
const Service * getGameService() const;
|
||||
|
||||
@@ -311,7 +311,7 @@ void DatabaseProcess::run(void)
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
void DatabaseProcess::setDone(char const reasonfmt, ...)
|
||||
void DatabaseProcess::setDone(char const *reasonfmt, ...)
|
||||
{
|
||||
if (!done)
|
||||
{
|
||||
|
||||
@@ -40,7 +40,7 @@ class DatabaseProcess : public MessageDispatch::Receiver
|
||||
|
||||
// running:
|
||||
virtual void run (void) = 0;
|
||||
void setDone(char const reasonfmt, ...);
|
||||
void setDone(char const *reasonfmt, ...);
|
||||
|
||||
virtual void frameTick(void) {}
|
||||
|
||||
|
||||
@@ -535,7 +535,7 @@ uint32 PlayerShipController::getCurSyncStamp() const
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
void PlayerShipController::logMoveFail(char const reasonFmt, ...) const
|
||||
void PlayerShipController::logMoveFail(char const *reasonFmt, ...) const
|
||||
{
|
||||
ShipObject const * const ship = NON_NULL(getShipOwner());
|
||||
Client const * const client = NON_NULL(ship->getClient());
|
||||
|
||||
@@ -76,7 +76,7 @@ private:
|
||||
|
||||
uint32 getCurSyncStamp() const;
|
||||
bool checkValidMove(Transform const &transform, Vector const &velocity, float speed, uint32 syncStamp);
|
||||
void logMoveFail(char const reasonFmt, ...) const;
|
||||
void logMoveFail(char const *reasonFmt, ...) const;
|
||||
|
||||
private:
|
||||
|
||||
|
||||
@@ -4864,7 +4864,7 @@ void GameServer::getObjectsWithClients(std::vector<ServerObject *> &objects) con
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
void GameServer::setDone(char const reasonfmt, ...)
|
||||
void GameServer::setDone(char const *reasonfmt, ...)
|
||||
{
|
||||
if (!m_done)
|
||||
{
|
||||
|
||||
@@ -106,7 +106,7 @@ public:
|
||||
void clearCustomerServiceServerConnection();
|
||||
void setCentralServerConnection (CentralServerConnection *newCentralServerConnection);
|
||||
void setDatabaseProcessConnection (DatabaseProcessConnection *newDatabaseProcessConnection);
|
||||
void setDone (char const reasonfmt, ...);
|
||||
void setDone (char const *reasonfmt, ...);
|
||||
void setProcessId (uint32 newProcessId);
|
||||
void onDatabaseProcessConnectionEstablished();
|
||||
void onPlanetServerConnectionEstablished ();
|
||||
|
||||
@@ -177,7 +177,7 @@ int File::readLine(char *buffer, int bufferSize)
|
||||
/**
|
||||
* fprintf functionality.
|
||||
*/
|
||||
int File::print(const char format, ...)
|
||||
int File::print(const char *format, ...)
|
||||
{
|
||||
NOT_NULL(m_fp);
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ public:
|
||||
int readLine(char *buffer, int bufferSize);
|
||||
|
||||
int puts(const char *string);
|
||||
int print(const char format, ...);
|
||||
int print(const char *format, ...);
|
||||
|
||||
void printWarning(const char *buffer) const;
|
||||
void printError(const char *buffer) const;
|
||||
|
||||
Reference in New Issue
Block a user