I hereby claim:
- I am ConnorBP on github.
- I am pyrofox (https://keybase.io/pyrofox) on keybase.
- I have a public key whose fingerprint is 1BC2 D247 146A CF44 E67A 873F E0A8 E16E D78E 3EA3
To claim this, I am signing this object:
| #pragma once | |
| enum class Key | |
| { | |
| LeftMouseBtn =0x01, //Left mouse button | |
| RightMouseBtn =0x02, //Right mouse button | |
| CtrlBrkPrcs =0x03, //Control-break processing | |
| MidMouseBtn =0x04, //Middle mouse button | |
| ThumbForward =0x05, //Thumb button back on mouse aka X1 |
| #pragma once | |
| struct Vector2 { | |
| float x, y; | |
| Vector2 operator-(Vector2 other) { | |
| x -= other.x; | |
| y -= other.y; | |
| return *this; | |
| } |
| // A bevy 0.14 plugin which sets a date of death for an alpha release of your game. | |
| // helps fight against old alpha builds from being used when product goes comercial. | |
| // Somewhat of a "free trial" system, or a "birthday bomb" causing the program to fail. | |
| // Especially effective in networked scenarios where system time cannot be changed as easily. | |
| // | |
| // Plugin Usage: | |
| // App::new() | |
| // .insert_resource(ClearColor(Color::NONE)) | |
| // .add_plugins(( | |
| // DefaultPlugins, |
| // fast fail helper function | |
| // kills the process fast (useful for anti-debug) | |
| pub fn fastfail() { | |
| #[cfg(target_os="windows")] | |
| { | |
| unsafe{asm!("int 29h");} | |
| } | |
| #[cfg(not(target_os="windows"))] | |
| { | |
| // exits "immediately" on linux |
I hereby claim:
To claim this, I am signing this object: