This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| ["f", "Show next/latest diffs", "setProposedRevRanges()"], | |
| ["n", "Next unreviewed file", "nextUnreviewedFile()"], | |
| ["p", "Previous unreviewed file", "prevUnreviewedFile()"], | |
| ["mod+shift+n", "Next personally unreviewed file", "nextPersonallyUnreviewedFile()"], | |
| ["mod+shift+p", "Previous personally unreviewed file", "prevPersonallyUnreviewedFile()"], | |
| ["shift+n", "Next changed file", "nextChangedFile()"], | |
| ["shift+p", "Previous changed file", "prevChangedFile()"], | |
| [null, "Next visible file", "nextVisibleFile()"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function log_end_time() { | |
| export HOURS_PER_DAY=7.6 | |
| export LUNCH_BREAK_HOURS=1 | |
| echo "You can go home starting on " | |
| date -d "$(echo $(echo ($HOURS_PER_DAY+$LUNCH_BREAK_HOURS)*60*60 | bc -l)-$(</proc/uptime awk '{print $1}') | bc -l) seconds" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Script to setup your prefered editor in git. | |
| # Script is designed for Windows while using Cygwin | |
| # I had problems setting up the editor because using "$*" would open the | |
| # COMMIT_EDITMSG file of an emulated drive. Using the windows version of the cygpath fixes this! | |
| # USAGE: | |
| # Save this script in a location (Preferably without spaces) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "DebugDraw.h" | |
| #include "../../Graphics/GraphicsManager.h" | |
| #include "../../Graphics/ScaleSystem.h" | |
| #include "../../Logger.h" | |
| #include "../AARect.h" | |
| #include "../Rect.h" | |
| #include "../Helpers.h" | |
| #include "../Math.h" | |
| namespace star |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include "../../defines.h" | |
| #include "../../Graphics/Color.h" | |
| #include "../../Graphics/Shader.h" | |
| #ifdef DESKTOP | |
| #include <gl\GL.h> | |
| #else | |
| #include <GLES2/gl2.h> | |
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "CollisionManager.h" | |
| #include "../../StarComponents.h" | |
| #include <algorithm> | |
| #include "../../Components/Physics/BaseColliderComponent.h" | |
| namespace star | |
| { | |
| CollisionManager::CollisionManager(void) | |
| : m_CollisionMap() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include "../../defines.h" | |
| #include <vector> | |
| #include <map> | |
| namespace star | |
| { | |
| struct Context; | |
| class Object; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "CircleColliderComponent.h" | |
| #include "../../Context.h" | |
| #include "../../Objects/Object.h" | |
| #include "../../Helpers/Math.h" | |
| #include "../../Helpers/Debug/DebugDraw.h" | |
| #include "../../Graphics/GraphicsManager.h" | |
| #include "../../Scenes/SceneManager.h" | |
| #include "../../Scenes/BaseScene.h" | |
| #include "../../Physics/Collision/CollisionManager.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include "BaseColliderComponent.h" | |
| #include "../../defines.h" | |
| namespace star | |
| { | |
| struct Context; | |
| class CircleColliderComponent final : public BaseColliderComponent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "BaseColliderComponent.h" | |
| #include "../../Context.h" | |
| #include "RectangleColliderComponent.h" | |
| #include "CircleColliderComponent.h" | |
| #include "../TransformComponent.h" | |
| #include "../../Helpers/Math.h" | |
| #include "../../Scenes/SceneManager.h" | |
| #include "../../Scenes/BaseScene.h" | |
| #include "../../Physics/Collision/CollisionManager.h" |
NewerOlder