Freeciv-3.2
|
#include <math.h>
#include "cvercmp.h"
#include "deprecations.h"
#include "log.h"
#include "rand.h"
#include "map.h"
#include "version.h"
#include "luascript.h"
#include "api_common_utilities.h"
Go to the source code of this file.
Comparable freeciv version
Definition at line 79 of file api_common_utilities.c.
Referenced by tolua_common_a_comparable_version00().
void api_utilities_deprecation_warning | ( | lua_State * | L, |
char * | method, | ||
char * | replacement, | ||
char * | deprecated_since | ||
) |
Lua script wants to warn about use of deprecated construct.
Definition at line 231 of file api_common_utilities.c.
Referenced by tolua_common_a_log_deprecation_warning00().
Definition at line 156 of file api_common_utilities.c.
Referenced by tolua_game_Direction_properties_name00().
Previous (counter-clockwise) valid direction
Definition at line 178 of file api_common_utilities.c.
Referenced by tolua_game_direction_next_ccw00().
Next (clockwise) valid direction
Definition at line 194 of file api_common_utilities.c.
Referenced by tolua_game_direction_next_cw00().
Definition at line 146 of file api_common_utilities.c.
Referenced by tolua_game_Direction_properties_id00().
Is a direction cardinal one?
Definition at line 221 of file api_common_utilities.c.
Referenced by tolua_game_Direction_properties_cardinal00().
Name and version of freeciv. Deprecated because of the confusing function name.
Definition at line 55 of file api_common_utilities.c.
Referenced by tolua_common_a_fc_version00().
One log message. This module is used by script_game and script_auth.
Definition at line 129 of file api_common_utilities.c.
Referenced by tolua_common_a_log_base00().
Return the name and version of freeciv
Definition at line 69 of file api_common_utilities.c.
Referenced by tolua_common_a_name_version00().
Opposite direction - validity not checked, but it's valid iff original direction is.
Definition at line 211 of file api_common_utilities.c.
Referenced by tolua_game_direction_opposite00().
Generate random number.
Definition at line 40 of file api_common_utilities.c.
Referenced by tolua_common_a_random00().
Convert text describing direction into direction
Definition at line 167 of file api_common_utilities.c.
Referenced by tolua_game_direction_str2dir00(), and tolua_game_find_direction00().
Version string with no name
Definition at line 89 of file api_common_utilities.c.
Referenced by tolua_common_a_version_string00().
Compare two version strings. Return which one is bigger, or zero if they are equal.
Definition at line 100 of file api_common_utilities.c.
Referenced by tolua_common_a_versions_compare00().