mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Split settings into seperate source and header files
This also cleans up settings a bit
This commit is contained in:
parent
2ae5d3f3ab
commit
6bc4cad0ed
27 changed files with 996 additions and 941 deletions
|
@ -19,6 +19,21 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
#include "socket.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <iostream>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
#include "util/string.h"
|
||||
#include "util/numeric.h"
|
||||
#include "constants.h"
|
||||
#include "debug.h"
|
||||
#include "settings.h"
|
||||
#include "log.h"
|
||||
#include "main.h" // for g_settings
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
|
@ -46,20 +61,6 @@ typedef int socklen_t;
|
|||
typedef int socket_t;
|
||||
#endif
|
||||
|
||||
#include "constants.h"
|
||||
#include "debug.h"
|
||||
#include "settings.h"
|
||||
#include "main.h" // for g_settings
|
||||
#include <stdio.h>
|
||||
#include <iostream>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
#include "util/string.h"
|
||||
#include "util/numeric.h"
|
||||
|
||||
// Set to true to enable verbose debug output
|
||||
bool socket_enable_debug_output = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue