mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-08 00:15:28 +01:00
Convert spaces to tabs (#13506)
* Convert spaces to tabs * Desour reviews 1-3 fix * Desour fixes * Undo alignment changes
This commit is contained in:
@@ -33,9 +33,9 @@ enum ToClientConnectionState {
|
||||
|
||||
struct ToClientCommandHandler
|
||||
{
|
||||
const char* name;
|
||||
ToClientConnectionState state;
|
||||
void (Client::*handler)(NetworkPacket* pkt);
|
||||
const char* name;
|
||||
ToClientConnectionState state;
|
||||
void (Client::*handler)(NetworkPacket* pkt);
|
||||
};
|
||||
|
||||
struct ServerCommandFactory
|
||||
|
||||
@@ -233,8 +233,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
// Constant that differentiates the protocol from random data and other protocols
|
||||
#define PROTOCOL_ID 0x4f457403
|
||||
|
||||
#define PASSWORD_SIZE 28 // Maximum password length. Allows for
|
||||
// base64-encoded SHA-1 (27+\0).
|
||||
#define PASSWORD_SIZE 28 // Maximum password length. Allows for
|
||||
// base64-encoded SHA-1 (27+\0).
|
||||
|
||||
// See also formspec [Version History] in doc/lua_api.md
|
||||
#define FORMSPEC_API_VERSION 6
|
||||
|
||||
@@ -33,9 +33,9 @@ enum ToServerConnectionState {
|
||||
};
|
||||
struct ToServerCommandHandler
|
||||
{
|
||||
const std::string name;
|
||||
ToServerConnectionState state;
|
||||
void (Server::*handler)(NetworkPacket* pkt);
|
||||
const std::string name;
|
||||
ToServerConnectionState state;
|
||||
void (Server::*handler)(NetworkPacket* pkt);
|
||||
};
|
||||
|
||||
struct ClientCommandFactory
|
||||
|
||||
Reference in New Issue
Block a user