mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-21 14:32:20 +00:00
Add EditorConfig file
This commit is contained in:
parent
aa41f4f814
commit
3b5924db94
10 changed files with 20 additions and 9 deletions
13
.editorconfig
Normal file
13
.editorconfig
Normal file
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -14,4 +14,4 @@ clean:
|
|||
install:
|
||||
@for i in $(MAKEFILES); do \
|
||||
$(MAKE) -C `dirname $$i` install || exit 1; \
|
||||
done;
|
||||
done;
|
||||
|
|
|
@ -14,4 +14,4 @@ clean:
|
|||
install:
|
||||
@for i in $(MAKEFILES); do \
|
||||
$(MAKE) -C `dirname $$i` install || exit 1; \
|
||||
done;
|
||||
done;
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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.
|
||||
THE SOFTWARE.
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -9,4 +9,4 @@ all:
|
|||
clean:
|
||||
@for i in $(MAKEFILES); do \
|
||||
$(MAKE) -C `dirname $$i` clean || exit 1; \
|
||||
done;
|
||||
done;
|
||||
|
|
|
@ -252,4 +252,3 @@ static u8 CalculateFrameRate() {
|
|||
}
|
||||
return FPS;
|
||||
}
|
||||
|
||||
|
|
|
@ -57,4 +57,3 @@ int main() {
|
|||
GRRLIB_Exit(); // Be a good boy, clear the memory allocated by GRRLIB
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue