Rename the game log module
This commit is contained in:
parent
4efce51ded
commit
cb475708c7
@ -1,4 +1,4 @@
|
||||
use crate::{gamelog::GameLog, CombatStats, Name, Player, SufferDamage};
|
||||
use crate::{game_log::GameLog, CombatStats, Name, Player, SufferDamage};
|
||||
use rltk::console;
|
||||
use specs::prelude::*;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
use crate::{gamelog::GameLog, CombatStats, InBackpack, Map, Name, Player, Position, State};
|
||||
use crate::{game_log::GameLog, CombatStats, InBackpack, Map, Name, Player, Position, State};
|
||||
use rltk::{Point, Rltk, VirtualKeyCode, RGB};
|
||||
use specs::prelude::*;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
use crate::{
|
||||
gamelog::GameLog, CombatStats, InBackpack, Name, Position, Potion, WantsToDrinkPotion,
|
||||
game_log::GameLog, CombatStats, InBackpack, Name, Position, Potion, WantsToDrinkPotion,
|
||||
WantsToDropItem, WantsToPickupItem,
|
||||
};
|
||||
use specs::prelude::*;
|
||||
|
@ -3,7 +3,7 @@ use specs::prelude::*;
|
||||
|
||||
mod components;
|
||||
mod damage_system;
|
||||
mod gamelog;
|
||||
mod game_log;
|
||||
mod gui;
|
||||
mod inventory_system;
|
||||
mod map;
|
||||
@ -17,7 +17,7 @@ mod visibility_system;
|
||||
|
||||
pub use components::*;
|
||||
use damage_system::DamageSystem;
|
||||
pub use gamelog::GameLog;
|
||||
pub use game_log::GameLog;
|
||||
use inventory_system::{ItemCollectionSystem, ItemDropSystem, PotionUseSystem};
|
||||
pub use map::*;
|
||||
use map_indexing_system::MapIndexingSystem;
|
||||
@ -214,7 +214,7 @@ fn main() -> rltk::BError {
|
||||
gs.ecs.insert(Point::new(player_x, player_y));
|
||||
gs.ecs.insert(player_entity);
|
||||
gs.ecs.insert(RunState::PreRun);
|
||||
gs.ecs.insert(gamelog::GameLog {
|
||||
gs.ecs.insert(game_log::GameLog {
|
||||
entries: vec!["Welcome to Rusty Roguelike".to_string()],
|
||||
});
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
use crate::{gamelog::GameLog, CombatStats, Name, SufferDamage, WantsToMelee};
|
||||
use crate::{game_log::GameLog, CombatStats, Name, SufferDamage, WantsToMelee};
|
||||
use specs::prelude::*;
|
||||
|
||||
pub struct MeleeCombatSystem {}
|
||||
|
@ -1,5 +1,5 @@
|
||||
use crate::{
|
||||
gamelog::GameLog, CombatStats, Item, Map, Player, Position, RunState, State, Viewshed,
|
||||
game_log::GameLog, CombatStats, Item, Map, Player, Position, RunState, State, Viewshed,
|
||||
WantsToMelee, WantsToPickupItem,
|
||||
};
|
||||
use rltk::{Point, Rltk, VirtualKeyCode};
|
||||
|
Loading…
Reference in New Issue
Block a user