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
[dependencies] | |
anyhow = "1.0.12" | |
cpal = "0.10.0" | |
ringbuf = "0.1.6" | |
bincode = "1.2.0" | |
[target.'cfg(target_os = "windows")'.dependencies] | |
winapi = { version = "0.3", features = ["audiosessiontypes", "audioclient", "coml2api", "combaseapi", "debug", "devpkey", "handleapi", "ksmedia", "mmdeviceapi", "objbase", "std", "synchapi", "winbase", "winuser"] } |
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
#![windows_subsystem = "windows"] | |
mod player; | |
mod env_object; | |
use player::*; | |
use env_object::*; | |
use ggez::*; | |
use ggez::nalgebra as na; | |
use std::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
#![allow(unused)] | |
trait Show<T: std::fmt::Debug> { | |
fn show(&self); | |
} | |
trait Init<T : Copy + std::fmt::Debug> : Show<T> { | |
fn init(&mut self, param: T); | |
} |