Mario: remove debug outputs from editor

This commit is contained in:
zv0n 2021-05-28 19:53:30 +02:00
parent 9d9068091b
commit be638591c8
2 changed files with 0 additions and 2 deletions

View File

@ -164,7 +164,6 @@ void saveMap( const std::string &file, std::vector< mapColumnType > &objects ) {
<< 4; << 4;
additional_data |= std::get< MapObject::CHARACTER_ID >( obj ); additional_data |= std::get< MapObject::CHARACTER_ID >( obj );
} else if ( std::get< MapObject::MODIFIER_TYPE >( obj ) ) { } else if ( std::get< MapObject::MODIFIER_TYPE >( obj ) ) {
std::cout << "SAVING MODIFIERS!" << std::endl;
additional_data |= std::get< MapObject::MODIFIER_TYPE >( obj ) additional_data |= std::get< MapObject::MODIFIER_TYPE >( obj )
<< 4; << 4;
additional_data |= 0x80; additional_data |= 0x80;

View File

@ -4,7 +4,6 @@
#include "sprites.hpp" #include "sprites.hpp"
ToolBox::ToolBox(int x, int y, double start_x, double start_y, std::shared_ptr<SDLPP::Renderer> renderer) : SDLPP::RectangleRender(start_x + x*BLOCK_SIZE, start_y + y*BLOCK_SIZE, BLOCK_SIZE, BLOCK_SIZE, renderer) { ToolBox::ToolBox(int x, int y, double start_x, double start_y, std::shared_ptr<SDLPP::Renderer> renderer) : SDLPP::RectangleRender(start_x + x*BLOCK_SIZE, start_y + y*BLOCK_SIZE, BLOCK_SIZE, BLOCK_SIZE, renderer) {
std::cout << "X: " << start_x + x * BLOCK_SIZE << ", " << start_y + y * BLOCK_SIZE << std::endl;
_x = x; _x = x;
_y = y; _y = y;
setId(EDITOR_TOOL_ID); setId(EDITOR_TOOL_ID);