Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Graphics API #244

Merged
merged 50 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
b773a8f
image module, graphics work
TurtleP Apr 30, 2024
0aced70
we're getting there™
TurtleP May 1, 2024
fc6cb88
minor adjustments
TurtleP May 2, 2024
3d0c8d6
minor update
TurtleP May 2, 2024
79e9fcf
yay primitives and textures
TurtleP May 2, 2024
6dbd00a
cleanup
TurtleP May 3, 2024
0584a6b
expose Quads to lua
TurtleP May 4, 2024
986bc48
push 3ds work
TurtleP May 13, 2024
1d05f9d
3ds: fonts almost work
TurtleP May 29, 2024
66872ae
fonts work, but not using color properly
TurtleP May 29, 2024
3ee72eb
fix file casing
TurtleP May 29, 2024
3ca6b1a
fix arguments order, bleh
TurtleP May 29, 2024
cc2cc95
fix da fonts on 3ds :D
TurtleP May 30, 2024
22e8aec
text batches are working :D
TurtleP May 30, 2024
f239e3d
try to do some mesh stuff, add polylined stuff
TurtleP May 30, 2024
afaf9c3
Wii U compiles
TurtleP Jun 26, 2024
3e91b4a
Update Nintendo Wii U.yml
TurtleP Jun 27, 2024
b742925
Update Font.cpp
TurtleP Jun 27, 2024
d64a0a1
use UINT_LE?
TurtleP Jun 27, 2024
9b15eaf
Merge branch 'dev/graphics' of https://github.com/lovebrew/lovepotion…
TurtleP Jun 27, 2024
6415ec7
push changes
TurtleP Jun 27, 2024
7ff0e70
push some changes
TurtleP Jun 27, 2024
7b2f1d7
actually find the location of the uniform block
TurtleP Jun 28, 2024
ed5d48a
push code changes
TurtleP Jul 2, 2024
679213d
fix this for CI
TurtleP Jul 2, 2024
29241ff
fix CI stuff
TurtleP Jul 21, 2024
ca153c5
fix error on setting looping for stream sources, add catchexception t…
TurtleP Jul 21, 2024
40ff82f
curse you, semicolons
TurtleP Jul 21, 2024
6163a4b
fix gamepad axis not hitting zero on 3ds
TurtleP Jul 21, 2024
55f91c5
love.graphics.line
TurtleP Jul 21, 2024
d842bf4
luasocket + add callback check for keyboards
TurtleP Aug 11, 2024
c300387
remove logfile - it's useless now
TurtleP Aug 12, 2024
a9ec4ef
push whatever this was
TurtleP Sep 29, 2024
fc07b10
remove debug scripts because no need
TurtleP Sep 29, 2024
902f6e2
we have the gamepad rendering
TurtleP Sep 29, 2024
15b0fcd
push changes, wii u renders on debug build but not release
TurtleP Oct 29, 2024
4ba83b0
code cleanup
TurtleP Oct 31, 2024
0590864
fix wii u release not rendering
TurtleP Nov 1, 2024
8629528
reenable vpad on eventqueue
TurtleP Nov 1, 2024
86c3bd1
fix logging things back to how it was
TurtleP Nov 1, 2024
443af2d
add wiimote pos/angle functions for joysticks
TurtleP Nov 2, 2024
1aba604
get switch rendering started-ish
TurtleP Nov 4, 2024
92b1112
why was this here
TurtleP Nov 4, 2024
1085133
switch primitives work
TurtleP Nov 5, 2024
00733f1
switch can render points
TurtleP Nov 7, 2024
f06000d
switch texture work
TurtleP Nov 8, 2024
1539ad5
( ͡° ͜ʖ ͡°)
TurtleP Nov 14, 2024
2aede94
re-add sysfont loading
TurtleP Nov 14, 2024
6090002
commit some fixes
TurtleP Nov 14, 2024
a879673
fix compilation woops
TurtleP Nov 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 6 additions & 12 deletions .github/workflows/Nintendo 3DS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Configure
run: /opt/devkitpro/portlibs/3ds/bin/arm-none-eabi-cmake -S . -B build

- name: Build
run: make -C build
run: catnip -T 3DS

- id: commit
uses: prompt/actions-commit-hash@v3
Expand All @@ -27,8 +24,8 @@ jobs:
with:
name: Nintendo 3DS-${{ steps.commit.outputs.short }}
path: |
build/*.elf
build/*.3dsx
build/**/*.elf
build/**/*.3dsx

N3DS-Debug:
runs-on: ubuntu-latest
Expand All @@ -41,11 +38,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Configure
run: /opt/devkitpro/portlibs/3ds/bin/arm-none-eabi-cmake -DCMAKE_BUILD_TYPE=Debug -S . -B build

- name: Build
run: make -C build
run: catnip -T 3DS debug

- id: commit
uses: prompt/actions-commit-hash@v3
Expand All @@ -54,5 +48,5 @@ jobs:
with:
name: Nintendo 3DS (Debug)-${{ steps.commit.outputs.short }}
path: |
build/*.elf
build/*.3dsx
build/**/*.elf
build/**/*.3dsx
18 changes: 6 additions & 12 deletions .github/workflows/Nintendo Switch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Configure
run: /opt/devkitpro/portlibs/switch/bin/aarch64-none-elf-cmake -S . -B build

- name: Build
run: make -C build
run: catnip -T Switch

- id: commit
uses: prompt/actions-commit-hash@v3
Expand All @@ -27,8 +24,8 @@ jobs:
with:
name: Nintendo Switch-${{ steps.commit.outputs.short }}
path: |
build/*.elf
build/*.nro
build/**/*.elf
build/**/*.nro

Switch-Debug:
runs-on: ubuntu-latest
Expand All @@ -41,11 +38,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Configure
run: /opt/devkitpro/portlibs/switch/bin/aarch64-none-elf-cmake -DCMAKE_BUILD_TYPE=Debug -S . -B build

- name: Build
run: make -C build
run: catnip -T Switch debug

- id: commit
uses: prompt/actions-commit-hash@v3
Expand All @@ -54,5 +48,5 @@ jobs:
with:
name: Nintendo Switch (Debug)-${{ steps.commit.outputs.short }}
path: |
build/*.elf
build/*.nro
build/**/*.elf
build/**/*.nro
18 changes: 6 additions & 12 deletions .github/workflows/Nintendo Wii U.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Configure
run: /opt/devkitpro/portlibs/wiiu/bin/powerpc-eabi-cmake -S . -B build

- name: Build
run: make -C build
run: catnip -T WiiU

- id: commit
uses: prompt/actions-commit-hash@v3
Expand All @@ -27,8 +24,8 @@ jobs:
with:
name: Nintendo Wii U-${{ steps.commit.outputs.short }}
path: |
build/*.elf
build/*.wuhb
build/**/*.elf
build/**/*.wuhb

WiiU-Debug:
runs-on: ubuntu-latest
Expand All @@ -41,11 +38,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Configure
run: /opt/devkitpro/portlibs/wiiu/bin/powerpc-eabi-cmake -DCMAKE_BUILD_TYPE=Debug -S . -B build

- name: Build
run: make -C build
run: catnip -T WiiU debug

- id: commit
uses: prompt/actions-commit-hash@v3
Expand All @@ -54,5 +48,5 @@ jobs:
with:
name: Nintendo Wii U (Debug)-${{ steps.commit.outputs.short }}
path: |
build/*.elf
build/*.wuhb
build/**/*.elf
build/**/*.wuhb
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ target/
*.3dsx
*.nro
*.wuhb
*.py
__pycache__/
todo.md
Loading