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

LÖVE Potion 3.0 #213

Merged
merged 202 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
202 commits
Select commit Hold shift + click to select a range
a6122d9
make 3.0 code public
TurtleP Sep 12, 2022
eabf576
switch has inputs
TurtleP Sep 13, 2022
096e374
lots of joystick stuff
TurtleP Sep 14, 2022
637b626
fix icon paths, 3ds building
TurtleP Sep 14, 2022
7eed3d3
woops, fix this typo
TurtleP Sep 14, 2022
15d6ef3
more wii u stuff, getFriendCode -> getFriendInfo
TurtleP Sep 15, 2022
398cb11
more wii u stuff
TurtleP Sep 16, 2022
bd93df1
use auto for this
TurtleP Sep 16, 2022
b6025d5
Wii U input works
TurtleP Sep 18, 2022
e8f76ed
woops fix Wii U CI
TurtleP Sep 18, 2022
348458e
wii u: attempt to allow other controller types
TurtleP Sep 18, 2022
beb0b30
fix multi button press nonsense
TurtleP Sep 19, 2022
cc32465
clean up from logging
TurtleP Sep 19, 2022
378efc6
push latest code
TurtleP Sep 20, 2022
847712a
split pkglist, update wiiu input stuff
TurtleP Sep 20, 2022
39f8627
get some vibration (wip) into switch
TurtleP Sep 20, 2022
74801d4
get sixaxis stuff on 3ds and switch
TurtleP Sep 21, 2022
d69452f
update bug report info
TurtleP Sep 21, 2022
aef3834
more input-related stuff done
TurtleP Sep 21, 2022
fc6078a
fix proc ui loop
TurtleP Sep 22, 2022
a597d9e
switch: gamepadaxis
TurtleP Sep 22, 2022
695a916
switch: vibration pool wip
TurtleP Sep 22, 2022
8068f78
wii u: sixaxis and vibrations, more inputs
TurtleP Sep 23, 2022
7363772
get dsp drivers made
TurtleP Sep 23, 2022
6bfe061
start work on 3ds audio
TurtleP Sep 23, 2022
712372f
weee work on the 3ds Source class
TurtleP Sep 23, 2022
a98094d
fix 3ds building
TurtleP Sep 23, 2022
c4c18fb
more 3ds audio work
TurtleP Sep 24, 2022
8b63e4b
3ds static sources work
TurtleP Sep 24, 2022
d015708
don't pwn memory with copy_n
TurtleP Sep 24, 2022
2a65dd5
some wii u dsp driver stuff
TurtleP Sep 25, 2022
b523681
audio update callback for wii u
TurtleP Sep 25, 2022
70ab3ac
quit AX when driver is done
TurtleP Sep 25, 2022
80ee11e
use AXAcquireVoice instead of new'ng an AXVoice
TurtleP Sep 25, 2022
fc320ef
most of 3ds Source stuff works
TurtleP Sep 26, 2022
0f5f006
some more 3ds source things
TurtleP Sep 26, 2022
8431829
we fix this because variable names are hard
TurtleP Sep 26, 2022
4550061
we add this because wasting commits I guess :bones:
TurtleP Sep 26, 2022
3807395
Constexpr map deduction guides (#180)
piepie62 Sep 27, 2022
bf982e4
Fix some uncaught map compilation errors (#181)
piepie62 Sep 27, 2022
f9a4289
some fixes
TurtleP Sep 27, 2022
8b60ca3
bidirectionalmap: fix population size issue
TurtleP Sep 27, 2022
eb3e119
Upgrade bidirectionalmap once again (#182)
piepie62 Sep 28, 2022
6259484
do not give things samplerate-level channel counts
TurtleP Sep 28, 2022
bb9cfe5
we want to set VoiceVe delta, also fix typo
TurtleP Sep 28, 2022
c01f478
switch audio
TurtleP Sep 29, 2022
eedc434
fix 3ds building
TurtleP Sep 29, 2022
6195191
some Wii U audio stuff
TurtleP Sep 29, 2022
69b7566
fix some stuff up for now
TurtleP Sep 29, 2022
c7ffbce
we have some wii u audio working
TurtleP Sep 30, 2022
53558e2
make stereo audio work properly
TurtleP Sep 30, 2022
da9f34e
more dsp stuff for wii u
TurtleP Sep 30, 2022
58fa90e
wii u: audio works except streaming
TurtleP Oct 1, 2022
bb0cc78
wii u: streaming audio is flaky and broken-ish
TurtleP Oct 5, 2022
4913a96
clang-format 15, fancy version struct stuff from piepie
TurtleP Oct 5, 2022
223fd23
fix building
TurtleP Oct 5, 2022
314d0ff
luasocket 3.1.0, use patchfiles
TurtleP Oct 8, 2022
fcc550a
fix some files
TurtleP Oct 8, 2022
ebe27b1
3ds luasocket patching
TurtleP Oct 8, 2022
70ecd3a
switch luasocket patches
TurtleP Oct 9, 2022
ef649e7
wii u luasocket patches
TurtleP Oct 9, 2022
5c075a0
update wii u luasocket, audio streaming kinda works better
TurtleP Oct 11, 2022
bb9c494
Feature/wiiu sdl2 mixer (#184)
TurtleP Nov 1, 2022
91ed2c5
init wireless for 3ds and switch on boot
TurtleP Nov 2, 2022
3140f1c
we need to free this, so include cstdlib
TurtleP Nov 2, 2022
11bcf89
redo userAppInit for 3ds and switch, getPreferredLocales and getModel…
TurtleP Nov 3, 2022
1461b0f
properly exit early checks
TurtleP Nov 4, 2022
d40a1a2
update build.yml to maybe fix luasocket patching
TurtleP Nov 5, 2022
f9ecd09
fix syntax oops
TurtleP Nov 5, 2022
7dc5c9b
keyboard stuff
TurtleP Nov 6, 2022
bb2e615
setTextInput works on all platforms
TurtleP Nov 7, 2022
f218b66
remove swkbdthread
TurtleP Nov 7, 2022
5f726c8
we do a little bit of graphics work, as a treat
TurtleP Nov 7, 2022
4dfc32c
ctr renderer work
TurtleP Nov 8, 2022
cc97ebf
3ds basic clearing stuff
TurtleP Nov 9, 2022
7675c3f
minor code cleanup
TurtleP Nov 9, 2022
211784b
switch rendering work
TurtleP Nov 10, 2022
07186cb
switch basic clear color
TurtleP Nov 11, 2022
4d16597
some Wii U basic clear and present
TurtleP Nov 11, 2022
6e93dfc
we did it reddit: wii clear and present
TurtleP Nov 11, 2022
4d5c704
fix 3ds compilations
TurtleP Nov 11, 2022
0e747c0
3ds: font module, fix Color::rgba
TurtleP Nov 13, 2022
a31ecc6
3ds: lua-implemented Font:getWrap
TurtleP Nov 14, 2022
d4cd5a7
add explicit credits to LÖVE repo for Font:getWrap
TurtleP Nov 14, 2022
8fbc2cf
some font stuff
TurtleP Nov 14, 2022
b1ee6ca
3ds fonts work
TurtleP Nov 15, 2022
fa0ae53
fix 3ds compile
TurtleP Nov 15, 2022
0aac58e
3ds text rendering
TurtleP Nov 15, 2022
c1a825d
we want to add C2D_WordWrap
TurtleP Nov 15, 2022
5a06bb2
fix this bit here
TurtleP Nov 15, 2022
aba388a
some image module work
TurtleP Nov 26, 2022
4132a00
3ds image module stuff
TurtleP Dec 1, 2022
40f303f
fix up a few more things
TurtleP Dec 1, 2022
8986762
more image module work
TurtleP Dec 3, 2022
0f3d39e
texture work
TurtleP Dec 3, 2022
7a1f526
more texture work
TurtleP Dec 6, 2022
6b4f65c
lots of texture + imagedata work on 3ds
TurtleP Dec 13, 2022
d6e0a36
more 3ds texture work
TurtleP Dec 14, 2022
4f80190
3ds textures finally work
TurtleP Dec 14, 2022
2326831
transform, randomgenerator, and beziercurve
TurtleP Dec 15, 2022
e2a34a1
fix 3ds compilation
TurtleP Dec 15, 2022
52ce3cd
enable Transforms for CheckStandardTransform
TurtleP Dec 15, 2022
4e9ab7d
fix casing on function
TurtleP Dec 15, 2022
df36ba2
lots of switch work
TurtleP Dec 21, 2022
9835937
more fixes with loading textures and fonts
TurtleP Dec 22, 2022
b98c683
switch: text rendering
TurtleP Dec 23, 2022
5a5f537
Wii U shader class
TurtleP Dec 24, 2022
6c10f37
overhaul wii u renderer to use gx2 (wip)
TurtleP Dec 25, 2022
78eb2aa
add a bit more to the present function
TurtleP Dec 25, 2022
51bd0e1
move context state set after clear color
TurtleP Dec 25, 2022
69f967c
lots more Wii U things, it builds again
TurtleP Dec 26, 2022
a089fec
add this SetContextState
TurtleP Dec 26, 2022
81b3b4e
more fixes for wii u renderer
TurtleP Dec 26, 2022
c763967
screen clearing
TurtleP Dec 26, 2022
5bddd7e
cafe: shader and texture work
TurtleP Dec 30, 2022
af6ecf2
cafe: texture rending attempt
TurtleP Dec 30, 2022
ce46daa
push more cafe rendering stuff
TurtleP Dec 31, 2022
2e5d610
more cafe texture work
TurtleP Dec 31, 2022
62095cd
update utf8 lib, more cafe texture stuff
TurtleP Dec 31, 2022
bf226e9
almost there
TurtleP Jan 1, 2023
25f0372
set the proper blend mode
TurtleP Jan 1, 2023
8bab931
fix fonts and rasterizers
TurtleP Jan 1, 2023
1dd3283
more wii u stuff
TurtleP Jan 1, 2023
9935b6a
cafe: move framebuffers to their own class
TurtleP Jan 2, 2023
94b3c36
cafe: add depth buffer
TurtleP Jan 2, 2023
3ddca21
cafe: do proper depth buffers for both screens
TurtleP Jan 2, 2023
3ec9c18
remove lots of logging header includes, cafe: add winding/culling
TurtleP Jan 2, 2023
4e5439f
cafe: set shader mode
TurtleP Jan 2, 2023
228c86f
fix up ctr compilation
TurtleP Jan 2, 2023
30eff1e
hac and cafe: add printf, remaining functions for Fonts
TurtleP Jan 4, 2023
c46f221
screen variables are inline, not static
TurtleP Jan 4, 2023
84997dc
finish up some Font stuff, etc
TurtleP Jan 5, 2023
402f392
push some updates
TurtleP Jan 7, 2023
e118cd7
sync some more changes
TurtleP Jan 15, 2023
0155b8a
( ͡° ͜ʖ ͡°)
TurtleP Jan 16, 2023
4af1f96
update lua-https so that it works again
TurtleP Jan 21, 2023
de9f393
sensor module work
TurtleP Jan 25, 2023
dde85fc
more sensor work
TurtleP Jan 27, 2023
f9dc346
sensor cleanup + split wii u joystick stuff
TurtleP Feb 11, 2023
fdbdef9
wii u pro controller
TurtleP Feb 11, 2023
b6692a5
cleanup and fixes
TurtleP Mar 22, 2023
e5b24c4
this should be vector
TurtleP Mar 22, 2023
db951fa
re-enable touch on Wii U
TurtleP Mar 25, 2023
b64eae1
add some things from LÖVE 12 for Data objects
TurtleP Mar 31, 2023
c40880d
add getDepth, bit module
TurtleP Apr 1, 2023
afcd6db
Clean up Graphics module and more (#195)
TurtleP Apr 18, 2023
22575a6
update the README
TurtleP Apr 18, 2023
ec71a4d
make sure we can type urls properly
TurtleP Apr 18, 2023
aa53f85
add Discord server badge
TurtleP Apr 18, 2023
0650dde
Actually use invite link for discord
TurtleP Apr 18, 2023
e84103c
update license
TurtleP Apr 18, 2023
beb49ab
rename the job names so they're more verbose
TurtleP Apr 18, 2023
0d0cdcb
Update LICENSE.md
TurtleP Apr 18, 2023
4490eea
these need to be valid names
TurtleP Apr 18, 2023
4b90781
Merge branch 'dev/3.0' of https://github.com/lovebrew/lovepotion into…
TurtleP Apr 18, 2023
abc439b
this wasn't valid either
TurtleP Apr 18, 2023
01f6059
textbatches
TurtleP Apr 18, 2023
28c364a
clean up wii u stuff
TurtleP Apr 19, 2023
3d062c4
fix font:getWrap on switch and wii u
TurtleP Apr 22, 2023
c0c805d
some more cleanup
TurtleP Apr 22, 2023
4eca359
fix the warning about non-trivial clearing
TurtleP Apr 22, 2023
231eada
fix switch setColorMask
TurtleP Apr 22, 2023
c9240b0
fix some small bits
TurtleP May 7, 2023
a10501c
push wii u build fixes
TurtleP May 13, 2023
8c5376a
backport looping audio fix to 3.0
TurtleP Jul 1, 2023
5c1231d
update shader
TurtleP Jul 1, 2023
b1b5772
file writing bug fix
TurtleP Aug 25, 2023
f9409fe
use new lua51 package
TurtleP Aug 25, 2023
a530dde
Dev/citro3d (#200)
TurtleP Aug 26, 2023
1725536
fix switch and wii u building locally
TurtleP Aug 27, 2023
39d86dd
move this around
TurtleP Aug 27, 2023
96fb607
minor fixes
TurtleP Aug 27, 2023
c814e23
fix wii u stuff
TurtleP Aug 28, 2023
c2c672a
Dev/3.0 canvases (#201)
TurtleP Sep 4, 2023
12f23df
Implement SpriteBatch (#202)
TurtleP Sep 6, 2023
2d37b3b
Implement basic standard Mesh objects (#203)
TurtleP Sep 8, 2023
fe7b804
[Code Health] Font and TextBatch Code Cleanup (#204)
TurtleP Sep 10, 2023
8e230da
make Thread a single class, make sure Data can be used for newImage, …
TurtleP Sep 15, 2023
b2a47de
some more changes
TurtleP Sep 16, 2023
902adc3
check using joinable
TurtleP Sep 16, 2023
7f4a08b
make sure dspfirm.cdc error displays
TurtleP Sep 16, 2023
11bb427
use the new nogame
TurtleP Sep 19, 2023
6e1e9dc
release builds also fetch elf files
TurtleP Sep 19, 2023
dcfa3a1
Compressed Texture Support (#207)
TurtleP Oct 3, 2023
74dd871
HID refactoring
TurtleP Oct 5, 2023
7aeb2ba
datastream does not own its memory
TurtleP Oct 5, 2023
d0fe402
3ds: add getMasterVolume/ChannelVolume
TurtleP Oct 5, 2023
1b94539
fix some bugs, go back to c++20
TurtleP Oct 6, 2023
43265d1
woops, need to pass size
TurtleP Oct 6, 2023
b6f93e1
stupid find and replace
TurtleP Oct 6, 2023
9ffff9c
Fonts: Revise and use TextShaper (#208)
TurtleP Oct 8, 2023
65cc089
minor fixes
TurtleP Oct 9, 2023
1577452
adjustments
TurtleP Oct 9, 2023
df16913
make Font:getWrap common
TurtleP Oct 9, 2023
69ae4a2
bearing y is added on 3ds
TurtleP Oct 9, 2023
8a0e125
Implement BMFont and Image Rasterizers (#209)
TurtleP Oct 12, 2023
b441593
3ds: clamp between -1.0f and 1.0f
TurtleP Oct 12, 2023
384eaf5
Implement love.physics (#211)
TurtleP Oct 14, 2023
438f31f
need to actually have PushJoint functional
TurtleP Oct 14, 2023
2290205
push Body shape properly
TurtleP Oct 14, 2023
3b25351
fix touch release event, woops
TurtleP Oct 15, 2023
8119520
Merge branch 'main' into dev/3.0
TurtleP Oct 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
282 changes: 208 additions & 74 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,79 +1,213 @@
---
BasedOnStyle: Microsoft
AccessModifierOffset: '-2'
---
Language: Cpp
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: 'true'
AlignConsecutiveAssignments: 'true'
AlignEscapedNewlines: 'Left'
AlignTrailingComments: 'true'
AllowAllArgumentsOnNextLine: 'true'
AllowAllConstructorInitializersOnNextLine: 'false'
AllowShortLambdasOnASingleLine: 'All'
AlwaysBreakTemplateDeclarations: 'Yes'
BinPackArguments: 'true'
BinPackParameters: 'true'
AlignArrayOfStructures: Right
AlignConsecutiveAssignments:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: true
AlignConsecutiveBitFields:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: false
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: true
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortEnumsOnASingleLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
AttributeMacros:
- __capability
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: 'true'
AfterClass: 'true'
AfterControlStatement: 'true'
AfterEnum: 'true'
AfterFunction: 'true'
AfterNamespace: 'true'
AfterObjCDeclaration: 'true'
AfterStruct: 'true'
AfterUnion: 'true'
AfterExternBlock: 'true'
BeforeCatch: 'true'
BeforeElse: 'true'
IndentBraces: 'false'
SplitEmptyFunction: 'false'
SplitEmptyRecord: 'true'
SplitEmptyNamespace: 'false'
BreakBeforeBraces: 'Custom'
BreakBeforeTernaryOperators: 'true'
IncludeBlocks: 'Preserve'
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: Always
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: true
SplitEmptyNamespace: false
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: Always
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: AfterColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 100
CommentPragmas: "^ IWYU pragma:"
QualifierAlignment: Leave
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: false
DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
PackConstructorInitializers: CurrentLine
BasedOnStyle: ""
ConstructorInitializerAllOnOneLineOrOnePerLine: false
AllowAllConstructorInitializersOnNextLine: true
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
SortPriority: 0
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
SortPriority: 0
- Regex: '.*'
Priority: 1
SortPriority: 0
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
BreakConstructorInitializers: 'AfterColon'
BreakInheritanceList: 'BeforeColon'
ColumnLimit: '100'
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: 'false'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
ContinuationIndentWidth: '4'
Cpp11BracedListStyle: 'false'
DerivePointerAlignment: 'false'
IndentCaseLabels: 'true'
IndentPPDirectives: 'BeforeHash'
IndentWidth: '4'
Language: 'Cpp'
NamespaceIndentation: 'All'
PointerAlignment: 'Left'
SpaceAfterCStyleCast: 'false'
SpaceAfterLogicalNot: 'false'
SpaceAfterTemplateKeyword: 'false'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeCpp11BracedList: 'true'
SpaceBeforeCtorInitializerColon: 'true'
SpaceBeforeInheritanceColon: 'true'
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
SortPriority: 0
CaseSensitive: false
- Regex: ".*"
Priority: 1
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: "(Test)?$"
IncludeIsMainSourceRegex: ""
IndentAccessModifiers: false
IndentCaseLabels: true
IndentCaseBlocks: false
IndentGotoLabels: true
IndentPPDirectives: BeforeHash
IndentExternBlock: AfterExternBlock
IndentRequiresClause: false
IndentWidth: 4
IndentWrappedFunctionNames: false
InsertBraces: false
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
LambdaBodyIndentation: Signature
MacroBlockBegin: ""
MacroBlockEnd: ""
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 1000
PenaltyIndentedWhitespace: 0
PointerAlignment: Left
PPIndentWidth: -1
ReferenceAlignment: Pointer
ReflowComments: true
RemoveBracesLLVM: false
RequiresClausePosition: OwnLine
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SortIncludes: CaseSensitive
SortJavaStaticImport: Before
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: 'true'
SpaceInEmptyParentheses: 'false'
SpacesInAngles: 'false'
SpacesInCStyleCastParentheses: 'false'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
AfterRequiresInClause: false
AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceAroundPointerQualifiers: Default
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
BitFieldColonSpacing: Both
Standard: Auto
TabWidth: '4'
UseTab: 'Never'
...
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 4
UseCRLF: false
UseTab: Never
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
- NS_SWIFT_NAME
- CF_SWIFT_NAME
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.jpg binary
*.png binary
*.dksh binary
*.gsh binary
62 changes: 62 additions & 0 deletions .github/workflows/Nintendo 3DS.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Nintendo 3DS

on:
push:
branches:
- dev/3.0
pull_request:

jobs:
N3DS-Release:
runs-on: ubuntu-latest

container:
image: docker://devkitpro/devkitarm
options: --cpus 2

steps:
- name: Checkout
uses: actions/checkout@v3

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

- name: Build
run: make -C build

- id: commit
uses: pr-mpt/actions-commit-hash@v1

- uses: actions/upload-artifact@v2
with:
name: Nintendo 3DS-${{ steps.commit.outputs.short }}
path: |
build/*.elf
build/*.3dsx

N3DS-Debug:
runs-on: ubuntu-latest

container:
image: docker://devkitpro/devkitarm
options: --cpus 2

steps:
- name: Checkout
uses: actions/checkout@v3

- 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

- id: commit
uses: pr-mpt/actions-commit-hash@v1

- uses: actions/upload-artifact@v2
with:
name: Nintendo 3DS (Debug)-${{ steps.commit.outputs.short }}
path: |
build/*.elf
build/*.3dsx
Loading
Loading