projects
/
fishladder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more comprehensive audio visualizer
[fishladder.git]
/
fishladder.c
diff --git
a/fishladder.c
b/fishladder.c
index e6d2ef7da97ca18bc2f92965bd84fc7fd9898c97..e024fca71987265a050db88d2a0be6b4f99317de 100644
(file)
--- a/
fishladder.c
+++ b/
fishladder.c
@@
-597,6
+597,7
@@
void vg_update(void)
else
world.selected = -1;
}
else
world.selected = -1;
}
+ else world.selected = -1;
// Simulation stop/start
if( vg_get_button_down("go") )
// Simulation stop/start
if( vg_get_button_down("go") )
@@
-640,7
+641,8
@@
void vg_update(void)
{
while( world.sim_frame < (int)((vg_time-world.sim_start)*2.0f) )
{
{
while( world.sim_frame < (int)((vg_time-world.sim_start)*2.0f) )
{
- vg_info( "frame: %u\n", world.sim_frame );
+ //vg_info( "frame: %u\n", world.sim_frame );
+ sfx_set_playrnd( &audio_random, &audio_system_balls_switching, 0, 9 );
for( int i = 0; i < arrlen( world.io ); i ++ )
{
for( int i = 0; i < arrlen( world.io ); i ++ )
{
@@
-1100,4
+1102,5
@@
void vg_render(void)
void vg_ui(void)
{
//ui_test();
void vg_ui(void)
{
//ui_test();
+ sfx_internal_debug_overlay();
}
}