Freeciv-3.1: /fast/freeciv/nightly/S3_1/tools/ruledit/tab_misc.cpp File Reference

Freeciv-3.1

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 "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_log * | sanitylog

## Function Documentation

## ◆ effect_counter()

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

static

Callback to count number of effects

Parameters

  peff | effect to look at - ignored by this callback
  data | pointer to counter integer

Returns
  that iteration should continue until all effects calculated

Definition at line 322 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 467 of file tab_misc.cpp.

Referenced by tab_misc::sanity_check().

## Variable Documentation

## ◆ sanitylog

conversion_log* sanitylog

static

Definition at line 462 of file tab_misc.cpp.

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