Need the hit.wav to be mono, but now we have a sound we can move around, just not sure how to place it based on the visuals.

This commit is contained in:
Zed A. Shaw 2024-10-28 19:46:55 -04:00
parent 9102bdc8ad
commit 4ed06b10b1
11 changed files with 144 additions and 41 deletions

View file

@ -5,62 +5,68 @@
using namespace fmt;
#line 14 ".\\scratchpad\\testragel.rl"
#line 11 ".\\scratchpad\\testragel.rl"
#line 8 ".\\scratchpad\\testragel.cpp"
static const char _foo_actions[] = {
0, 1, 0, 1, 1, 1, 2
0, 1, 0, 1, 1, 1, 2, 1,
3, 1, 4, 1, 5
};
static const char _foo_key_offsets[] = {
0, 0, 1, 2, 4, 7, 9, 12,
13
0, 0, 1, 3, 5, 8, 10, 13,
14, 16, 19, 21, 24, 25
};
static const char _foo_trans_keys[] = {
27, 91, 48, 57, 59, 48, 57, 48,
57, 109, 48, 57, 0, 0
27, 65, 91, 48, 57, 59, 48, 57,
48, 57, 109, 48, 57, 0, 48, 57,
59, 48, 57, 48, 57, 109, 48, 57,
0, 0
};
static const char _foo_single_lengths[] = {
0, 1, 1, 0, 1, 0, 1, 1,
0
0, 1, 2, 0, 1, 0, 1, 1,
0, 1, 0, 1, 1, 0
};
static const char _foo_range_lengths[] = {
0, 0, 0, 1, 1, 1, 1, 0,
0
1, 1, 1, 1, 0, 0
};
static const char _foo_index_offsets[] = {
0, 0, 2, 4, 6, 9, 11, 14,
16
0, 0, 2, 5, 7, 10, 12, 15,
17, 19, 22, 24, 27, 29
};
static const char _foo_indicies[] = {
0, 1, 2, 1, 3, 1, 4, 3,
1, 5, 1, 6, 5, 1, 7, 1,
1, 0
0, 1, 2, 3, 1, 4, 1, 5,
4, 1, 6, 1, 7, 6, 1, 8,
1, 9, 1, 10, 9, 1, 11, 1,
12, 11, 1, 13, 1, 1, 0
};
static const char _foo_trans_targs[] = {
2, 0, 3, 4, 5, 6, 7, 8
2, 0, 3, 8, 4, 5, 6, 7,
13, 9, 10, 11, 12, 13
};
static const char _foo_trans_actions[] = {
0, 0, 0, 1, 0, 3, 0, 5
0, 0, 0, 0, 7, 0, 9, 0,
11, 1, 0, 3, 0, 5
};
static const int foo_start = 1;
static const int foo_first_final = 8;
static const int foo_first_final = 13;
static const int foo_error = 0;
static const int foo_en_main = 1;
#line 17 ".\\scratchpad\\testragel.rl"
#line 14 ".\\scratchpad\\testragel.rl"
int main() {
int cs, res = 0;
@ -69,14 +75,14 @@ int main() {
char *p = test;
char *pe = p + strlen(p) + 1;
#line 64 ".\\scratchpad\\testragel.cpp"
#line 70 ".\\scratchpad\\testragel.cpp"
{
cs = foo_start;
}
#line 25 ".\\scratchpad\\testragel.rl"
#line 22 ".\\scratchpad\\testragel.rl"
#line 67 ".\\scratchpad\\testragel.cpp"
#line 73 ".\\scratchpad\\testragel.cpp"
{
int _klen;
unsigned int _trans;
@ -151,18 +157,30 @@ _match:
switch ( *_acts++ )
{
case 0:
#line 9 ".\\scratchpad\\testragel.rl"
#line 7 ".\\scratchpad\\testragel.rl"
{ println("NUM1"); }
break;
case 1:
#line 11 ".\\scratchpad\\testragel.rl"
#line 7 ".\\scratchpad\\testragel.rl"
{ println("NUM2"); }
break;
case 2:
#line 13 ".\\scratchpad\\testragel.rl"
#line 7 ".\\scratchpad\\testragel.rl"
{ res = 1; }
break;
#line 149 ".\\scratchpad\\testragel.cpp"
case 3:
#line 8 ".\\scratchpad\\testragel.rl"
{ println("NUM1"); }
break;
case 4:
#line 8 ".\\scratchpad\\testragel.rl"
{ println("NUM2"); }
break;
case 5:
#line 8 ".\\scratchpad\\testragel.rl"
{ res = 2; }
break;
#line 164 ".\\scratchpad\\testragel.cpp"
}
}
@ -175,7 +193,7 @@ _again:
_out: {}
}
#line 26 ".\\scratchpad\\testragel.rl"
#line 23 ".\\scratchpad\\testragel.rl"
fmt::println("result = {}", res);
return 0;