reorg: no main binary, all in bin/
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
#![feature(conservative_impl_trait)]
|
extern crate vrtue;
|
||||||
|
use vrtue::{arena, tile, town, world};
|
||||||
|
|
||||||
extern crate itertools;
|
extern crate itertools;
|
||||||
extern crate memmap;
|
extern crate memmap;
|
||||||
@@ -9,12 +10,6 @@ use std::env;
|
|||||||
use itertools::Itertools;
|
use itertools::Itertools;
|
||||||
use memmap::{Mmap, Protection};
|
use memmap::{Mmap, Protection};
|
||||||
|
|
||||||
mod arena;
|
|
||||||
mod ega;
|
|
||||||
mod tile;
|
|
||||||
mod town;
|
|
||||||
mod transpose;
|
|
||||||
mod world;
|
|
||||||
|
|
||||||
fn mmap_to_rows<'a, M: world::HasMap>(mmap: &memmap::Mmap) -> &'a world::HasMap
|
fn mmap_to_rows<'a, M: world::HasMap>(mmap: &memmap::Mmap) -> &'a world::HasMap
|
||||||
where M: Copy + 'a
|
where M: Copy + 'a
|
||||||
@@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
#[macro_use] extern crate log;
|
#[macro_use] extern crate log;
|
||||||
|
|
||||||
|
pub mod arena;
|
||||||
pub mod ega;
|
pub mod ega;
|
||||||
pub mod tile;
|
pub mod tile;
|
||||||
|
pub mod town;
|
||||||
pub mod vr;
|
pub mod vr;
|
||||||
|
pub mod world;
|
||||||
|
|
||||||
|
mod transpose;
|
||||||
|
|||||||
Reference in New Issue
Block a user