This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "std/core.pat" | |
struct XMHeader { | |
char module_head[0x11]; | |
char module_name[0x14]; | |
padding[1]; | |
char tracker_name[0x14]; | |
u8 version_min; | |
u8 version_maj; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
298 code samples failed parity check: | |
- 1 hits in class "AnimatedSprite2D" | |
- Codeblocks only has one language in method "set_frame_and_progress" description | |
- 1 hits in class "AnimatedSprite3D" | |
- Codeblocks only has one language in method "set_frame_and_progress" description | |
- 7 hits in class "AnimationMixer" | |
- Codeblocks only has one language in method "get_root_motion_position" description | |
- Codeblocks only has one language in method "get_root_motion_position" description | |
- Codeblocks only has one language in method "get_root_motion_position_accumulator" description | |
- Codeblocks only has one language in method "get_root_motion_rotation" description |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Object | |
class_name ResourceUtils | |
# ResourceLoader is unreliable when it comes to cache. | |
# Sub-resources get cached regardless of the argument passed to load function. | |
# This is a workaround that generates a new file on a fly, | |
# while making sure that there is no cache record for it. | |
# This file is then used to load the resource, after which | |
# the resource takes over the original path. | |
static func load_fresh(resource_path : String) -> Resource: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Object | |
class_name DrawUtils | |
# Extracted from graph_node.cpp | |
static func draw_cos_line(node : Node, from_position : Vector2, to_position : Vector2, from_color : Color, to_color : Color, bezier_len_pos : int, bezier_len_neg : int, line_width : float = 1.0, shadow : bool = false) -> void: | |
var diff = to_position.x - from_position.x | |
var cp_offset | |
var cp_len = bezier_len_pos | |
var cp_neg_len = bezier_len_neg | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Object | |
class_name NodeUtils | |
static func get_child_by_class(node : Node, child_class : String, counter : int = 1) -> Node: | |
var match_counter = 0 | |
var node_children = node.get_children() | |
for child in node_children: | |
if (child.get_class() == child_class): | |
match_counter += 1 |