From 943c793c811098d7aebb0310364eb9854c7caaea Mon Sep 17 00:00:00 2001 From: jake Date: Sun, 1 Dec 2019 13:37:17 -0800 Subject: [PATCH] move files to a data dir --- {param => data/param}/BattleParamEntry.dat | Bin {param => data/param}/BattleParamEntry_ep4.dat | Bin {param => data/param}/BattleParamEntry_ep4_on.dat | Bin {param => data/param}/BattleParamEntry_lab.dat | Bin {param => data/param}/BattleParamEntry_lab_on.dat | Bin {param => data/param}/BattleParamEntry_on.dat | Bin {param => data/param}/ItemMagEdit.prs | Bin {param => data/param}/ItemPMT.prs | Bin {param => data/param}/PlyLevelTbl.prs | Bin src/login/character.rs | 2 +- 10 files changed, 1 insertion(+), 1 deletion(-) rename {param => data/param}/BattleParamEntry.dat (100%) rename {param => data/param}/BattleParamEntry_ep4.dat (100%) rename {param => data/param}/BattleParamEntry_ep4_on.dat (100%) rename {param => data/param}/BattleParamEntry_lab.dat (100%) rename {param => data/param}/BattleParamEntry_lab_on.dat (100%) rename {param => data/param}/BattleParamEntry_on.dat (100%) rename {param => data/param}/ItemMagEdit.prs (100%) rename {param => data/param}/ItemPMT.prs (100%) rename {param => data/param}/PlyLevelTbl.prs (100%) diff --git a/param/BattleParamEntry.dat b/data/param/BattleParamEntry.dat similarity index 100% rename from param/BattleParamEntry.dat rename to data/param/BattleParamEntry.dat diff --git a/param/BattleParamEntry_ep4.dat b/data/param/BattleParamEntry_ep4.dat similarity index 100% rename from param/BattleParamEntry_ep4.dat rename to data/param/BattleParamEntry_ep4.dat diff --git a/param/BattleParamEntry_ep4_on.dat b/data/param/BattleParamEntry_ep4_on.dat similarity index 100% rename from param/BattleParamEntry_ep4_on.dat rename to data/param/BattleParamEntry_ep4_on.dat diff --git a/param/BattleParamEntry_lab.dat b/data/param/BattleParamEntry_lab.dat similarity index 100% rename from param/BattleParamEntry_lab.dat rename to data/param/BattleParamEntry_lab.dat diff --git a/param/BattleParamEntry_lab_on.dat b/data/param/BattleParamEntry_lab_on.dat similarity index 100% rename from param/BattleParamEntry_lab_on.dat rename to data/param/BattleParamEntry_lab_on.dat diff --git a/param/BattleParamEntry_on.dat b/data/param/BattleParamEntry_on.dat similarity index 100% rename from param/BattleParamEntry_on.dat rename to data/param/BattleParamEntry_on.dat diff --git a/param/ItemMagEdit.prs b/data/param/ItemMagEdit.prs similarity index 100% rename from param/ItemMagEdit.prs rename to data/param/ItemMagEdit.prs diff --git a/param/ItemPMT.prs b/data/param/ItemPMT.prs similarity index 100% rename from param/ItemPMT.prs rename to data/param/ItemPMT.prs diff --git a/param/PlyLevelTbl.prs b/data/param/PlyLevelTbl.prs similarity index 100% rename from param/PlyLevelTbl.prs rename to data/param/PlyLevelTbl.prs diff --git a/src/login/character.rs b/src/login/character.rs index 033aa95..60fcf7e 100644 --- a/src/login/character.rs +++ b/src/login/character.rs @@ -178,7 +178,7 @@ pub struct CharacterServerState { impl CharacterServerState { pub fn new(entity_gateway: EG) -> CharacterServerState { - let (param_header, param_data) = generate_param_data("param/"); + let (param_header, param_data) = generate_param_data("data/param/"); let ships = vec![Ship::new("Sona-Nyl", [127,0,0,1], 23423), Ship::new("Dylath-Leen", [127,0,0,1], 23424),