mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-10 02:12: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
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
@ -40,4 +40,4 @@ clean :
|
||||||
install :
|
install :
|
||||||
mkdir -p $(INSTALL_LIB) $(INSTALL_INC)
|
mkdir -p $(INSTALL_LIB) $(INSTALL_INC)
|
||||||
cp -f $(ARC) $(INSTALL_LIB)/
|
cp -f $(ARC) $(INSTALL_LIB)/
|
||||||
cp -f $(HDR) $(INSTALL_INC)/
|
cp -f $(HDR) $(INSTALL_INC)
|
||||||
|
|
|
@ -38,7 +38,7 @@ int main() {
|
||||||
|
|
||||||
// dir param of GRRLIB_SetLightSpec function have to be a crazy 0,0,0 value
|
// dir param of GRRLIB_SetLightSpec function have to be a crazy 0,0,0 value
|
||||||
// there is a bug in libogc about this
|
// 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
|
// we are waiting for a fix from libogc devs
|
||||||
GRRLIB_SetLightAmbient(0x404040FF);
|
GRRLIB_SetLightAmbient(0x404040FF);
|
||||||
GRRLIB_SetLightSpec(0, (guVector){0.0f,0.0f,0.0f}, shy, 0xFFFFFFFF, 0xFFFFFFFF);
|
GRRLIB_SetLightSpec(0, (guVector){0.0f,0.0f,0.0f}, shy, 0xFFFFFFFF, 0xFFFFFFFF);
|
||||||
|
|
|
@ -252,4 +252,3 @@ static u8 CalculateFrameRate() {
|
||||||
}
|
}
|
||||||
return FPS;
|
return FPS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -57,4 +57,3 @@ int main() {
|
||||||
GRRLIB_Exit(); // Be a good boy, clear the memory allocated by GRRLIB
|
GRRLIB_Exit(); // Be a good boy, clear the memory allocated by GRRLIB
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue