diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7492877 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# EditorConfig: https://EditorConfig.org + +# This is the file in the root of the project. +root = true + +[*] +indent_style = space +indent_size = 4 +insert_final_newline = true +trim_trailing_whitespace = true + +[Makefile] +indent_style = tab diff --git a/GRRLIB/GRRLIB/GRRLIB_3D.c b/GRRLIB/GRRLIB/GRRLIB_3D.c index a1bcd3c..4ba7663 100644 --- a/GRRLIB/GRRLIB/GRRLIB_3D.c +++ b/GRRLIB/GRRLIB/GRRLIB_3D.c @@ -1,5 +1,5 @@ /*------------------------------------------------------------------------------ -Copyright (c) 2009-2020 The GRRLIB Team +Copyright (c) 2009-2021 The GRRLIB Team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/GRRLIB/Makefile b/GRRLIB/Makefile index d126031..c20d41a 100644 --- a/GRRLIB/Makefile +++ b/GRRLIB/Makefile @@ -14,4 +14,4 @@ clean: install: @for i in $(MAKEFILES); do \ $(MAKE) -C `dirname $$i` install || exit 1; \ - done; \ No newline at end of file + done; diff --git a/GRRLIB/lib/Makefile b/GRRLIB/lib/Makefile index d126031..c20d41a 100644 --- a/GRRLIB/lib/Makefile +++ b/GRRLIB/lib/Makefile @@ -14,4 +14,4 @@ clean: install: @for i in $(MAKEFILES); do \ $(MAKE) -C `dirname $$i` install || exit 1; \ - done; \ No newline at end of file + done; diff --git a/GRRLIB/lib/pngu/Makefile b/GRRLIB/lib/pngu/Makefile index 2060d9a..d2a0d50 100644 --- a/GRRLIB/lib/pngu/Makefile +++ b/GRRLIB/lib/pngu/Makefile @@ -40,4 +40,4 @@ clean : install : mkdir -p $(INSTALL_LIB) $(INSTALL_INC) cp -f $(ARC) $(INSTALL_LIB)/ - cp -f $(HDR) $(INSTALL_INC)/ + cp -f $(HDR) $(INSTALL_INC) diff --git a/LICENCE.md b/LICENCE.md index 972f960..d0da4c7 100644 --- a/LICENCE.md +++ b/LICENCE.md @@ -16,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file +THE SOFTWARE. diff --git a/examples/3D_Light3/source/main.c b/examples/3D_Light3/source/main.c index e7356ba..ddabafa 100644 --- a/examples/3D_Light3/source/main.c +++ b/examples/3D_Light3/source/main.c @@ -38,7 +38,7 @@ int main() { // dir param of GRRLIB_SetLightSpec function have to be a crazy 0,0,0 value // there is a bug in libogc about this - // http://forums.devkitpro.org/viewtopic.php?f=7&t=1933 + // https://devkitpro.org/viewtopic.php?f=7&t=1933 // we are waiting for a fix from libogc devs GRRLIB_SetLightAmbient(0x404040FF); GRRLIB_SetLightSpec(0, (guVector){0.0f,0.0f,0.0f}, shy, 0xFFFFFFFF, 0xFFFFFFFF); diff --git a/examples/Makefile b/examples/Makefile index 0924af2..8b42aa7 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -9,4 +9,4 @@ all: clean: @for i in $(MAKEFILES); do \ $(MAKE) -C `dirname $$i` clean || exit 1; \ - done; \ No newline at end of file + done; diff --git a/examples/basic_drawing/source/main.c b/examples/basic_drawing/source/main.c index 7837efb..2bd37bb 100644 --- a/examples/basic_drawing/source/main.c +++ b/examples/basic_drawing/source/main.c @@ -252,4 +252,3 @@ static u8 CalculateFrameRate() { } return FPS; } - diff --git a/examples/compositing/source/main.c b/examples/compositing/source/main.c index d81710b..3d75154 100644 --- a/examples/compositing/source/main.c +++ b/examples/compositing/source/main.c @@ -57,4 +57,3 @@ int main() { GRRLIB_Exit(); // Be a good boy, clear the memory allocated by GRRLIB exit(0); } -