Removed unnecessary parts of input processing
This commit is contained in:
parent
0e732bea40
commit
057484e119
7 changed files with 54 additions and 115 deletions
|
|
@ -165,9 +165,6 @@ void World::init_client(const std::string& serverFullID) {
|
|||
}
|
||||
|
||||
void World::focus_update() {
|
||||
mousePreviousWorldVec = drawData.cam.c.from_space(main.input.mouse.pos);
|
||||
mouseWorldMove = drawData.cam.c.from_space(main.input.mouse.move);
|
||||
|
||||
connection_update();
|
||||
if(setToDestroy)
|
||||
return;
|
||||
|
|
@ -337,14 +334,6 @@ void World::add_chat_message(const std::string& name, const std::string& message
|
|||
chatMessages.pop_back();
|
||||
}
|
||||
|
||||
WorldVec World::get_mouse_world_pos() {
|
||||
return mousePreviousWorldVec;
|
||||
}
|
||||
|
||||
WorldVec World::get_mouse_world_move() {
|
||||
return mouseWorldMove;
|
||||
}
|
||||
|
||||
void World::early_destroy() {
|
||||
//con.early_destroy();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue