Exemple #1
0
do_movie_com(int c)

{



/*  XDestroyWindow(display,temp); 
  draw_help();
  XFlush(display); */ 
 switch(c){

	     case 0: if(film_clip()==0)
	 respond_box("Okay","Out of film!");
			break;
	      case 1: reset_film();
	                break;
	      case 2: play_back();
		        break;
	      case 3: auto_play();
			 break;
              case 4: save_kine();
		        break;
              case 5: make_anigif();
		        break;
	    }
      
  }
Exemple #2
0
// コリラのほうが性格的に正しい
void* timing_loop(void* args) {

	while (control_loop_running) {
		// これだけで十分あまり性格的なタイミングが必要ないかも
		// The control loop timing is not that accurate, but it doesn't need to be.
		usleep(100000); // 100ミリ秒
		vol_automation();
		increase_ammo();
		if (show_gameplay && !playback_paused) auto_play();
	}

	return NULL;
}