This file contains 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
/* | |
Massively extended version of | |
https://gist.github.com/JoeyBurzynski/617fb6201335779f8424ad9528b72c41 | |
*/ | |
:root { | |
--background: #1a1a1a; | |
--foreground: #dadada; | |
--dim: #9a9a9a; | |
font-family: sans-serif; |
This file contains 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
{"start":["Welcome to this little game!",{"Thank you!":"goto"}],"goto":["Where would you like to go?",{"The airport":"airprt","The trainstation":"tsttn","A busstop nearby":"busstop"}],"airprt":["You arrive at the airport, what plane are you taking?",{"None, screw you!":"truelove","Germany":"de"}],"tsttn":["You arrive at the trainstation, in what direction are you gonna take a train?",{"Germany":"de","Nevermind, I'd rather go by plane.":"airprt"}],"busstop":["You go towards a busstop you see in the distance.",{"Continue walking":"busstop2","Fuck it, go back!":"goto"}],"truelove":["You find your true love, you go live with them in the bahamas.",{}],"busstop2":["You stand at the busstop for a while..",{"Wait..":"truelove","You walk away from your now past live":"truelove"}],"de":["You live the rest of your life, alone but satisfied, in Germany.",{}]} |
This file contains 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
TIMING: | |
TAP_MILLISEC: 200 | |
DOUBLE_TAP_MILLISEC: 150 | |
MAPPINGS: | |
- KEY: KEY_CAPSLOCK | |
TAP: KEY_ESC | |
HOLD: KEY_LEFTCTRL | |
- KEY: KEY_ENTER | |
TAP: KEY_ENTER |
This file contains 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
*CapsLock:: | |
Send {Blind}{Ctrl Down} | |
cDown := A_TickCount | |
Return | |
*CapsLock up:: | |
If ((A_TickCount-cDown)<400) ; Modify press time as needed (milliseconds) | |
Send {Blind}{Ctrl Up}{CapsLock} | |
Else | |
Send {Blind}{Ctrl Up} |
This file contains 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 <cmath> | |
#include <SFML/Graphics.hpp> | |
struct AABB | |
{ | |
sf::Vector2f origin; | |
sf::Vector2f size; | |
}; | |
struct Segment |