mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 18:49:28 +00:00
added the new hardcoded terrains for the new border transitions
This commit is contained in:
parent
f8776259cc
commit
960667de7a
@ -127,7 +127,17 @@ namespace t_translation {
|
|||||||
static std::map<t_letter, t_letter> lookup_table_131;
|
static std::map<t_letter, t_letter> lookup_table_131;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const t_letter OFF_MAP = string_to_number_("_off");
|
const t_letter OFF_MAP = string_to_number_("_off^_off");
|
||||||
|
const t_letter OFF_MAP_USER = string_to_number_("_off^_usr");
|
||||||
|
const t_letter OFF_MAP_BORDER_LEFT = string_to_number_("_off^bl");
|
||||||
|
const t_letter OFF_MAP_BORDER_RIGHT = string_to_number_("_off^br");
|
||||||
|
const t_letter OFF_MAP_BORDER_TOP = string_to_number_("_off^bt");
|
||||||
|
const t_letter OFF_MAP_BORDER_TOP_LEFT = string_to_number_("_off^btl");
|
||||||
|
const t_letter OFF_MAP_BORDER_TOP_RIGHT = string_to_number_("_off^btr");
|
||||||
|
const t_letter OFF_MAP_BORDER_BOTTOM = string_to_number_("_off^bb");
|
||||||
|
const t_letter OFF_MAP_BORDER_BOTTOM_LEFT = string_to_number_("_off^bbl");
|
||||||
|
const t_letter OFF_MAP_BORDER_BOTTOM_RIGHT = string_to_number_("_off^bbr");
|
||||||
|
|
||||||
const t_letter VOID_TERRAIN = string_to_number_("_s");
|
const t_letter VOID_TERRAIN = string_to_number_("_s");
|
||||||
const t_letter FOGGED = string_to_number_("_f");
|
const t_letter FOGGED = string_to_number_("_f");
|
||||||
|
|
||||||
|
@ -105,6 +105,24 @@ namespace t_translation {
|
|||||||
extern const t_letter VOID_TERRAIN;
|
extern const t_letter VOID_TERRAIN;
|
||||||
extern const t_letter FOGGED;
|
extern const t_letter FOGGED;
|
||||||
|
|
||||||
|
// these terrains are defined but not used yet.
|
||||||
|
// Needed for the new border transitions
|
||||||
|
|
||||||
|
// off the map and outside the border
|
||||||
|
extern const t_letter OFF_MAP;
|
||||||
|
// on the map the user can use this type to make odd shaped maps good
|
||||||
|
extern const t_letter OFF_MAP_USER;
|
||||||
|
// border tiles differnt type to make it easier for WML to detect the
|
||||||
|
// position on the border
|
||||||
|
extern const t_letter OFF_MAP_BORDER_LEFT;
|
||||||
|
extern const t_letter OFF_MAP_BORDER_RIGHT;
|
||||||
|
extern const t_letter OFF_MAP_BORDER_TOP;
|
||||||
|
extern const t_letter OFF_MAP_BORDER_TOP_LEFT;
|
||||||
|
extern const t_letter OFF_MAP_BORDER_TOP_RIGHT;
|
||||||
|
extern const t_letter OFF_MAP_BORDER_BOTTOM;
|
||||||
|
extern const t_letter OFF_MAP_BORDER_BOTTOM_LEFT;
|
||||||
|
extern const t_letter OFF_MAP_BORDER_BOTTOM_RIGHT;
|
||||||
|
|
||||||
extern const t_letter HUMAN_CASTLE;
|
extern const t_letter HUMAN_CASTLE;
|
||||||
extern const t_letter HUMAN_KEEP;
|
extern const t_letter HUMAN_KEEP;
|
||||||
extern const t_letter SHALLOW_WATER;
|
extern const t_letter SHALLOW_WATER;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user