Full rewrite

- Removed csflow, as its basically not getting used when high optimization is needed
- Fully rewrote radarflow dma logic.
- Speed increase from 20hz to over 130 hz over pcileech, thanks to scatter reads and improved caching
- Removed docs, because those were for csflow, which is now removed
This commit is contained in:
Janek
2024-01-08 00:22:24 +01:00
parent f186b19255
commit 16f7791628
233 changed files with 805 additions and 16929 deletions

5
src/enums/mod.rs Executable file
View File

@@ -0,0 +1,5 @@
mod teamid;
mod player_type;
pub use teamid::TeamID;
pub use player_type::PlayerType;

9
src/enums/player_type.rs Executable file
View File

@@ -0,0 +1,9 @@
#[derive(Debug, Clone, Copy, serde::Serialize, serde::Deserialize, Default, PartialEq)]
pub enum PlayerType {
#[default]
Unknown,
Spectator,
Local,
Enemy,
Team
}

7
src/enums/teamid.rs Executable file
View File

@@ -0,0 +1,7 @@
#[repr(i32)]
#[derive(Debug, Eq, PartialEq, enum_primitive_derive::Primitive)]
pub enum TeamID {
Spectator = 1,
T = 2,
CT = 3
}