|
Freeciv-3.4
|
#include "astring.h"#include "fcintl.h"#include "achievements.h"#include "actions.h"#include "calendar.h"#include "counters.h"#include "extras.h"#include "government.h"#include "map.h"#include "movement.h"#include "nation.h"#include "player.h"#include "requirements.h"#include "server_settings.h"#include "specialist.h"#include "terrain.h"#include "tiledef.h"#include "reqtext.h"Go to the source code of this file.
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 303 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 376 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2336 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 73 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3587 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2962 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3930 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3817 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 47 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 1678 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 1778 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 1865 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 1907 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2000 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 4167 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 1008 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3329 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3610 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3684 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 1111 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 255 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 279 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 435 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 405 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 523 of file reqtext.c.
Referenced by req_text_insert().
| bool req_text_insert | ( | char * | buf, |
| size_t | bufsz, | ||
| struct player * | pplayer, | ||
| const struct requirement * | preq, | ||
| enum rt_verbosity | verb, | ||
| const char * | prefix | ||
| ) |
Append text for the requirement. Something like
"Requires knowledge of the technology Communism."
pplayer may be nullptr. Note - this file must be updated every time a new requirement type or range is defined.
returns TRUE if success, FALSE if any problem or "Not supported". Loading the ruleset should already have filtered out the "Not supported".
Definition at line 4555 of file reqtext.c.
Referenced by req_edit::refresh_item(), and req_text_insert_nl().
| bool req_text_insert_nl | ( | char * | buf, |
| size_t | bufsz, | ||
| struct player * | pplayer, | ||
| const struct requirement * | preq, | ||
| enum rt_verbosity | verb, | ||
| const char * | prefix | ||
| ) |
Append text for the requirement. Added line ends to a newline.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 4787 of file reqtext.c.
Referenced by helptext_advance(), helptext_building(), helptext_extra(), helptext_goods(), helptext_government(), helptext_specialist(), and helptext_unit().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 4088 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 4238 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2878 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2794 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3476 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3735 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2600 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2740 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2452 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 4009 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2376 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2537 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3633 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2420 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3449 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 1371 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 1469 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 1580 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 1638 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2485 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 465 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 495 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3209 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3562 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2511 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 1550 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 166 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 1281 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3775 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2990 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3104 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 4339 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
Returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 1149 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
Returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 1253 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3506 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2173 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2133 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2229 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2082 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 2042 of file reqtext.c.
Referenced by req_text_insert().
|
static |
Append text for a requirement type.
returns TRUE if success, FALSE if any problem or "Not supported".
Definition at line 3534 of file reqtext.c.
Referenced by req_text_insert().