mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 02:25:32 -04:00
3DS/Wii/PSP/GameCube: Some improvements
3DS: Now also supports using circle pad for moving camera Wii/PSP/GameCube: Falls back to using default.png from texture pack for fonts in launcher, instead of never displaying any text at all
This commit is contained in:
parent
2aa9e65262
commit
8bf0e1aa87
6
.github/workflows/build_3ds.yml
vendored
6
.github/workflows/build_3ds.yml
vendored
@ -23,12 +23,6 @@ jobs:
|
||||
NOTIFY_MESSAGE: 'Failed to compile 3DS build'
|
||||
WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}'
|
||||
|
||||
- uses: ./.github/actions/upload_build
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
SOURCE_FILE: 'ClassiCube-3ds.elf'
|
||||
DEST_NAME: 'ClassiCube-3ds.elf'
|
||||
|
||||
- uses: ./.github/actions/upload_build
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
|
6
.github/workflows/build_wiigc.yml
vendored
6
.github/workflows/build_wiigc.yml
vendored
@ -23,12 +23,6 @@ jobs:
|
||||
NOTIFY_MESSAGE: 'Failed to compile Wii/Gamecube build'
|
||||
WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}'
|
||||
|
||||
- uses: ./.github/actions/upload_build
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
SOURCE_FILE: 'ClassiCube-wii.elf'
|
||||
DEST_NAME: 'ClassiCube-wii.elf'
|
||||
|
||||
- uses: ./.github/actions/upload_build
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
|
@ -734,6 +734,9 @@ cc_result SysFont_Make(struct FontDesc* desc, const cc_string* fontName, int siz
|
||||
desc->height = Drawer2D_AdjHeight(size);
|
||||
|
||||
desc->handle = (void*)1;
|
||||
|
||||
// TODO: Actually implement native font APIs
|
||||
Font_MakeBitmapped(desc, size, flags);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -105,6 +105,12 @@ void Window_ProcessEvents(double delta) {
|
||||
Cursor_GetRawPos(&x, &y);
|
||||
Pointer_SetPosition(0, x, y);
|
||||
}
|
||||
|
||||
if (Input_RawMode) {
|
||||
circlePosition pos = { 0, 0 };
|
||||
hidCircleRead(&pos);
|
||||
Event_RaiseRawMove(&PointerEvents.RawMoved, -pos.dx / 32.0f, pos.dy / 32.0f);
|
||||
}
|
||||
}
|
||||
|
||||
static void Cursor_GetRawPos(int* x, int* y) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user