translation_unit
comment "/***********************************************************"...
comment "/* tile_set.cpp "...
comment "/***********************************************************"...
comment "/* This file is part of: "...
comment "/* GODOT ENGINE "...
comment "/* https://godotengine.org "...
comment "/***********************************************************"...
comment "/* Copyright (c) 2014-present Godot Engine contributors (see"...
comment "/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. "...
comment "/* "...
comment "/* Permission is hereby granted, free of charge, to any pers"...
comment "/* a copy of this software and associated documentation file"...
comment "/* \"Software\"), to deal in the Software without restriction,"...
comment "/* without limitation the rights to use, copy, modify, merge"...
comment "/* distribute, sublicense, and/or sell copies of the Softwar"...
comment "/* permit persons to whom the Software is furnished to do so"...
comment "/* the following conditions: "...
comment "/* "...
comment "/* The above copyright notice and this permission notice sha"...
comment "/* included in all copies or substantial portions of the Sof"...
comment "/* "...
comment "/* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY"...
comment "/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR"...
comment "/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON"...
comment "/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIA"...
comment "/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION O"...
comment "/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION "...
comment "/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "...
comment "/***********************************************************"...
preproc_include
#include "#include"
string_literal
" "\""
string_content "tile_set.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "tile_set.compat.inc"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "core/config/engine.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "core/io/marshalls.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "core/math/geometry_2d.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "core/object/callable_mp.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "core/object/class_db.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "core/templates/local_vector.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "core/templates/rb_set.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "scene/gui/control.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "scene/resources/image_texture.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "scene/resources/mesh.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "servers/rendering/rendering_server.h"
" "\""
comment "/////////////////////////////// TileMapPattern /////////////"...
function_definition (+466 nodes collapsed)
function_definition (+288 nodes collapsed)
function_definition (+120 nodes collapsed)
function_definition (+34 nodes collapsed)
function_definition (+130 nodes collapsed)
function_definition (+57 nodes collapsed)
function_definition (+61 nodes collapsed)
function_definition (+57 nodes collapsed)
function_definition (+121 nodes collapsed)
function_definition
type_identifier "Size2i"
function_declarator
qualified_identifier
namespace_identifier "TileMapPattern"
:: "::"
identifier "get_size"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "size"
; ";"
} "}"
function_definition (+119 nodes collapsed)
function_definition (+26 nodes collapsed)
function_definition (+40 nodes collapsed)
function_definition (+79 nodes collapsed)
function_definition (+61 nodes collapsed)
function_definition (+61 nodes collapsed)
function_definition (+358 nodes collapsed)
comment "/////////////////////////////// TileSet ////////////////////"...
function_definition (+22 nodes collapsed)
function_definition (+25 nodes collapsed)
function_definition (+204 nodes collapsed)
function_definition (+141 nodes collapsed)
function_definition (+36 nodes collapsed)
function_definition (+22 nodes collapsed)
function_definition (+136 nodes collapsed)
function_definition (+66 nodes collapsed)
function_definition (+123 nodes collapsed)
function_definition (+91 nodes collapsed)
function_definition (+111 nodes collapsed)
declaration
type_qualifier
const "const"
primitive_type "int"
init_declarator
qualified_identifier
namespace_identifier "TileSet"
:: "::"
identifier "INVALID_SOURCE"
= "="
number_literal "-1"
; ";"
declaration (+179 nodes collapsed)
comment "// -- Shape and layout --"
function_definition (+92 nodes collapsed)
function_definition (+22 nodes collapsed)
function_definition (+32 nodes collapsed)
function_definition (+22 nodes collapsed)
function_definition (+85 nodes collapsed)
function_definition (+22 nodes collapsed)
function_definition (+64 nodes collapsed)
function_definition
type_identifier "Size2i"
function_declarator
qualified_identifier
namespace_identifier "TileSet"
:: "::"
identifier "get_tile_size"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "tile_size"
; ";"
} "}"
function_definition
primitive_type "int"
function_declarator
qualified_identifier
namespace_identifier "TileSet"
:: "::"
identifier "get_next_source_id"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "next_source_id"
; ";"
} "}"
function_definition (+603 nodes collapsed)
function_definition (+48 nodes collapsed)
comment "// Sources management"
function_definition (+289 nodes collapsed)
function_definition (+136 nodes collapsed)
function_definition (+102 nodes collapsed)
function_definition (+183 nodes collapsed)
function_definition (+30 nodes collapsed)
function_definition (+66 nodes collapsed)
function_definition (+26 nodes collapsed)
function_definition (+49 nodes collapsed)
comment "// Rendering"
function_definition (+44 nodes collapsed)
function_definition
primitive_type "bool"
function_declarator
qualified_identifier
namespace_identifier "TileSet"
:: "::"
identifier "is_uv_clipping"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "uv_clipping"
; ";"
} "}"
function_definition (+26 nodes collapsed)
function_definition (+132 nodes collapsed)
function_definition (+153 nodes collapsed)
function_definition (+98 nodes collapsed)
function_definition (+61 nodes collapsed)
function_definition (+49 nodes collapsed)
function_definition (+61 nodes collapsed)
function_definition (+49 nodes collapsed)
preproc_ifdef (+868 nodes collapsed)
comment "// PHYSICS_2D_DISABLED"
comment "// Terrains"
function_definition (+26 nodes collapsed)
function_definition (+138 nodes collapsed)
function_definition (+159 nodes collapsed)
function_definition (+104 nodes collapsed)
function_definition (+115 nodes collapsed)
function_definition (+55 nodes collapsed)
function_definition (+56 nodes collapsed)
function_definition (+299 nodes collapsed)
function_definition (+208 nodes collapsed)
function_definition (+153 nodes collapsed)
function_definition (+101 nodes collapsed)
function_definition (+96 nodes collapsed)
function_definition (+136 nodes collapsed)
function_definition (+96 nodes collapsed)
function_definition (+725 nodes collapsed)
function_definition (+77 nodes collapsed)
preproc_ifdef (+733 nodes collapsed)
comment "// NAVIGATION_2D_DISABLED"
comment "// Custom data."
function_definition (+26 nodes collapsed)
function_definition (+132 nodes collapsed)
function_definition (+153 nodes collapsed)
function_definition (+184 nodes collapsed)
function_definition (+53 nodes collapsed)
function_definition (+201 nodes collapsed)
function_definition (+34 nodes collapsed)
function_definition (+51 nodes collapsed)
function_definition (+105 nodes collapsed)
function_definition (+55 nodes collapsed)
function_definition (+61 nodes collapsed)
function_definition (+48 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition (+52 nodes collapsed)
function_definition (+116 nodes collapsed)
function_definition (+65 nodes collapsed)
function_definition (+44 nodes collapsed)
function_definition (+68 nodes collapsed)
function_definition (+128 nodes collapsed)
function_definition (+71 nodes collapsed)
function_definition (+50 nodes collapsed)
function_definition (+74 nodes collapsed)
function_definition (+90 nodes collapsed)
function_definition (+90 nodes collapsed)
function_definition (+90 nodes collapsed)
function_definition (+252 nodes collapsed)
function_definition (+485 nodes collapsed)
function_definition (+50 nodes collapsed)
function_definition (+178 nodes collapsed)
function_definition (+65 nodes collapsed)
function_definition (+56 nodes collapsed)
function_definition (+24 nodes collapsed)
function_definition (+129 nodes collapsed)
function_definition (+87 nodes collapsed)
function_definition (+427 nodes collapsed)
function_definition (+475 nodes collapsed)
function_definition (+523 nodes collapsed)
function_definition (+829 nodes collapsed)
function_definition (+1955 nodes collapsed)
function_definition (+334 nodes collapsed)
function_definition (+4762 nodes collapsed)
function_definition (+519 nodes collapsed)
function_definition (+358 nodes collapsed)
function_definition (+458 nodes collapsed)
function_definition (+144 nodes collapsed)
function_definition (+393 nodes collapsed)
preproc_def
#define "#define"
identifier "TERRAIN_ALPHA"
preproc_arg "0.6"
function_definition (+1414 nodes collapsed)
function_definition (+1325 nodes collapsed)
function_definition (+26 nodes collapsed)
function_definition (+120 nodes collapsed)
function_definition (+372 nodes collapsed)
function_definition (+617 nodes collapsed)
function_definition (+449 nodes collapsed)
function_definition (+91 nodes collapsed)
function_definition (+825 nodes collapsed)
function_definition (+617 nodes collapsed)
function_definition (+449 nodes collapsed)
function_definition (+272 nodes collapsed)
function_definition (+1918 nodes collapsed)
function_definition (+1254 nodes collapsed)
function_definition (+920 nodes collapsed)
function_definition (+289 nodes collapsed)
function_definition (+1430 nodes collapsed)
declaration
type_qualifier
const "const"
type_identifier "Vector2i"
init_declarator
qualified_identifier
namespace_identifier "TileSetSource"
:: "::"
identifier "INVALID_ATLAS_COORDS"
= "="
call_expression
identifier "Vector2i"
argument_list
( "("
number_literal "-1"
, ","
number_literal "-1"
) ")"
; ";"
declaration
type_qualifier
const "const"
primitive_type "int"
init_declarator
qualified_identifier
namespace_identifier "TileSetSource"
:: "::"
identifier "INVALID_TILE_ALTERNATIVE"
= "="
number_literal "-1"
; ";"
preproc_ifdef (+3381 nodes collapsed)
comment "// DISABLE_DEPRECATED"
ERROR
primitive_type "bool"
function_declarator (+23 nodes collapsed)
{ "{"
declaration (+33 nodes collapsed)
#ifndef "#ifndef"
identifier "DISABLE_DEPRECATED"
comment "// TODO: This should be moved to a dedicated conversion syst"...
if_statement (+4038 nodes collapsed)
function_definition (+1828 nodes collapsed)
function_definition (+1386 nodes collapsed)
function_definition (+128 nodes collapsed)
function_definition
primitive_type "void"
function_declarator
qualified_identifier
namespace_identifier "TileSet"
:: "::"
identifier "_bind_methods"
parameter_list
( "("
) ")"
compound_statement
{ "{"
comment "// Sources management."
expression_statement (+26 nodes collapsed)
expression_statement (+46 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+26 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+31 nodes collapsed)
comment "// Shape and layout."
expression_statement (+31 nodes collapsed)
expression_statement (+26 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+26 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+26 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+26 nodes collapsed)
expression_statement (+38 nodes collapsed)
expression_statement (+38 nodes collapsed)
expression_statement (+38 nodes collapsed)
expression_statement (+38 nodes collapsed)
comment "// Rendering."
expression_statement (+31 nodes collapsed)
expression_statement (+26 nodes collapsed)
expression_statement (+26 nodes collapsed)
expression_statement (+38 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+31 nodes collapsed)
preproc_ifdef (+404 nodes collapsed)
comment "// PHYSICS_2D_DISABLED"
comment "// Terrains"
expression_statement (+26 nodes collapsed)
expression_statement (+38 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+43 nodes collapsed)
expression_statement (+41 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+41 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+41 nodes collapsed)
expression_statement (+36 nodes collapsed)
preproc_ifdef (+280 nodes collapsed)
comment "// NAVIGATION_2D_DISABLED"
comment "// Custom data"
expression_statement (+26 nodes collapsed)
expression_statement (+38 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+31 nodes collapsed)
comment "// Tile proxies"
expression_statement (+36 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+46 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+56 nodes collapsed)
expression_statement (+41 nodes collapsed)
expression_statement (+41 nodes collapsed)
expression_statement (+41 nodes collapsed)
expression_statement (+41 nodes collapsed)
expression_statement (+26 nodes collapsed)
expression_statement (+26 nodes collapsed)
comment "// Patterns"
expression_statement (+43 nodes collapsed)
expression_statement (+38 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+26 nodes collapsed)
expression_statement
call_expression
identifier "ADD_GROUP"
argument_list
( "("
string_literal
" "\""
string_content "Rendering"
" "\""
, ","
string_literal
" "\""
" "\""
) ")"
; ";"
expression_statement (+31 nodes collapsed)
expression_statement
call_expression
identifier "ADD_ARRAY"
argument_list
( "("
string_literal
" "\""
string_content "occlusion_layers"
" "\""
, ","
string_literal
" "\""
string_content "occlusion_layer_"
" "\""
) ")"
; ";"
expression_statement
call_expression
identifier "ADD_GROUP"
argument_list
( "("
string_literal
" "\""
" "\""
, ","
string_literal
" "\""
" "\""
) ")"
; ";"
expression_statement
call_expression
identifier "ADD_ARRAY"
argument_list
( "("
string_literal
" "\""
string_content "physics_layers"
" "\""
, ","
string_literal
" "\""
string_content "physics_layer_"
" "\""
) ")"
; ";"
expression_statement
call_expression
identifier "ADD_ARRAY"
argument_list
( "("
string_literal
" "\""
string_content "terrain_sets"
" "\""
, ","
string_literal
" "\""
string_content "terrain_set_"
" "\""
) ")"
; ";"
preproc_ifdef
#ifndef "#ifndef"
identifier "NAVIGATION_2D_DISABLED"
expression_statement
call_expression
identifier "ADD_ARRAY"
argument_list
( "("
string_literal
" "\""
string_content "navigation_layers"
" "\""
, ","
string_literal
" "\""
string_content "navigation_layer_"
" "\""
) ")"
; ";"
#endif "#endif"
comment "// NAVIGATION_2D_DISABLED"
expression_statement
call_expression
identifier "ADD_ARRAY"
argument_list
( "("
string_literal
" "\""
string_content "custom_data_layers"
" "\""
, ","
string_literal
" "\""
string_content "custom_data_layer_"
" "\""
) ")"
; ";"
comment "// -- Enum binding --"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TILE_SHAPE_SQUARE"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TILE_SHAPE_ISOMETRIC"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TILE_SHAPE_HALF_OFFSET_SQUARE"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TILE_SHAPE_HEXAGON"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TILE_LAYOUT_STACKED"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TILE_LAYOUT_STACKED_OFFSET"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TILE_LAYOUT_STAIRS_RIGHT"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TILE_LAYOUT_STAIRS_DOWN"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TILE_LAYOUT_DIAMOND_RIGHT"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TILE_LAYOUT_DIAMOND_DOWN"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TILE_OFFSET_AXIS_HORIZONTAL"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TILE_OFFSET_AXIS_VERTICAL"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_RIGHT_SIDE"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_RIGHT_CORNER"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_BOTTOM_RIGHT_SIDE"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_BOTTOM_RIGHT_CORNER"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_BOTTOM_SIDE"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_BOTTOM_CORNER"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_BOTTOM_LEFT_SIDE"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_BOTTOM_LEFT_CORNER"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_LEFT_SIDE"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_LEFT_CORNER"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_TOP_LEFT_SIDE"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_TOP_LEFT_CORNER"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_TOP_SIDE"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_TOP_CORNER"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_TOP_RIGHT_SIDE"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "CELL_NEIGHBOR_TOP_RIGHT_CORNER"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TERRAIN_MODE_MATCH_CORNERS_AND_SIDES"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TERRAIN_MODE_MATCH_CORNERS"
) ")"
; ";"
expression_statement
call_expression
identifier "BIND_ENUM_CONSTANT"
argument_list
( "("
identifier "TERRAIN_MODE_MATCH_SIDES"
) ")"
; ";"
} "}"
function_definition (+33 nodes collapsed)
function_definition (+87 nodes collapsed)
comment "/////////////////////////////// TileSetSource //////////////"...
function_definition (+26 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition
primitive_type "void"
function_declarator
qualified_identifier
namespace_identifier "TileSetSource"
:: "::"
identifier "reset_state"
parameter_list
( "("
) ")"
compound_statement
{ "{"
expression_statement
assignment_expression
identifier "tile_set"
= "="
null
nullptr "nullptr"
; ";"
} "}"
function_definition (+206 nodes collapsed)
comment "/////////////////////////////// TileSetAtlasSource /////////"...
function_definition (+93 nodes collapsed)
function_definition (+23 nodes collapsed)
function_definition (+79 nodes collapsed)
function_definition (+78 nodes collapsed)
function_definition (+84 nodes collapsed)
function_definition (+78 nodes collapsed)
preproc_ifdef (+244 nodes collapsed)
comment "// PHYSICS_2D_DISABLED"
function_definition (+78 nodes collapsed)
function_definition (+84 nodes collapsed)
function_definition (+78 nodes collapsed)
function_definition (+84 nodes collapsed)
function_definition (+90 nodes collapsed)
function_definition (+84 nodes collapsed)
preproc_ifdef (+244 nodes collapsed)
comment "// NAVIGATION_2D_DISABLED"
function_definition (+78 nodes collapsed)
function_definition (+84 nodes collapsed)
function_definition (+78 nodes collapsed)
function_definition (+122 nodes collapsed)
function_definition (+120 nodes collapsed)
function_definition (+25 nodes collapsed)
function_definition (+90 nodes collapsed)
function_definition
type_identifier "Vector2i"
function_declarator
qualified_identifier
namespace_identifier "TileSetAtlasSource"
:: "::"
identifier "get_margins"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "margins"
; ";"
} "}"
function_definition (+90 nodes collapsed)
function_definition
type_identifier "Vector2i"
function_declarator
qualified_identifier
namespace_identifier "TileSetAtlasSource"
:: "::"
identifier "get_separation"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "separation"
; ";"
} "}"
function_definition (+90 nodes collapsed)
function_definition
type_identifier "Vector2i"
function_declarator
qualified_identifier
namespace_identifier "TileSetAtlasSource"
:: "::"
identifier "get_texture_region_size"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "texture_region_size"
; ";"
} "}"
function_definition (+51 nodes collapsed)
function_definition
primitive_type "bool"
function_declarator
qualified_identifier
namespace_identifier "TileSetAtlasSource"
:: "::"
identifier "get_use_texture_padding"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "use_texture_padding"
; ";"
} "}"
function_definition (+172 nodes collapsed)
function_definition (+970 nodes collapsed)
function_definition (+801 nodes collapsed)
function_definition (+975 nodes collapsed)
function_definition (+329 nodes collapsed)
function_definition (+153 nodes collapsed)
function_definition (+30 nodes collapsed)
function_definition (+50 nodes collapsed)
function_definition (+179 nodes collapsed)
function_definition (+69 nodes collapsed)
function_definition (+193 nodes collapsed)
function_definition (+73 nodes collapsed)
function_definition (+89 nodes collapsed)
function_definition (+69 nodes collapsed)
function_definition (+81 nodes collapsed)
function_definition (+72 nodes collapsed)
function_definition (+262 nodes collapsed)
function_definition (+76 nodes collapsed)
function_definition (+128 nodes collapsed)
function_definition (+110 nodes collapsed)
function_definition (+97 nodes collapsed)
function_definition (+74 nodes collapsed)
function_definition (+26 nodes collapsed)
function_definition (+49 nodes collapsed)
function_definition (+333 nodes collapsed)
function_definition (+113 nodes collapsed)
function_definition (+139 nodes collapsed)
function_definition (+150 nodes collapsed)
function_definition (+439 nodes collapsed)
function_definition (+252 nodes collapsed)
function_definition (+135 nodes collapsed)
function_definition (+138 nodes collapsed)
function_definition (+34 nodes collapsed)
comment "// Getters for texture and tile region (padded or not)"
function_definition (+43 nodes collapsed)
function_definition (+262 nodes collapsed)
function_definition (+322 nodes collapsed)
function_definition (+333 nodes collapsed)
function_definition (+213 nodes collapsed)
function_definition (+290 nodes collapsed)
function_definition (+86 nodes collapsed)
function_definition (+72 nodes collapsed)
function_definition (+76 nodes collapsed)
function_definition (+122 nodes collapsed)
function_definition (+140 nodes collapsed)
function_definition (+34 nodes collapsed)
function_definition (+1681 nodes collapsed)
function_definition (+78 nodes collapsed)
function_definition (+136 nodes collapsed)
function_definition (+129 nodes collapsed)
function_definition (+120 nodes collapsed)
function_definition (+331 nodes collapsed)
function_definition (+289 nodes collapsed)
function_definition (+53 nodes collapsed)
function_definition (+1030 nodes collapsed)
function_definition (+454 nodes collapsed)
function_definition (+31 nodes collapsed)
comment "/////////////////////////////// TileSetScenesCollectionSourc"...
function_definition (+48 nodes collapsed)
function_definition (+31 nodes collapsed)
function_definition
primitive_type "int"
function_declarator
qualified_identifier
namespace_identifier "TileSetScenesCollectionSource"
:: "::"
identifier "get_tiles_count"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
number_literal "1"
; ";"
} "}"
function_definition (+42 nodes collapsed)
function_definition (+29 nodes collapsed)
function_definition (+31 nodes collapsed)
function_definition (+75 nodes collapsed)
function_definition (+61 nodes collapsed)
function_definition (+141 nodes collapsed)
function_definition (+147 nodes collapsed)
function_definition (+292 nodes collapsed)
function_definition (+81 nodes collapsed)
function_definition (+59 nodes collapsed)
function_definition (+64 nodes collapsed)
function_definition (+63 nodes collapsed)
function_definition
primitive_type "int"
function_declarator
qualified_identifier
namespace_identifier "TileSetScenesCollectionSource"
:: "::"
identifier "get_next_scene_tile_id"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "next_scene_id"
; ";"
} "}"
function_definition (+293 nodes collapsed)
function_definition (+264 nodes collapsed)
function_definition (+219 nodes collapsed)
function_definition (+34 nodes collapsed)
function_definition (+371 nodes collapsed)
comment "/////////////////////////////// TileData ///////////////////"...
function_definition (+33 nodes collapsed)
function_definition (+403 nodes collapsed)
function_definition (+78 nodes collapsed)
function_definition (+97 nodes collapsed)
function_definition (+44 nodes collapsed)
preproc_ifdef (+223 nodes collapsed)
comment "// PHYSICS_2D_DISABLED"
function_definition (+40 nodes collapsed)
function_definition (+93 nodes collapsed)
function_definition (+87 nodes collapsed)
function_definition (+88 nodes collapsed)
function_definition (+161 nodes collapsed)
function_definition (+150 nodes collapsed)
preproc_ifdef (+223 nodes collapsed)
comment "// NAVIGATION_2D_DISABLED"
function_definition (+78 nodes collapsed)
function_definition (+97 nodes collapsed)
function_definition (+44 nodes collapsed)
function_definition (+22 nodes collapsed)
function_definition
primitive_type "bool"
function_declarator
qualified_identifier
namespace_identifier "TileData"
:: "::"
identifier "is_allowing_transform"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "allow_transform"
; ";"
} "}"
function_definition (+216 nodes collapsed)
comment "// Rendering"
function_definition (+53 nodes collapsed)
function_definition
primitive_type "bool"
function_declarator
qualified_identifier
namespace_identifier "TileData"
:: "::"
identifier "get_flip_h"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "flip_h"
; ";"
} "}"
function_definition (+53 nodes collapsed)
function_definition
primitive_type "bool"
function_declarator
qualified_identifier
namespace_identifier "TileData"
:: "::"
identifier "get_flip_v"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "flip_v"
; ";"
} "}"
function_definition (+53 nodes collapsed)
function_definition
primitive_type "bool"
function_declarator
qualified_identifier
namespace_identifier "TileData"
:: "::"
identifier "get_transpose"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "transpose"
; ";"
} "}"
function_definition (+35 nodes collapsed)
function_definition
type_identifier "Vector2i"
function_declarator
qualified_identifier
namespace_identifier "TileData"
:: "::"
identifier "get_texture_origin"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "texture_origin"
; ";"
} "}"
function_definition (+41 nodes collapsed)
function_definition (+25 nodes collapsed)
function_definition (+35 nodes collapsed)
function_definition
type_identifier "Color"
function_declarator
qualified_identifier
namespace_identifier "TileData"
:: "::"
identifier "get_modulate"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "modulate"
; ";"
} "}"
function_definition (+35 nodes collapsed)
function_definition
primitive_type "int"
function_declarator
qualified_identifier
namespace_identifier "TileData"
:: "::"
identifier "get_z_index"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "z_index"
; ";"
} "}"
function_definition (+35 nodes collapsed)
function_definition
primitive_type "int"
function_declarator
qualified_identifier
namespace_identifier "TileData"
:: "::"
identifier "get_y_sort_origin"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "y_sort_origin"
; ";"
} "}"
preproc_ifdef (+210 nodes collapsed)
comment "// DISABLE_DEPRECATED"
function_definition (+123 nodes collapsed)
function_definition (+56 nodes collapsed)
function_definition (+75 nodes collapsed)
function_definition (+97 nodes collapsed)
function_definition (+142 nodes collapsed)
function_definition (+372 nodes collapsed)
preproc_ifdef (+2080 nodes collapsed)
comment "// PHYSICS_2D_DISABLED"
comment "// Terrain"
function_definition (+134 nodes collapsed)
function_definition
primitive_type "int"
function_declarator
qualified_identifier
namespace_identifier "TileData"
:: "::"
identifier "get_terrain_set"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "terrain_set"
; ";"
} "}"
function_definition (+97 nodes collapsed)
function_definition
primitive_type "int"
function_declarator
qualified_identifier
namespace_identifier "TileData"
:: "::"
identifier "get_terrain"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "terrain"
; ";"
} "}"
function_definition (+140 nodes collapsed)
function_definition (+47 nodes collapsed)
function_definition (+45 nodes collapsed)
function_definition (+152 nodes collapsed)
preproc_ifdef (+621 nodes collapsed)
comment "// NAVIGATION_2D_DISABLED"
comment "// Misc"
function_definition (+46 nodes collapsed)
function_definition
primitive_type "float"
function_declarator
qualified_identifier
namespace_identifier "TileData"
:: "::"
identifier "get_probability"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "probability"
; ";"
} "}"
comment "// Custom data"
function_definition (+76 nodes collapsed)
function_definition (+85 nodes collapsed)
function_definition (+44 nodes collapsed)
function_definition (+64 nodes collapsed)
function_definition (+50 nodes collapsed)
function_definition (+266 nodes collapsed)
function_definition (+1888 nodes collapsed)
function_definition (+1485 nodes collapsed)
function_definition (+1457 nodes collapsed)
function_definition (+2292 nodes collapsed)