Skip to content

Commit

Permalink
Merge pull request #4 from savaughn/add-raylib-for-graphics
Browse files Browse the repository at this point in the history
Add raylib for graphics
  • Loading branch information
savaughn authored Sep 26, 2023
2 parents d5536e8 + 28bf688 commit 490c656
Show file tree
Hide file tree
Showing 1,148 changed files with 306,094 additions and 5,591 deletions.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

- name: Build libpksav
- name: Build pksav
run: |
cd libpksav/
cd deps/pksav/
cmake .
make
Expand Down
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
*.out
*.dll
*.so
*.o
*.a
*.dylib

build/
.DS_Store
obj/
*.DS_Store
src/pokeromtrader
3 changes: 2 additions & 1 deletion .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"name": "Mac",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/libpksav/include"
"${workspaceFolder}/deps/pksav/include",
"${workspaceFolder}/../raylib/src/"
],
"defines": [],
"macFrameworkPath": [
Expand Down
60 changes: 57 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,19 @@
"-o",
"${fileDirname}/pokeromtrader.out",
"-I",
"../libpksav/include",
"../deps/pksav/include",
"-L",
"../libpksav/lib",
"../deps/pksav/lib",
"-l",
"pksav",
"-I",
"../../raylib/src",
"-L",
"../../raylib/src",
"-L",
"../../raylib",
"-l",
"raylib",
],
"options": {
"cwd": "${fileDirname}"
Expand All @@ -28,7 +36,53 @@
"isDefault": true
},
"detail": "Task generated by Debugger."
}
},
{
"label": "Build PokeromTrader",
"type": "shell",
"command": "make",
"args": [],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": {
"owner": "cpp",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
},
{
"label": "Debug PokeromTrader",
"type": "shell",
"command": "lldb", // Replace with the debugger command you use (e.g., "lldb" for LLDB)
"args": [
"${workspaceFolder}/src/pokeromtrader" // Replace with your executable path
],
"group": {
"kind": "test",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
}
],
"version": "2.0.0"
}
Loading

0 comments on commit 490c656

Please sign in to comment.