feat: window init
This commit is contained in:
parent
247b9927bf
commit
9aaa7a9374
3 changed files with 17 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
build*/
|
||||
compile_commands.json
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
project('PowderTech', 'cpp')
|
||||
|
||||
rlib = dependency('raylib')
|
||||
|
||||
executable('powder-tech','src/main.cpp',dependencies: rlib)
|
||||
11
src/main.cpp
11
src/main.cpp
|
|
@ -1,3 +1,14 @@
|
|||
#include <raylib.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
InitWindow(640, 360, "PowderTech");
|
||||
|
||||
while(WindowShouldClose() == false) {
|
||||
|
||||
}
|
||||
|
||||
CloseWindow();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue