mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
rename
This commit is contained in:
parent
48f5de8adf
commit
85c085d7c3
4 changed files with 11 additions and 9 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#include "stdin_reader.hpp"
|
||||
#include "stdin_cmd_reader.hpp"
|
||||
|
||||
#include "engine/Engine.hpp"
|
||||
#include "logic/CommandsInterpreter.hpp"
|
||||
|
|
@ -12,7 +12,7 @@ static debug::Logger logger("stdin-reader");
|
|||
|
||||
static std::thread reader_thread;
|
||||
|
||||
void start_stdin_reader(Engine& engine) {
|
||||
void cmd::start_stdin_cmd_reader(Engine& engine) {
|
||||
reader_thread = std::thread([&engine]() {
|
||||
auto& interpreter = engine.getCmd();
|
||||
logger.info() << "reader thread started";
|
||||
7
src/devtools/stdin_cmd_reader.hpp
Normal file
7
src/devtools/stdin_cmd_reader.hpp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
class Engine;
|
||||
|
||||
namespace cmd {
|
||||
void start_stdin_cmd_reader(Engine& engine);
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
class Engine;
|
||||
|
||||
void start_stdin_reader(Engine& engine);
|
||||
Loading…
Add table
Add a link
Reference in a new issue