This checkup always compares the results in from different clients in a mp game but it also causes more network overhead. More...
#include <synced_checkup.hpp>
Public Member Functions | |
mp_debug_checkup () | |
virtual | ~mp_debug_checkup () |
virtual bool | local_checkup (const config &expected_data, config &real_data) |
Compares data to the results calculated during the original game. More... | |
Public Member Functions inherited from checkup | |
checkup () | |
virtual | ~checkup () |
This checkup always compares the results in from different clients in a mp game but it also causes more network overhead.
Definition at line 67 of file synced_checkup.hpp.
mp_debug_checkup::mp_debug_checkup | ( | ) |
Definition at line 109 of file synced_checkup.cpp.
|
virtual |
Definition at line 113 of file synced_checkup.cpp.
Compares data to the results calculated during the original game.
It's undefined whether this function also compares calculated results from different clients in a mp game. returns whether the two config objects are equal.
Implements checkup.
Definition at line 117 of file synced_checkup.cpp.
References config::empty(), and mp_sync::get_user_choice().