@@ -16,6 +16,9 @@ namespace TaleWorlds.TwoDimension
|
|
16
16
|
public float SmoothingConstant { [CompilerGenerated]
|
17
17
|
get; }
|
18
18
|
|
19
|
+
public float CustomScale { [CompilerGenerated]
|
20
|
+
get; }
|
21
|
+
|
19
22
|
public int LineHeight { [CompilerGenerated]
|
20
23
|
get; }
|
21
24
|
|
@@ -32,6 +32,14 @@ namespace TaleWorlds.TwoDimension
|
|
32
32
|
|
33
33
|
void DrawDebugText(string text);
|
34
34
|
|
35
|
+
bool DrawDebugTreeNode(string text);
|
36
|
+
|
37
|
+
void PopDebugTreeNode();
|
38
|
+
|
39
|
+
void DrawCheckbox(string label, ref bool isChecked);
|
40
|
+
|
41
|
+
bool IsDebugItemHovered();
|
42
|
+
|
35
43
|
bool IsDebugModeEnabled();
|
36
44
|
}
|
37
45
|
}
|
@@ -95,5 +95,11 @@ namespace TaleWorlds.TwoDimension
|
|
95
95
|
public extern SimpleMaterial(Texture texture, int renderOrder, bool blending);
|
96
96
|
|
97
97
|
public extern void Reset(Texture texture = null);
|
98
|
+
|
99
|
+
public extern Vec2 GetCircularMaskingCenter();
|
100
|
+
|
101
|
+
public extern Vec2 GetOverlayStartCoordinate();
|
102
|
+
|
103
|
+
public extern Vec2 GetOverlaySize();
|
98
104
|
}
|
99
105
|
}
|
@@ -22,6 +22,8 @@ namespace TaleWorlds.TwoDimension
|
|
22
22
|
|
23
23
|
public extern Sprite GetSprite(string name);
|
24
24
|
|
25
|
+
public extern bool SpriteExists(string spriteName);
|
26
|
+
|
25
27
|
public extern void Load(ResourceDepot resourceDepot);
|
26
28
|
}
|
27
29
|
}
|
@@ -9,6 +9,7 @@ namespace TaleWorlds.TwoDimension
|
|
9
9
|
{
|
10
10
|
EmptyCharacter,
|
11
11
|
ZeroWidthSpace,
|
12
|
+
NonBreakingSpace,
|
12
13
|
NewLine,
|
13
14
|
Tab,
|
14
15
|
Character,
|
@@ -36,6 +37,8 @@ namespace TaleWorlds.TwoDimension
|
|
36
37
|
|
37
38
|
public static extern TextToken CreateZeroWidthSpaceCharacter();
|
38
39
|
|
40
|
+
public static extern TextToken CreateNonBreakingSpaceCharacter();
|
41
|
+
|
39
42
|
public static extern TextToken CreateNewLine();
|
40
43
|
|
41
44
|
public static extern TextToken CreateTab();
|
@@ -53,6 +53,14 @@ namespace TaleWorlds.TwoDimension
|
|
53
53
|
|
54
54
|
public extern void DrawDebugText(string text);
|
55
55
|
|
56
|
+
public extern bool DrawDebugTreeNode(string text);
|
57
|
+
|
58
|
+
public extern void PopDebugTreeNode();
|
59
|
+
|
60
|
+
public extern void DrawCheckbox(string label, ref bool isChecked);
|
61
|
+
|
62
|
+
public extern bool IsDebugItemHovered();
|
63
|
+
|
56
64
|
public extern Texture LoadTexture(string name);
|
57
65
|
|
58
66
|
public extern void SetCircualMask(Vector2 position, float radius, float smoothingRadius);
|