Skip to content

Commit a125d82

Browse files
committed
init
1 parent 3740342 commit a125d82

14 files changed

+958
-2
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.exe
2+
*.dsym
3+
main

.vscode/.gitkeep

Whitespace-only changes.

.vscode/c_cpp_properties.json

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Win32",
5+
"includePath": [
6+
"C:/raylib/raylib/src/**",
7+
"${workspaceFolder}/**"
8+
],
9+
"defines": [
10+
"_DEBUG",
11+
"UNICODE",
12+
"_UNICODE",
13+
"GRAPHICS_API_OPENGL_33",
14+
"PLATFORM_DESKTOP"
15+
],
16+
"compilerPath": "C:/raylib/w64devkit/bin/gcc.exe",
17+
"cStandard": "c99",
18+
"cppStandard": "c++14",
19+
"intelliSenseMode": "gcc-x64"
20+
},
21+
{
22+
"name": "Mac",
23+
"includePath": [
24+
"${workspaceFolder}/**",
25+
"/opt/homebrew/include"
26+
],
27+
"defines": [
28+
"_DEBUG",
29+
"UNICODE",
30+
"_UNICODE",
31+
"GRAPHICS_API_OPENGL_33",
32+
"PLATFORM_DESKTOP"
33+
],
34+
"macFrameworkPath": [
35+
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks"
36+
],
37+
"compilerPath": "/usr/bin/clang",
38+
"cStandard": "c11",
39+
"cppStandard": "c++14",
40+
"intelliSenseMode": "clang-x64"
41+
},
42+
{
43+
"name": "Linux",
44+
"includePath": [
45+
"/home/linuxbrew/.linuxbrew/include",
46+
"${workspaceFolder}/**"
47+
],
48+
"defines": [
49+
"_DEBUG",
50+
"UNICODE",
51+
"_UNICODE",
52+
"GRAPHICS_API_OPENGL_33",
53+
"PLATFORM_DESKTOP"
54+
],
55+
"cStandard": "c11",
56+
"cppStandard": "c++14",
57+
"intelliSenseMode": "gcc-x64"
58+
}
59+
],
60+
"version": 4
61+
}

.vscode/launch.json

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Debug",
9+
"type": "cppdbg",
10+
"request": "launch",
11+
"program": "${workspaceFolder}/${fileBasenameNoExtension}",
12+
"args": [],
13+
"stopAtEntry": false,
14+
"cwd": "${workspaceFolder}",
15+
"environment": [],
16+
"externalConsole": false,
17+
"MIMode": "gdb",
18+
"setupCommands": [
19+
{
20+
"description": "Enable pretty-printing for gdb",
21+
"text": "-enable-pretty-printing",
22+
"ignoreFailures": false
23+
}
24+
],
25+
"windows": {
26+
"miDebuggerPath": "C:/raylib/w64devkit/bin/gdb.exe",
27+
},
28+
"osx": {
29+
"MIMode": "lldb"
30+
},
31+
"linux": {
32+
"miDebuggerPath": "/usr/bin/gdb",
33+
},
34+
"preLaunchTask": "build debug"
35+
},
36+
{
37+
"name": "Run",
38+
"type": "cppdbg",
39+
"request": "launch",
40+
"args": [],
41+
"stopAtEntry": false,
42+
"cwd": "${workspaceFolder}",
43+
"environment": [],
44+
"externalConsole": false,
45+
"program": "${workspaceFolder}/${fileBasenameNoExtension}",
46+
"MIMode": "gdb",
47+
"windows": {
48+
"program": "${workspaceFolder}/${fileBasenameNoExtension}.exe",
49+
"miDebuggerPath": "C:/raylib/w64devkit/bin/gdb.exe"
50+
},
51+
"osx": {
52+
"MIMode": "lldb"
53+
},
54+
"linux": {
55+
"miDebuggerPath": "/usr/bin/gdb"
56+
},
57+
"preLaunchTask": "build release",
58+
}
59+
]
60+
}

.vscode/settings.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"files.exclude": {
3+
"**/.git": true,
4+
"**/.svn": true,
5+
"**/.hg": true,
6+
"**/CVS": true,
7+
"**/.DS_Store": true,
8+
"**/*.o": true,
9+
"**/*.exe": true,
10+
}
11+
}

.vscode/tasks.json

+88
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "build debug",
8+
"type": "process",
9+
"command": "make",
10+
"args": [
11+
"PLATFORM=PLATFORM_DESKTOP",
12+
"BUILD_MODE=DEBUG"
13+
],
14+
"windows": {
15+
"command": "C:/raylib/w64devkit/bin/mingw32-make.exe",
16+
"args": [
17+
"RAYLIB_PATH=C:/raylib/raylib",
18+
"PROJECT_NAME=${fileBasenameNoExtension}",
19+
"OBJS=*.cpp",
20+
"BUILD_MODE=DEBUG"
21+
]
22+
},
23+
"osx": {
24+
"args": [
25+
"PROJECT_NAME=${fileBasenameNoExtension}",
26+
"OBJS=*.cpp",
27+
"BUILD_MODE=DEBUG"
28+
]
29+
},
30+
"linux": {
31+
"args": [
32+
"PROJECT_NAME=${fileBasenameNoExtension}",
33+
"DESTDIR=/home/linuxbrew/.linuxbrew",
34+
"RAYLIB_LIBTYPE=SHARED",
35+
"EXAMPLE_RUNTIME_PATH=/home/linuxbrew/.linuxbrew/lib",
36+
"OBJS=*.cpp",
37+
"BUILD_MODE=DEBUG"
38+
]
39+
},
40+
"group": {
41+
"kind": "build",
42+
"isDefault": true
43+
},
44+
"problemMatcher": [
45+
"$gcc"
46+
]
47+
},
48+
{
49+
"label": "build release",
50+
"type": "process",
51+
"command": "make",
52+
"args": [
53+
"PLATFORM=PLATFORM_DESKTOP"
54+
],
55+
"windows": {
56+
"command": "C:/raylib/w64devkit/bin/mingw32-make.exe",
57+
"args": [
58+
"RAYLIB_PATH=C:/raylib/raylib",
59+
"PROJECT_NAME=${fileBasenameNoExtension}",
60+
"OBJS=*.cpp"
61+
]
62+
},
63+
"osx": {
64+
"args": [
65+
"PROJECT_NAME=${fileBasenameNoExtension}",
66+
"OBJS=*.cpp"
67+
]
68+
},
69+
"linux": {
70+
"args": [
71+
"PROJECT_NAME=${fileBasenameNoExtension}",
72+
"DESTDIR=/home/linuxbrew/.linuxbrew",
73+
"RAYLIB_LIBTYPE=SHARED",
74+
"EXAMPLE_RUNTIME_PATH=/home/linuxbrew/.linuxbrew/lib",
75+
"OBJS=*.cpp"
76+
]
77+
},
78+
"problemMatcher": [
79+
"$gcc"
80+
],
81+
"group": {
82+
"kind": "build",
83+
"isDefault": false
84+
},
85+
"detail": "compiler: C:\\raylib\\mingw\\bin\\g++.exe"
86+
}
87+
]
88+
}

Graphics/food.png

217 Bytes
Loading

0 commit comments

Comments
 (0)