SpiralRock

Tushar

May 8th, 2010
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.74 KB | None | 0 0
  1. #include<iostream.h>
  2. #include<conio.h>
  3. #include<graphics.h>
  4. #include<time.h>
  5. #include<dos.h>
  6. #include<stdio.h>
  7.  
  8. int Map();
  9.  
  10. int Map() {
  11. int LeftHavana = 75;
  12. int TopHavana = 50;
  13. int RightHavana= 580;
  14. int BottomHavana= 150;
  15. setfillstyle(1,5);
  16. bar(LeftHavana, TopHavana, RightHavana, BottomHavana);
  17.  
  18. return 0;
  19. }
  20. /*int IngameTime(int start);
  21.  
  22. int IngameTime(int start){
  23.     clock_t end;
  24.     clrscr();
  25.     end=clock();
  26.     int X,Y;
  27.     X=20;
  28.     Y=2;
  29.     outtextxy(X,Y,(end-start));
  30.     return 0;
  31.     }
  32. */
  33. void main() {
  34.  
  35. int gd = DETECT, gm;
  36. initgraph(&gd, &gm, "C:\\TC\\bgi");
  37.  
  38. //int GameMode=1;
  39.  
  40. //clock_t start, end;
  41.  
  42. /*
  43. while (GameMode==1); {
  44.     start = clock();
  45.     IngameTime(start);
  46.     delay(1000);
  47.     }
  48. */
  49. int Map();
  50. getch();
  51. closegraph();
  52. }
Add Comment
Please, Sign In to add comment