Freeciv-3.2: /fast/freeciv/nightly/S3_2/tools/ruleup.c File Reference

Freeciv-3.2

Loading...
Searching...
No Matches
Functions | Variables
ruleup.c File Reference
`#include <signal.h>`
`#include "fc_cmdline.h"`
`#include "fciconv.h"`
`#include "registry.h"`
`#include "string_vector.h"`
`#include "fc_cmdhelp.h"`
`#include "fc_interface.h"`
`#include "ruleset.h"`
`#include "sernet.h"`
`#include "settings.h"`
`#include "tools_fc_interface.h"`
`#include "comments.h"`
`#include "rulesave.h"`

Go to the source code of this file.

## Functions

static void | rup_parse_cmdline (int argc, char *argv[])
static void | conv_log (const char *msg)
int | main (int argc, char **argv)

## Variables

static char * | rs_selected = NULL
static char * | od_selected = NULL
static int | fatal_assertions = -1
static bool | dirty = TRUE

## Function Documentation

## ◆ conv_log()

static void conv_log | ( | const char * | msg | ) |

static

Conversion log callback

Definition at line 133 of file ruleup.c.

Referenced by main().

## ◆ main()

int main | ( | int | argc,
|  | char ** | argv
| ) |  |

Main entry point for freeciv-ruleup

Definition at line 141 of file ruleup.c.

## ◆ rup_parse_cmdline()

static void rup_parse_cmdline | ( | int | argc,
|  | char * | argv[]
| ) |  |

static

Parse freeciv-ruleup commandline parameters.

Definition at line 54 of file ruleup.c.

Referenced by main().

## Variable Documentation

## ◆ dirty

bool dirty = TRUE

static

Definition at line 49 of file ruleup.c.

Referenced by main(), and rup_parse_cmdline().

## ◆ fatal_assertions

int fatal_assertions = -1

static

Definition at line 48 of file ruleup.c.

Referenced by main(), and rup_parse_cmdline().

## ◆ od_selected

char* od_selected = NULL

static

Definition at line 47 of file ruleup.c.

Referenced by main(), and rup_parse_cmdline().

## ◆ rs_selected

char* rs_selected = NULL

static

Definition at line 46 of file ruleup.c.

Referenced by main(), and rup_parse_cmdline().