(svn r19593) -Codechange: improve loading/executing the desync logs

This commit is contained in:
rubidium
2010-04-09 17:08:44 +00:00
parent 12e75643af
commit 465e3be105
3 changed files with 62 additions and 12 deletions

View File

@@ -38,6 +38,18 @@
#define NETWORK_SEND_DOUBLE_SEED
#endif /* RANDOM_DEBUG */
/**
* Helper variable to make the dedicated server go fast until the (first) join.
* 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.
*/
#ifdef DEBUG_DUMP_COMMANDS
extern bool _ddc_fastforward;
#else
#define _ddc_fastforward (true)
#endif /* DEBUG_DUMP_COMMANDS */
enum MapPacket {
MAP_PACKET_START,
MAP_PACKET_NORMAL,