File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 1212        ============== 
1313         
1414        zcc +<target> -lndos -create-app -ocollider -DSOUND -DJOYSTICK_DIALOG collider.c 
15- 		 
16- 		(-DSOUND and -DJOYSTICK_DIALOG can be removed where not applicable) 
15+          
16+         Minimum graphics resolution required: 96x64 
17+         Use -pragma-redirect=fputc_cons=putc4x6 if text and graphics aren't mixed natively 
18+          
19+          
20+         (-DSOUND and -DJOYSTICK_DIALOG can be removed where not applicable) 
1721
1822*/ 
1923
@@ -193,6 +197,9 @@ struct player {
193197        void 	* oldsprite ;
194198};
195199
200+ struct  player  player1 ;
201+ struct  player  player2 ;
202+ 
196203char  scoretxt [7 ];
197204int  x ,y ,z ;
198205int  stick ;
@@ -346,8 +353,6 @@ eat_dot() {
346353
347354main ()
348355{
349- 	struct  player  player1 ;
350- 	struct  player  player2 ;
351356
352357	clg ();
353358
@@ -358,6 +363,8 @@ main()
358363 /****  JOYSTICK CHOICE  ****/ 
359364#ifdef  JOYSTICK_DIALOG 
360365
366+ //	printf("%c",12); 
367+ 
361368	putsprite (SPR_OR ,0 ,0 , logo );
362369	printf ("\n\n" );
363370
@@ -498,12 +505,6 @@ main()
498505	  draw_sprite (player1 );
499506	  draw_sprite (player2 );
500507
501- 	  
502- //	#ifdef FAST 
503- //	  score++; 
504- //	#else 
505- //	  show_score(score++); 
506- //	#endif 
507508
508509	#ifdef  SOUND 
509510	  bit_click ();
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments