-florian66-

test

Dec 22nd, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. void Mini(char* c, int n , int key , void (*fonction)())
  2. {
  3.     int i;
  4.     short j;
  5.     for(i=56 ; i<64 ; i++)
  6.         Bdisp_DrawLineVRAM(n*21+2, i, n*21+20, i);
  7.     while(c[j]) j++;
  8.     if(j<4) i=4;
  9.     else i=3;
  10.     PrintMini(n*21+i, 58, c, 18); //18
  11.     if (IsKeyDown(key)) fonction();
  12. }
Advertisement
Add Comment
Please, Sign In to add comment