|
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 2307 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 3558 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 2933 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 3901 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 3788 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 1649 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 1749 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 1836 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 1878 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 1971 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 4138 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 3300 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 3581 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 3655 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 4526 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 4755 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 4059 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 4209 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 2849 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 2765 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 3447 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 3706 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 2571 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 2711 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 2423 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 3980 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 2347 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 2508 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 3604 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 2391 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 3420 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 1342 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 1440 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 1551 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 1609 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 2456 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 3180 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 3533 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 2482 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 1521 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 1252 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 3746 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 2961 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 3075 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 4310 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 3477 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 2144 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 2104 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 2200 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 2053 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 2013 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 3505 of file reqtext.c.
Referenced by req_text_insert().