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
[package] | |
name = "pedalrs_gui" | |
version = "0.1.0" | |
authors = ["Will Hart <[email protected]>"] | |
edition = "2021" | |
rust-version = "1.56" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[lib] |
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
use std::time::Duration; | |
use bevy::prelude::*; | |
use crate::core::time::SpectreTimePlugin; | |
pub struct TestWorld { | |
pub app: App, | |
} |
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 <USBComposite.h> | |
#define LEAN_LEFT_CHAR 'q' | |
#define LEAN_RIGHT_CHAR 'e' | |
#define LEAN_LEFT PA9 | |
#define LEAN_RIGHT PA10 | |
#define LED_PIN PC13 | |
USBHID HID; |
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
Public Domain |
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
#!/usr/bin/env python | |
# borrowed from https://raw.githubusercontent.com/lifelike/hexmapextension/master/hexmap.py | |
# which isn't working in inkscape | |
# import inkex | |
import sys | |
# from inkex import NSS | |
import math | |
import lxml |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Tue Oct 30 13:43:22 2018 | |
@author: Will Hart | |
""" | |
from datetime import datetime | |
from os import walk, path |
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
namespace Goliath.Networking | |
{ | |
#region Dependencies | |
using BeardedManStudios.Forge.Networking; | |
using BeardedManStudios.Forge.Networking.Unity; | |
// other usings | |
using UnityEngine; | |
#endregion |
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
// scale the wall up | |
wall_scale = 10; | |
// set wall proportions | |
wall_length = 1; | |
wall_thickness = 0.3; | |
wall_height = 0.8; | |
// crennelation properties | |
cren_duty_cycle = 0.5; |
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
public abstract class AbstractComponent : IComponent | |
{ | |
[NonSerialized] | |
protected Entity _owner; | |
public AbstractComponent(Entity owner) | |
{ | |
_owner = owner; | |
ID = Guid.NewGuid().ToString("n"); | |
} |
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
/// | |
/// PlayerManager.cs | |
/// | |
using System; | |
public class PlayerManager : MonoBehaviour { | |
public event EventHandler PlayerDied; | |
NewerOlder