Freeciv-3.2
Loading...
Searching...
No Matches
Functions | Variables
tab_misc.cpp File Reference
#include <QCheckBox>
#include <QGridLayout>
#include <QHeaderView>
#include <QLineEdit>
#include <QMessageBox>
#include <QPushButton>
#include <QTableWidget>
#include "fcintl.h"
#include "log.h"
#include "registry.h"
#include "achievements.h"
#include "counters.h"
#include "game.h"
#include "government.h"
#include "specialist.h"
#include "rssanity.h"
#include "conversion_log.h"
#include "ruledit.h"
#include "ruledit_qt.h"
#include "rulesave.h"
#include "tab_misc.h"

Go to the source code of this file.

Functions

static bool effect_counter (struct effect *peff, void *data)
 
static void sanity_log_cb (const char *msg)
 

Variables

static conversion_logsanitylog
 

Function Documentation

◆ effect_counter()

static bool effect_counter ( struct effect peff,
void data 
)
static

Callback to count number of effects

Parameters
peffeffect to look at - ignored by this callback
datapointer to counter integer
Returns
that iteration should continue until all effects calculated

Definition at line 327 of file tab_misc.cpp.

Referenced by tab_misc::refresh_stats().

◆ sanity_log_cb()

static void sanity_log_cb ( const char msg)
static

Ruleset conversion log callback

Definition at line 477 of file tab_misc.cpp.

Referenced by tab_misc::sanity_check().

Variable Documentation

◆ sanitylog

conversion_log* sanitylog
static

Definition at line 472 of file tab_misc.cpp.

Referenced by tab_misc::sanity_check(), and sanity_log_cb().