forked from rachit3006/CPP-Project-SDL2-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwin.cpp
More file actions
30 lines (26 loc) · 696 Bytes
/
Copy pathwin.cpp
File metadata and controls
30 lines (26 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// #include <stdio.h>
// #include "Homescreen.h"
// int main(int argc, char* args[])
// {
// Window* w = new Window();
// w->makeWindow("Game",1250,650);
// w->set_button("images/download.bmp",100,520);
// w->set_button("images/instructions.bmp",1100,520);
// Buttons* b = new Buttons();
// //flag work
// //1 new game
// //2 instructions
// //3 high score
// b->mouse_click(100,520,201,115,1);
// SDL_Event event;
// bool quit=true;
// while(quit)
// {
// while(SDL_PollEvent(&event)!=0)
// {
// if(event.type == SDL_QUIT)
// quit=false;
// }
// }
// return 0;
// }