-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
177 changed files
with
444 additions
and
916 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
[workspace] | ||
resolver = "2" | ||
members = [ | ||
"common", | ||
"datafile", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ name = "common" | |
version = "0.0.1" | ||
authors = ["heinrich5991 <[email protected]>"] | ||
license = "MIT/Apache-2.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
arrayvec = "0.5.2" | ||
|
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,11 +3,12 @@ name = "datafile" | |
version = "0.0.1" | ||
authors = ["heinrich5991 <[email protected]>"] | ||
license = "MIT/Apache-2.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
common = { path = "../common/", features = ["file_offset"] } | ||
hexdump = "0.1.1" | ||
itertools = ">=0.3.0,<0.5.0" | ||
log = "0.3.0" | ||
logger = { path = "../logger/" } | ||
zlib_minimal = { path = "../zlib_minimal/" } | ||
zlib = { package = "zlib_minimal", path = "../zlib_minimal/" } |
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "demo" | |
version = "0.0.1" | ||
authors = ["heinrich5991 <[email protected]>"] | ||
license = "MIT/Apache-2.0" | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
arrayvec = "0.5.2" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
mod reader; | ||
mod writer; | ||
|
||
pub use reader::Chunk; | ||
pub use reader::DemoReader; | ||
pub use reader::ReadError; | ||
pub use reader::Warning; | ||
pub use writer::DemoWriter; | ||
pub use writer::WriteError; | ||
pub use self::reader::Chunk; | ||
pub use self::reader::DemoReader; | ||
pub use self::reader::ReadError; | ||
pub use self::reader::Warning; | ||
pub use self::writer::DemoWriter; | ||
pub use self::writer::WriteError; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,13 @@ | ||
extern crate arrayvec; | ||
extern crate binrw; | ||
extern crate buffer; | ||
extern crate common; | ||
extern crate gamenet_common; | ||
extern crate gamenet_ddnet; | ||
extern crate huffman; | ||
#[macro_use] | ||
extern crate matches; | ||
extern crate packer; | ||
extern crate snapshot; | ||
extern crate thiserror; | ||
extern crate warn; | ||
|
||
pub mod ddnet; | ||
mod format; | ||
mod reader; | ||
mod writer; | ||
|
||
pub use format::DemoKind; | ||
pub use format::RawChunk; | ||
pub use format::Version; | ||
pub use format::Warning; | ||
pub use reader::ReadError; | ||
pub use reader::Reader; | ||
pub use writer::WriteError; | ||
pub use writer::Writer; | ||
pub use self::format::DemoKind; | ||
pub use self::format::RawChunk; | ||
pub use self::format::Version; | ||
pub use self::format::Warning; | ||
pub use self::reader::ReadError; | ||
pub use self::reader::Reader; | ||
pub use self::writer::WriteError; | ||
pub use self::writer::Writer; |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,14 @@ name = "downloader" | |
version = "0.0.1" | ||
authors = ["heinrich5991 <[email protected]>"] | ||
license = "MIT/Apache-2.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
arrayvec = "0.5.2" | ||
clap = "2.31.2" | ||
common = { path = "../common/" } | ||
event_loop = { path = "../event_loop/" } | ||
gamenet_teeworlds_0_6 = { path = "../gamenet/teeworlds-0.6/" } | ||
gamenet = { package = "gamenet_teeworlds_0_6", path = "../gamenet/teeworlds-0.6/" } | ||
hexdump = "0.1.1" | ||
itertools = ">=0.3.0,<0.5.0" | ||
log = "0.3.1" | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ name = "event_loop" | |
version = "0.0.1" | ||
authors = ["heinrich5991 <[email protected]>"] | ||
license = "MIT/Apache-2.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
arrayvec = "0.5.2" | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ name = "gamenet_common" | |
version = "0.0.1" | ||
authors = ["heinrich5991 <[email protected]>"] | ||
license = "MIT/Apache-2.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
arrayvec = "0.5.2" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
use packer; | ||
|
||
#[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)] | ||
pub enum Error { | ||
ControlCharacters, | ||
|
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
Oops, something went wrong.