sonolus.py 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of sonolus.py might be problematic. Click here for more details.
- sonolus/__init__.py +0 -0
- sonolus/backend/__init__.py +0 -0
- sonolus/backend/allocate.py +51 -0
- sonolus/backend/blocks.py +756 -0
- sonolus/backend/excepthook.py +37 -0
- sonolus/backend/finalize.py +69 -0
- sonolus/backend/flow.py +92 -0
- sonolus/backend/interpret.py +333 -0
- sonolus/backend/ir.py +89 -0
- sonolus/backend/mode.py +24 -0
- sonolus/backend/node.py +40 -0
- sonolus/backend/ops.py +197 -0
- sonolus/backend/optimize.py +9 -0
- sonolus/backend/passes.py +6 -0
- sonolus/backend/place.py +90 -0
- sonolus/backend/simplify.py +30 -0
- sonolus/backend/utils.py +48 -0
- sonolus/backend/visitor.py +880 -0
- sonolus/build/__init__.py +0 -0
- sonolus/build/cli.py +170 -0
- sonolus/build/collection.py +293 -0
- sonolus/build/compile.py +90 -0
- sonolus/build/defaults.py +32 -0
- sonolus/build/engine.py +149 -0
- sonolus/build/level.py +23 -0
- sonolus/build/node.py +43 -0
- sonolus/build/project.py +94 -0
- sonolus/py.typed +0 -0
- sonolus/script/__init__.py +0 -0
- sonolus/script/archetype.py +651 -0
- sonolus/script/array.py +241 -0
- sonolus/script/bucket.py +192 -0
- sonolus/script/callbacks.py +105 -0
- sonolus/script/comptime.py +146 -0
- sonolus/script/containers.py +247 -0
- sonolus/script/debug.py +70 -0
- sonolus/script/effect.py +132 -0
- sonolus/script/engine.py +101 -0
- sonolus/script/globals.py +234 -0
- sonolus/script/graphics.py +141 -0
- sonolus/script/icon.py +73 -0
- sonolus/script/internal/__init__.py +5 -0
- sonolus/script/internal/builtin_impls.py +144 -0
- sonolus/script/internal/context.py +365 -0
- sonolus/script/internal/descriptor.py +17 -0
- sonolus/script/internal/error.py +15 -0
- sonolus/script/internal/generic.py +197 -0
- sonolus/script/internal/impl.py +69 -0
- sonolus/script/internal/introspection.py +14 -0
- sonolus/script/internal/native.py +38 -0
- sonolus/script/internal/value.py +144 -0
- sonolus/script/interval.py +98 -0
- sonolus/script/iterator.py +211 -0
- sonolus/script/level.py +52 -0
- sonolus/script/math.py +92 -0
- sonolus/script/num.py +382 -0
- sonolus/script/options.py +194 -0
- sonolus/script/particle.py +158 -0
- sonolus/script/pointer.py +30 -0
- sonolus/script/project.py +17 -0
- sonolus/script/range.py +58 -0
- sonolus/script/record.py +293 -0
- sonolus/script/runtime.py +526 -0
- sonolus/script/sprite.py +332 -0
- sonolus/script/text.py +404 -0
- sonolus/script/timing.py +42 -0
- sonolus/script/transform.py +118 -0
- sonolus/script/ui.py +160 -0
- sonolus/script/values.py +43 -0
- sonolus/script/vec.py +48 -0
- sonolus_py-0.1.0.dist-info/METADATA +10 -0
- sonolus_py-0.1.0.dist-info/RECORD +75 -0
- sonolus_py-0.1.0.dist-info/WHEEL +4 -0
- sonolus_py-0.1.0.dist-info/entry_points.txt +2 -0
- sonolus_py-0.1.0.dist-info/licenses/LICENSE +21 -0
sonolus/script/sprite.py
ADDED
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
from typing import Annotated, Any, Protocol, dataclass_transform, get_origin
|
|
3
|
+
|
|
4
|
+
from sonolus.backend.ops import Op
|
|
5
|
+
from sonolus.script.graphics import QuadLike, flatten_quad
|
|
6
|
+
from sonolus.script.internal.introspection import get_field_specifiers
|
|
7
|
+
from sonolus.script.internal.native import native_function
|
|
8
|
+
from sonolus.script.record import Record
|
|
9
|
+
from sonolus.script.vec import Vec2
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class Sprite(Record):
|
|
13
|
+
id: int
|
|
14
|
+
|
|
15
|
+
@property
|
|
16
|
+
def is_available(self) -> bool:
|
|
17
|
+
return _has_skin_sprite(self.id)
|
|
18
|
+
|
|
19
|
+
def draw(self, quad: QuadLike, z: float = 0.0, a: float = 1.0):
|
|
20
|
+
_draw(self.id, *flatten_quad(quad), z, a)
|
|
21
|
+
|
|
22
|
+
def draw_curved_b(self, quad: QuadLike, cp: Vec2, n: float, z: float = 0.0, a: float = 1.0):
|
|
23
|
+
_draw_curved_b(self.id, *flatten_quad(quad), z, a, n, *cp.tuple)
|
|
24
|
+
|
|
25
|
+
def draw_curved_t(self, quad: QuadLike, cp: Vec2, n: float, z: float = 0.0, a: float = 1.0):
|
|
26
|
+
_draw_curved_t(self.id, *flatten_quad(quad), z, a, n, *cp.tuple)
|
|
27
|
+
|
|
28
|
+
def draw_curved_l(self, quad: QuadLike, cp: Vec2, n: float, z: float = 0.0, a: float = 1.0):
|
|
29
|
+
_draw_curved_l(self.id, *flatten_quad(quad), z, a, n, *cp.tuple)
|
|
30
|
+
|
|
31
|
+
def draw_curved_r(self, quad: QuadLike, cp: Vec2, n: float, z: float = 0.0, a: float = 1.0):
|
|
32
|
+
_draw_curved_r(self.id, *flatten_quad(quad), z, a, n, *cp.tuple)
|
|
33
|
+
|
|
34
|
+
def draw_curved_bt(self, quad: QuadLike, cp1: Vec2, cp2: Vec2, n: float, z: float = 0.0, a: float = 1.0):
|
|
35
|
+
_draw_curved_bt(self.id, *flatten_quad(quad), z, a, n, *cp1.tuple, *cp2.tuple)
|
|
36
|
+
|
|
37
|
+
def draw_curved_lr(self, quad: QuadLike, cp1: Vec2, cp2: Vec2, n: float, z: float = 0.0, a: float = 1.0):
|
|
38
|
+
_draw_curved_lr(self.id, *flatten_quad(quad), z, a, n, *cp1.tuple, *cp2.tuple)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
@native_function(Op.HasSkinSprite)
|
|
42
|
+
def _has_skin_sprite(sprite_id: int) -> bool:
|
|
43
|
+
raise NotImplementedError
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
@native_function(Op.Draw)
|
|
47
|
+
def _draw(
|
|
48
|
+
sprite_id: int,
|
|
49
|
+
x1: float,
|
|
50
|
+
y1: float,
|
|
51
|
+
x2: float,
|
|
52
|
+
y2: float,
|
|
53
|
+
x3: float,
|
|
54
|
+
y3: float,
|
|
55
|
+
x4: float,
|
|
56
|
+
y4: float,
|
|
57
|
+
z: float,
|
|
58
|
+
a: float,
|
|
59
|
+
):
|
|
60
|
+
raise NotImplementedError
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
@native_function(Op.DrawCurvedB)
|
|
64
|
+
def _draw_curved_b(
|
|
65
|
+
sprite_id: int,
|
|
66
|
+
x1: float,
|
|
67
|
+
y1: float,
|
|
68
|
+
x2: float,
|
|
69
|
+
y2: float,
|
|
70
|
+
x3: float,
|
|
71
|
+
y3: float,
|
|
72
|
+
x4: float,
|
|
73
|
+
y4: float,
|
|
74
|
+
z: float,
|
|
75
|
+
a: float,
|
|
76
|
+
n: int,
|
|
77
|
+
p: float,
|
|
78
|
+
q: float,
|
|
79
|
+
):
|
|
80
|
+
raise NotImplementedError
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
@native_function(Op.DrawCurvedT)
|
|
84
|
+
def _draw_curved_t(
|
|
85
|
+
sprite_id: int,
|
|
86
|
+
x1: float,
|
|
87
|
+
y1: float,
|
|
88
|
+
x2: float,
|
|
89
|
+
y2: float,
|
|
90
|
+
x3: float,
|
|
91
|
+
y3: float,
|
|
92
|
+
x4: float,
|
|
93
|
+
y4: float,
|
|
94
|
+
z: float,
|
|
95
|
+
a: float,
|
|
96
|
+
n: int,
|
|
97
|
+
p: float,
|
|
98
|
+
q: float,
|
|
99
|
+
):
|
|
100
|
+
raise NotImplementedError
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
@native_function(Op.DrawCurvedL)
|
|
104
|
+
def _draw_curved_l(
|
|
105
|
+
sprite_id: int,
|
|
106
|
+
x1: float,
|
|
107
|
+
y1: float,
|
|
108
|
+
x2: float,
|
|
109
|
+
y2: float,
|
|
110
|
+
x3: float,
|
|
111
|
+
y3: float,
|
|
112
|
+
x4: float,
|
|
113
|
+
y4: float,
|
|
114
|
+
z: float,
|
|
115
|
+
a: float,
|
|
116
|
+
n: int,
|
|
117
|
+
p: float,
|
|
118
|
+
q: float,
|
|
119
|
+
):
|
|
120
|
+
raise NotImplementedError
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
@native_function(Op.DrawCurvedR)
|
|
124
|
+
def _draw_curved_r(
|
|
125
|
+
sprite_id: int,
|
|
126
|
+
x1: float,
|
|
127
|
+
y1: float,
|
|
128
|
+
x2: float,
|
|
129
|
+
y2: float,
|
|
130
|
+
x3: float,
|
|
131
|
+
y3: float,
|
|
132
|
+
x4: float,
|
|
133
|
+
y4: float,
|
|
134
|
+
z: float,
|
|
135
|
+
a: float,
|
|
136
|
+
n: int,
|
|
137
|
+
p: float,
|
|
138
|
+
q: float,
|
|
139
|
+
):
|
|
140
|
+
raise NotImplementedError
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
@native_function(Op.DrawCurvedBT)
|
|
144
|
+
def _draw_curved_bt(
|
|
145
|
+
sprite_id: int,
|
|
146
|
+
x1: float,
|
|
147
|
+
y1: float,
|
|
148
|
+
x2: float,
|
|
149
|
+
y2: float,
|
|
150
|
+
x3: float,
|
|
151
|
+
y3: float,
|
|
152
|
+
x4: float,
|
|
153
|
+
y4: float,
|
|
154
|
+
z: float,
|
|
155
|
+
a: float,
|
|
156
|
+
n: int,
|
|
157
|
+
p1: float,
|
|
158
|
+
q1: float,
|
|
159
|
+
p2: float,
|
|
160
|
+
q2: float,
|
|
161
|
+
):
|
|
162
|
+
raise NotImplementedError
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
@native_function(Op.DrawCurvedLR)
|
|
166
|
+
def _draw_curved_lr(
|
|
167
|
+
sprite_id: int,
|
|
168
|
+
x1: float,
|
|
169
|
+
y1: float,
|
|
170
|
+
x2: float,
|
|
171
|
+
y2: float,
|
|
172
|
+
x3: float,
|
|
173
|
+
y3: float,
|
|
174
|
+
x4: float,
|
|
175
|
+
y4: float,
|
|
176
|
+
z: float,
|
|
177
|
+
a: float,
|
|
178
|
+
n: int,
|
|
179
|
+
p1: float,
|
|
180
|
+
q1: float,
|
|
181
|
+
p2: float,
|
|
182
|
+
q2: float,
|
|
183
|
+
):
|
|
184
|
+
raise NotImplementedError
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
@dataclass
|
|
188
|
+
class SkinSprite:
|
|
189
|
+
name: str
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
def skin_sprite(name: str) -> Any:
|
|
193
|
+
return SkinSprite(name)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
class Skin(Protocol):
|
|
197
|
+
_sprites_: list[str]
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
@dataclass_transform()
|
|
201
|
+
def skin[T](cls: type[T]) -> T | Skin:
|
|
202
|
+
if len(cls.__bases__) != 1:
|
|
203
|
+
raise ValueError("Skin class must not inherit from any class (except object)")
|
|
204
|
+
instance = cls()
|
|
205
|
+
names = []
|
|
206
|
+
for i, (name, annotation) in enumerate(get_field_specifiers(cls).items()):
|
|
207
|
+
if get_origin(annotation) is not Annotated:
|
|
208
|
+
raise TypeError(f"Invalid annotation for skin: {annotation}")
|
|
209
|
+
annotation_type = annotation.__args__[0]
|
|
210
|
+
annotation_values = annotation.__metadata__
|
|
211
|
+
if annotation_type is not Sprite:
|
|
212
|
+
raise TypeError(f"Invalid annotation for skin: {annotation}, expected annotation of type Sprite")
|
|
213
|
+
if len(annotation_values) != 1 or not isinstance(annotation_values[0], SkinSprite):
|
|
214
|
+
raise TypeError(f"Invalid annotation for skin: {annotation}, expected a single string annotation value")
|
|
215
|
+
sprite_name = annotation_values[0].name
|
|
216
|
+
names.append(sprite_name)
|
|
217
|
+
setattr(instance, name, Sprite(i))
|
|
218
|
+
instance._sprites_ = names
|
|
219
|
+
instance._is_comptime_value_ = True
|
|
220
|
+
return instance
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
class StandardSprite:
|
|
224
|
+
NoteHeadNeutral = Annotated[Sprite, skin_sprite("#NOTE_HEAD_NEUTRAL")]
|
|
225
|
+
NoteHeadRed = Annotated[Sprite, skin_sprite("#NOTE_HEAD_RED")]
|
|
226
|
+
NoteHeadGreen = Annotated[Sprite, skin_sprite("#NOTE_HEAD_GREEN")]
|
|
227
|
+
NoteHeadBlue = Annotated[Sprite, skin_sprite("#NOTE_HEAD_BLUE")]
|
|
228
|
+
NoteHeadYellow = Annotated[Sprite, skin_sprite("#NOTE_HEAD_YELLOW")]
|
|
229
|
+
NoteHeadPurple = Annotated[Sprite, skin_sprite("#NOTE_HEAD_PURPLE")]
|
|
230
|
+
NoteHeadCyan = Annotated[Sprite, skin_sprite("#NOTE_HEAD_CYAN")]
|
|
231
|
+
|
|
232
|
+
NoteTickNeutral = Annotated[Sprite, skin_sprite("#NOTE_TICK_NEUTRAL")]
|
|
233
|
+
NoteTickRed = Annotated[Sprite, skin_sprite("#NOTE_TICK_RED")]
|
|
234
|
+
NoteTickGreen = Annotated[Sprite, skin_sprite("#NOTE_TICK_GREEN")]
|
|
235
|
+
NoteTickBlue = Annotated[Sprite, skin_sprite("#NOTE_TICK_BLUE")]
|
|
236
|
+
NoteTickYellow = Annotated[Sprite, skin_sprite("#NOTE_TICK_YELLOW")]
|
|
237
|
+
NoteTickPurple = Annotated[Sprite, skin_sprite("#NOTE_TICK_PURPLE")]
|
|
238
|
+
NoteTickCyan = Annotated[Sprite, skin_sprite("#NOTE_TICK_CYAN")]
|
|
239
|
+
|
|
240
|
+
NoteTailNeutral = Annotated[Sprite, skin_sprite("#NOTE_TAIL_NEUTRAL")]
|
|
241
|
+
NoteTailRed = Annotated[Sprite, skin_sprite("#NOTE_TAIL_RED")]
|
|
242
|
+
NoteTailGreen = Annotated[Sprite, skin_sprite("#NOTE_TAIL_GREEN")]
|
|
243
|
+
NoteTailBlue = Annotated[Sprite, skin_sprite("#NOTE_TAIL_BLUE")]
|
|
244
|
+
NoteTailYellow = Annotated[Sprite, skin_sprite("#NOTE_TAIL_YELLOW")]
|
|
245
|
+
NoteTailPurple = Annotated[Sprite, skin_sprite("#NOTE_TAIL_PURPLE")]
|
|
246
|
+
NoteTailCyan = Annotated[Sprite, skin_sprite("#NOTE_TAIL_CYAN")]
|
|
247
|
+
|
|
248
|
+
NoteConnectionNeutral = Annotated[Sprite, skin_sprite("#NOTE_CONNECTION_NEUTRAL")]
|
|
249
|
+
NoteConnectionRed = Annotated[Sprite, skin_sprite("#NOTE_CONNECTION_RED")]
|
|
250
|
+
NoteConnectionGreen = Annotated[Sprite, skin_sprite("#NOTE_CONNECTION_GREEN")]
|
|
251
|
+
NoteConnectionBlue = Annotated[Sprite, skin_sprite("#NOTE_CONNECTION_BLUE")]
|
|
252
|
+
NoteConnectionYellow = Annotated[Sprite, skin_sprite("#NOTE_CONNECTION_YELLOW")]
|
|
253
|
+
NoteConnectionPurple = Annotated[Sprite, skin_sprite("#NOTE_CONNECTION_PURPLE")]
|
|
254
|
+
NoteConnectionCyan = Annotated[Sprite, skin_sprite("#NOTE_CONNECTION_CYAN")]
|
|
255
|
+
|
|
256
|
+
NoteConnectionNeutralSeamless = Annotated[Sprite, skin_sprite("#NOTE_CONNECTION_NEUTRAL_SEAMLESS")]
|
|
257
|
+
NoteConnectionRedSeamless = Annotated[Sprite, skin_sprite("#NOTE_CONNECTION_RED_SEAMLESS")]
|
|
258
|
+
NoteConnectionGreenSeamless = Annotated[Sprite, skin_sprite("#NOTE_CONNECTION_GREEN_SEAMLESS")]
|
|
259
|
+
NoteConnectionBlueSeamless = Annotated[Sprite, skin_sprite("#NOTE_CONNECTION_BLUE_SEAMLESS")]
|
|
260
|
+
NoteConnectionYellowSeamless = Annotated[Sprite, skin_sprite("#NOTE_CONNECTION_YELLOW_SEAMLESS")]
|
|
261
|
+
NoteConnectionPurpleSeamless = Annotated[Sprite, skin_sprite("#NOTE_CONNECTION_PURPLE_SEAMLESS")]
|
|
262
|
+
NoteConnectionCyanSeamless = Annotated[Sprite, skin_sprite("#NOTE_CONNECTION_CYAN_SEAMLESS")]
|
|
263
|
+
|
|
264
|
+
SimultaneousConnectionNeutral = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_CONNECTION_NEUTRAL")]
|
|
265
|
+
SimultaneousConnectionRed = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_CONNECTION_RED")]
|
|
266
|
+
SimultaneousConnectionGreen = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_CONNECTION_GREEN")]
|
|
267
|
+
SimultaneousConnectionBlue = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_CONNECTION_BLUE")]
|
|
268
|
+
SimultaneousConnectionYellow = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_CONNECTION_YELLOW")]
|
|
269
|
+
SimultaneousConnectionPurple = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_CONNECTION_PURPLE")]
|
|
270
|
+
SimultaneousConnectionCyan = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_CONNECTION_CYAN")]
|
|
271
|
+
|
|
272
|
+
SimultaneousConnectionNeutralSeamless = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_CONNECTION_NEUTRAL_SEAMLESS")]
|
|
273
|
+
SimultaneousConnectionRedSeamless = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_CONNECTION_RED_SEAMLESS")]
|
|
274
|
+
SimultaneousConnectionGreenSeamless = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_CONNECTION_GREEN_SEAMLESS")]
|
|
275
|
+
SimultaneousConnectionBlueSeamless = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_CONNECTION_BLUE_SEAMLESS")]
|
|
276
|
+
SimultaneousConnectionYellowSeamless = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_CONNECTION_YELLOW_SEAMLESS")]
|
|
277
|
+
SimultaneousConnectionPurpleSeamless = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_CONNECTION_PURPLE_SEAMLESS")]
|
|
278
|
+
SimultaneousConnectionCyanSeamless = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_CONNECTION_CYAN_SEAMLESS")]
|
|
279
|
+
|
|
280
|
+
DirectionalMarkerNeutral = Annotated[Sprite, skin_sprite("#DIRECTIONAL_MARKER_NEUTRAL")]
|
|
281
|
+
DirectionalMarkerRed = Annotated[Sprite, skin_sprite("#DIRECTIONAL_MARKER_RED")]
|
|
282
|
+
DirectionalMarkerGreen = Annotated[Sprite, skin_sprite("#DIRECTIONAL_MARKER_GREEN")]
|
|
283
|
+
DirectionalMarkerBlue = Annotated[Sprite, skin_sprite("#DIRECTIONAL_MARKER_BLUE")]
|
|
284
|
+
DirectionalMarkerYellow = Annotated[Sprite, skin_sprite("#DIRECTIONAL_MARKER_YELLOW")]
|
|
285
|
+
DirectionalMarkerPurple = Annotated[Sprite, skin_sprite("#DIRECTIONAL_MARKER_PURPLE")]
|
|
286
|
+
DirectionalMarkerCyan = Annotated[Sprite, skin_sprite("#DIRECTIONAL_MARKER_CYAN")]
|
|
287
|
+
|
|
288
|
+
SimultaneousMarkerNeutral = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_MARKER_NEUTRAL")]
|
|
289
|
+
SimultaneousMarkerRed = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_MARKER_RED")]
|
|
290
|
+
SimultaneousMarkerGreen = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_MARKER_GREEN")]
|
|
291
|
+
SimultaneousMarkerBlue = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_MARKER_BLUE")]
|
|
292
|
+
SimultaneousMarkerYellow = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_MARKER_YELLOW")]
|
|
293
|
+
SimultaneousMarkerPurple = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_MARKER_PURPLE")]
|
|
294
|
+
SimultaneousMarkerCyan = Annotated[Sprite, skin_sprite("#SIMULTANEOUS_MARKER_CYAN")]
|
|
295
|
+
|
|
296
|
+
StageMiddle = Annotated[Sprite, skin_sprite("#STAGE_MIDDLE")]
|
|
297
|
+
StageLeftBorder = Annotated[Sprite, skin_sprite("#STAGE_LEFT_BORDER")]
|
|
298
|
+
StageRightBorder = Annotated[Sprite, skin_sprite("#STAGE_RIGHT_BORDER")]
|
|
299
|
+
StageTopBorder = Annotated[Sprite, skin_sprite("#STAGE_TOP_BORDER")]
|
|
300
|
+
StageBottomBorder = Annotated[Sprite, skin_sprite("#STAGE_BOTTOM_BORDER")]
|
|
301
|
+
|
|
302
|
+
StageLeftBorderSeamless = Annotated[Sprite, skin_sprite("#STAGE_LEFT_BORDER_SEAMLESS")]
|
|
303
|
+
StageRightBorderSeamless = Annotated[Sprite, skin_sprite("#STAGE_RIGHT_BORDER_SEAMLESS")]
|
|
304
|
+
StageTopBorderSeamless = Annotated[Sprite, skin_sprite("#STAGE_TOP_BORDER_SEAMLESS")]
|
|
305
|
+
StageBottomBorderSeamless = Annotated[Sprite, skin_sprite("#STAGE_BOTTOM_BORDER_SEAMLESS")]
|
|
306
|
+
|
|
307
|
+
StageTopLeftCorner = Annotated[Sprite, skin_sprite("#STAGE_TOP_LEFT_CORNER")]
|
|
308
|
+
StageTopRightCorner = Annotated[Sprite, skin_sprite("#STAGE_TOP_RIGHT_CORNER")]
|
|
309
|
+
StageBottomLeftCorner = Annotated[Sprite, skin_sprite("#STAGE_BOTTOM_LEFT_CORNER")]
|
|
310
|
+
StageBottomRightCorner = Annotated[Sprite, skin_sprite("#STAGE_BOTTOM_RIGHT_CORNER")]
|
|
311
|
+
|
|
312
|
+
Lane = Annotated[Sprite, skin_sprite("#LANE")]
|
|
313
|
+
LaneSeamless = Annotated[Sprite, skin_sprite("#LANE_SEAMLESS")]
|
|
314
|
+
LaneAlternative = Annotated[Sprite, skin_sprite("#LANE_ALTERNATIVE")]
|
|
315
|
+
LaneAlternativeSeamless = Annotated[Sprite, skin_sprite("#LANE_ALTERNATIVE_SEAMLESS")]
|
|
316
|
+
|
|
317
|
+
JudgmentLine = Annotated[Sprite, skin_sprite("#JUDGMENT_LINE")]
|
|
318
|
+
NoteSlot = Annotated[Sprite, skin_sprite("#NOTE_SLOT")]
|
|
319
|
+
StageCover = Annotated[Sprite, skin_sprite("#STAGE_COVER")]
|
|
320
|
+
|
|
321
|
+
GridNeutral = Annotated[Sprite, skin_sprite("#GRID_NEUTRAL")]
|
|
322
|
+
GridRed = Annotated[Sprite, skin_sprite("#GRID_RED")]
|
|
323
|
+
GridGreen = Annotated[Sprite, skin_sprite("#GRID_GREEN")]
|
|
324
|
+
GridBlue = Annotated[Sprite, skin_sprite("#GRID_BLUE")]
|
|
325
|
+
GridYellow = Annotated[Sprite, skin_sprite("#GRID_YELLOW")]
|
|
326
|
+
GridPurple = Annotated[Sprite, skin_sprite("#GRID_PURPLE")]
|
|
327
|
+
GridCyan = Annotated[Sprite, skin_sprite("#GRID_CYAN")]
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
@skin
|
|
331
|
+
class EmptySkin:
|
|
332
|
+
pass
|