Interior Maps #13
Loading…
Reference in New Issue
No description provided.
Delete Branch "interior-maps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Extends the map editor to support interior map environments like dungeon and building interiors - opting to use a grid-like tile system over the free-form terrain system used for exterior spaces.
Also closes #6.
WIP: Interior Mapsto Interior Maps@ -0,0 +7,4 @@
##
##
##
enum Orientation {
Missing doc comment.
@ -0,0 +17,4 @@
##
## Baked block of meshes making up a segment of the grid.
##
class Chunk:
Missing doc comment.
@ -0,0 +180,4 @@
##
## For clearing a specific region of the mesh grid, see [method fill_mesh].
##
func clear_tiles(orientation: Orientation, tile: InteriorTile) -> void:
Doc comment does not mention purpose of
orientation
.@ -0,0 +226,4 @@
##
## For clearing the whole of the mesh grid, see [method clear_mesh].
##
func fill_tiles(area: Rect2i, orientation: Orientation, tile: InteriorTile) -> void:
Doc comment does not mention purpose of
orientation
.@ -0,0 +284,4 @@
##
##
##
func get_area() -> Rect2i:
Missing doc comment.
@ -0,0 +297,4 @@
##
## For bulk-setting many meshes at once, see [method fill_mesh] and [method clear_mesh].
##
func plot_tile(coordinates: Vector2i, orientation: Orientation, tile: InteriorTile) -> void:
Doc comment does not mention purpose of
orientation
.@ -0,0 +328,4 @@
##
##
##
func world_to_grid(world_position: Vector2) -> Vector2i:
Unused method.
@ -0,0 +3,4 @@
##
##
##
enum Kind {
Missing doc comment.
@ -0,0 +12,4 @@
##
##
@export
var fixed_orientation := false
Missing doc comment.
@ -0,0 +18,4 @@
##
##
@export
var kind := Kind.FLOOR
Missing doc comment.
@ -0,0 +24,4 @@
##
##
@export
var mesh: Mesh = null
Missing doc comment.
@ -3,0 +3,4 @@
##
##
##
enum SelectAction {
Missing doc comment.
@ -17,3 +25,3 @@
## Selection of a point on screenspace has started happening.
##
signal selection_started()
signal selection_started(select_action: SelectAction)
Purpose of
select_action
is not explained in doc comment.@ -187,0 +179,4 @@
return Vector2.ZERO
func is_frozen() -> bool:
Missing doc comment.
@ -187,0 +187,4 @@
##
##
##
func in_select_area() -> bool:
Missing doc comment.
@ -0,0 +4,4 @@
##
##
##
signal prompt_accepted()
Missing doc comment.
@ -0,0 +9,4 @@
##
##
##
signal prompted()
Missing doc comment.
@ -0,0 +35,4 @@
##
##
##
func prompt() -> void:
Missing doc comment.
@ -0,0 +4,4 @@
##
##
##
signal prompted()
Missing doc comment.
@ -0,0 +9,4 @@
##
##
##
signal prompt_selected(selected_item: int)
Missing doc comment.
@ -0,0 +3,4 @@
##
##
##
signal prompt_completed()
Missing doc comment.
@ -0,0 +8,4 @@
##
##
##
signal prompted()
Missing doc comment.
@ -0,0 +16,4 @@
##
##
@export
var label: Label = null
Missing doc comment.
@ -0,0 +22,4 @@
##
##
@export
var progress: Range = null
Missing doc comment.
@ -0,0 +27,4 @@
##
##
##
func prompt(display_message: String, steps: Array) -> void:
Missing doc comment.