Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
9f489fe
Initial "port"
Omar-Kay Jan 26, 2025
16d6823
Debounce analogue stick/focus state
Omar-Kay Jan 27, 2025
acd420e
Interfaces for data providers
Omar-Kay Jan 28, 2025
3761b0b
Use enum for title selection state
Omar-Kay Jan 28, 2025
bf768c8
Clean up dead weight
Omar-Kay Jan 28, 2025
20cbf52
focusable interface
Omar-Kay Jan 28, 2025
4a8ac6c
Create gamelist component
Omar-Kay Jan 28, 2025
270416d
Adjust background issue
Omar-Kay Feb 1, 2025
013eaa8
Get text centered in sections
Omar-Kay Feb 1, 2025
69f91cc
Rectify x-coordinate issue
Omar-Kay Feb 1, 2025
5b5e7b4
Get game title
Omar-Kay Feb 1, 2025
209cc94
Adjust margins
Omar-Kay Feb 1, 2025
c7c8682
Add better divider
Omar-Kay Feb 1, 2025
65161d5
Add custom font support
Omar-Kay Feb 1, 2025
73c5da5
Touch screen support
Omar-Kay Feb 2, 2025
8ce6053
Add support for grid in installed game section
Omar-Kay Feb 2, 2025
8469915
chore: update Plutonium submodule to point to forked repo
Omar-Kay Feb 4, 2025
86a5c61
Add nintendo button font
Omar-Kay Feb 5, 2025
ccc7289
Create logging utility
Omar-Kay Feb 5, 2025
faa4937
Optimize pattern renderer
Omar-Kay Feb 5, 2025
95e1ce3
Setup before trigger button work
Omar-Kay Feb 6, 2025
2fede23
Feature parity scroll view
Omar-Kay Feb 7, 2025
9c22da6
Trigger buttons
Omar-Kay Feb 7, 2025
121ca45
Extract console game list component
Omar-Kay Feb 8, 2025
9525d90
Font tweaks and forgotten setup
Omar-Kay Feb 8, 2025
c7cd25e
Add navigation between/to trigger buttons
Omar-Kay Feb 11, 2025
5c86c28
Adjust folder structure for input
Omar-Kay Feb 12, 2025
c29e71c
Add emulator mock titles
Omar-Kay Feb 12, 2025
3eb5428
Restore console game list
Omar-Kay Feb 12, 2025
17450a1
Add custom title provider
Omar-Kay Feb 13, 2025
eb92423
Create full width game list component
Omar-Kay Feb 13, 2025
39ad76d
Game list navigation
Omar-Kay Feb 13, 2025
175a7c7
account manager / user icon
Omar-Kay Feb 14, 2025
4f74453
Improve directional control to user icon
Omar-Kay Feb 14, 2025
0c2300b
Hide/show user icon based on game list + minor UI improvements
Omar-Kay Feb 15, 2025
7399fb2
Initial save/title based on user account in data
Omar-Kay Feb 15, 2025
ae04b57
Fix render issue on account load
Omar-Kay Feb 15, 2025
c3e9cd7
Add ZL to show account selector functionality
Omar-Kay Feb 17, 2025
cf1995a
Help footer
Omar-Kay Feb 17, 2025
292ad0b
Hi-res app icon
SK-Crow Feb 19, 2025
515acae
Update git modules
Omar-Kay Feb 19, 2025
cbedf90
Main menu start
Omar-Kay Feb 20, 2025
e37ebd9
+ hi-res anim_squares.png
SK-Crow Feb 21, 2025
c724af3
updated anim_squares.png to white tint
SK-Crow Feb 21, 2025
8f643a8
+ 4 ui background styles
SK-Crow Feb 21, 2025
8bc6ea4
[correction] Use primary anim squares
Omar-Kay Feb 21, 2025
426c2bd
Add patterned background
Omar-Kay Feb 21, 2025
ea239ab
+ 2 bg options
SK-Crow Feb 21, 2025
5606f99
Push winning variant
Omar-Kay Feb 21, 2025
5d1c0c4
+ 3 separate, trimmed squares
SK-Crow Feb 21, 2025
f725b86
Enable screen recording in app
Omar-Kay Feb 22, 2025
80c122e
Animate individual layers
Omar-Kay Feb 22, 2025
f339087
Trainer info
Omar-Kay Feb 22, 2025
b0d3876
Menu grid
Omar-Kay Feb 22, 2025
ccb66f7
Add help footer
Omar-Kay Feb 22, 2025
67bd452
Quick cleanup
Omar-Kay Feb 22, 2025
31fe687
+ bag 200x200px
SK-Crow Feb 23, 2025
069e8b2
+ icon_scripts files
SK-Crow Feb 23, 2025
44aa5c3
+ icon_settings.png
SK-Crow Feb 23, 2025
87eb11e
+ icon_events.png
SK-Crow Feb 23, 2025
2481bff
+ icon_editor.png
SK-Crow Feb 23, 2025
a4a25cc
+ icon_storage.png
SK-Crow Feb 23, 2025
828ad58
Update icon_editor.png
SK-Crow Feb 24, 2025
4c7e711
Minor adjustments
Omar-Kay Feb 25, 2025
e32da41
Add BaseLayout
Omar-Kay Feb 25, 2025
97ab413
Save data mock
Omar-Kay Feb 25, 2025
a7ffe40
Pulsing outline shake
Omar-Kay Feb 25, 2025
8ee380a
Storage screen base
Omar-Kay Mar 22, 2025
b145d12
Box grid beginning
Omar-Kay Mar 22, 2025
d541cd5
Extract glyph as shared enum type
Omar-Kay Mar 24, 2025
29dddeb
Cleanup of button & touch handling
Omar-Kay Mar 24, 2025
7154039
mock box data provider
Omar-Kay Mar 25, 2025
0a0cd79
IGrid - shared grid utility interface
Omar-Kay Mar 25, 2025
e165eb3
Pokemon box (contains box grid)
Omar-Kay Mar 25, 2025
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
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,14 @@ common/generate_categories_for_other_languages.py
switch_compile_commands.json
.clangd
out
.idea
.idea

# Switch-specific ignores
switch/build/
switch/*.elf
switch/*.nacp
switch/*.nro
switch/*.map
switch/romfs/gfx/mock/
switch/romfs/gfx/pokesprites/
PKSM.lst
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "external/picoc"]
path = external/picoc
url = https://github.com/FlagBrew/picoc
[submodule "switch/Plutonium"]
path = switch/Plutonium
url = https://github.com/Omar-Kay/Plutonium.git
13 changes: 10 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ else
export PYTHON := python3
endif

debug: 3ds-debug
debug: 3ds-debug switch-debug

release: 3ds-release docs
release: 3ds-release docs switch

compile-commands: 3ds-compile-commands

Expand Down Expand Up @@ -71,6 +71,12 @@ endif
@mv 3ds/build/compile_commands.json 3ds_compile_commands.json
@echo 3DS compile commands written to 3ds_compile_commands.json

switch: revision
$(MAKE) -C switch

switch-debug: revision
$(MAKE) -C switch

docs:
@mkdir -p $(OUTDIR)
@gwtc -o $(OUTDIR) -n "$(PKSM_TITLE) Manual - v$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_MICRO)" -t "$(APP_TITLE) v$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_MICRO) Documentation" --logo-img $(ICON) docs/wiki
Expand All @@ -80,6 +86,7 @@ clean:
@rm -f appinfo.hash
@rm -f common/include/revision.h
$(MAKE) -C 3ds clean
$(MAKE) -C switch clean

clean-deps:
@rm -f assets/gui_strings/*/gui.json
Expand All @@ -98,4 +105,4 @@ cppcheck:
cppclean:
$(MAKE) -C 3ds cppclean

.PHONY: debug release 3ds-debug no-deps 3ds-release docs clean spotless format cppcheck cppclean
.PHONY: debug release 3ds-debug switch-debug no-deps 3ds-release docs clean spotless format cppcheck cppclean
84 changes: 84 additions & 0 deletions switch/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
---
Language: Cpp
BasedOnStyle: Mozilla
IndentWidth: 4
ColumnLimit: 120
AccessModifierOffset: -4
AlignAfterOpenBracket: BlockIndent
BraceWrapping:
AfterFunction: false
AfterClass: false
AfterStruct: false
AfterEnum: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
BeforeWhile: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: false
AlignTrailingComments: false
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Attach
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: BeforeColon
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
Cpp11BracedListStyle: true
FixNamespaceComments: true
IncludeBlocks: Regroup
IndentCaseLabels: true
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
PenaltyBreakAssignment: 100
PenaltyBreakBeforeFirstCallParameter: 0
PenaltyBreakComment: 100
PenaltyBreakFirstLessLess: 100
PenaltyBreakString: 100
PenaltyExcessCharacter: 100
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInContainerLiterals: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: c++17
TabWidth: 4
UseTab: Never
ContinuationIndentWidth: 4
IncludeCategories:
- Regex: '^"' # Local headers
Priority: 2
- Regex: "^<" # System headers
Priority: 1
Loading