mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 20:49:11 +00:00
(svn r26370) -Doc: Desync debugging and command replaying.
This commit is contained in:
@@ -12,6 +12,12 @@
|
||||
#ifndef NETWORK_FUNC_H
|
||||
#define NETWORK_FUNC_H
|
||||
|
||||
/**
|
||||
* Uncomment the following define to enable command replaying.
|
||||
* See docs/desync.txt for details.
|
||||
*/
|
||||
// #define DEBUG_DUMP_COMMANDS
|
||||
|
||||
#include "core/address.h"
|
||||
#include "network_type.h"
|
||||
#include "../console_type.h"
|
||||
|
@@ -43,10 +43,7 @@
|
||||
* Used to load the desync debug logs, i.e. for reproducing a desync.
|
||||
* There's basically no need to ever enable this, unless you really know what
|
||||
* you are doing, i.e. debugging a desync.
|
||||
*
|
||||
* NOTE: Define DEBUG_DUMP_COMMANDS in network_func.h or globally, else it does not
|
||||
* have enough effects. For example CmdCompanyCtrl needs it to be able
|
||||
* to create companies when there are not clients on this server.
|
||||
* See docs/desync.txt for details.
|
||||
*/
|
||||
#ifdef DEBUG_DUMP_COMMANDS
|
||||
extern bool _ddc_fastforward;
|
||||
|
Reference in New Issue
Block a user