an object to leave the synced context during draw or unsynced wml items when we don’t know whether we are in a synced context or not. More...
#include <synced_context.hpp>
Public Member Functions | |
set_scontext_unsynced () | |
Private Attributes | |
boost::scoped_ptr < leave_synced_context > | leaver_ |
an object to leave the synced context during draw or unsynced wml items when we don’t know whether we are in a synced context or not.
if we are in a synced context we leave the synced context, otherwise it has no effect. we need this because we might call lua's wesnoth.theme_items during draw and we don’t want to have that an effect on the gamestate in this case.
Definition at line 238 of file synced_context.hpp.
set_scontext_unsynced::set_scontext_unsynced | ( | ) |
Definition at line 523 of file synced_context.cpp.
|
private |
Definition at line 243 of file synced_context.hpp.