Skip to content

Commit

Permalink
Renamed Modules
Browse files Browse the repository at this point in the history
- Renamed all modules to fit Camel Case
  • Loading branch information
CatRass committed Oct 24, 2024
1 parent 2269048 commit 8d673e2
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions src/PKRust.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![allow(non_snake_case)]

pub mod CreatureData;
pub mod Addresses;
pub mod SaveLoader;
pub mod Utils;
pub mod addresses;
pub mod saveLoader;
pub mod utils;
10 changes: 5 additions & 5 deletions src/PKRust/CreatureData.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// - Various Stats
/// - Species
pub mod Pkmn;
pub mod PkmnType;
pub mod PkmnMove;
pub mod PkmnSpecies;
pub mod PkmnStats;
pub mod pokemon;
pub mod pokemonType;
pub mod pokemonMove;
pub mod pokemonSpecies;
pub mod pokemonStats;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use super::PkmnMove::Move;
use super::PkmnSpecies::Species;
use super::PkmnStats::{Stats, IVs, EVs};
use super::pokemonMove::Move;
use super::pokemonSpecies::Species;
use super::pokemonStats::{Stats, IVs, EVs};


#[derive(Debug)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::fs;
use super::PkmnType::Type;
use super::pokemonType::Type;

#[derive(Debug)]
pub struct Move {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::fs;
use super::PkmnType::Type;
use super::pokemonType::Type;

#[derive(Debug)]
/**
Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions src/PKRust/SaveLoader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ use std::fs;
use std::path::PathBuf;
use std::process;

use super::CreatureData::PkmnMove::Move;
use super::CreatureData::Pkmn::*;
use super::Addresses::*;
use super::Utils::textDecode;
use super::CreatureData::pokemonMove::Move;
use super::CreatureData::pokemon::*;
use super::addresses::*;
use super::utils::textDecode;


#[derive(Debug)]
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
pub mod PKRust;

fn main() {
let saveFile = PKRust::SaveLoader::Save::load("./test/POKEMON YELLOW 2.sav");
let saveFile = PKRust::saveLoader::Save::load("./test/POKEMON YELLOW 2.sav");
saveFile.print();
}

0 comments on commit 8d673e2

Please sign in to comment.