Further massive amounts of work

This commit is contained in:
2022-06-06 13:54:59 +02:00
parent df662ce6b5
commit ce33ec0649
33 changed files with 848 additions and 80 deletions

View File

@@ -4,16 +4,26 @@
#![feature(bench_black_box)]
#![feature(let_chains)]
#[macro_use]
extern crate maplit;
#[cfg(feature = "c_interface")]
#[macro_use]
extern crate lazy_static;
use crate::dynamic_data::libraries::script_resolver::ScriptCategory;
mod c_interface;
pub mod defines;
pub mod dynamic_data;
pub mod static_data;
pub mod utils;
#[derive(Debug, Clone)]
pub enum PokemonError {
ScriptNotFound {
category: ScriptCategory,
name: String,
},
MiscError,
}
pub type PkmnResult<T> = std::result::Result<T, PokemonError>;