aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-19 15:57:30 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-19 15:57:30 +0100
commitbdb9e02cf345015aa0beaf4f451e28335df21d59 (patch)
tree7a3c7d8580c0aa4e5c5213558568c2f484e2cf91 /src
parent7c8c94663fdedb212e993eec232e6d40290cb67e (diff)
removed cout
Diffstat (limited to 'src')
-rw-r--r--src/crepe/facade/SDLContext.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp
index 6fb312b..35ea57f 100644
--- a/src/crepe/facade/SDLContext.cpp
+++ b/src/crepe/facade/SDLContext.cpp
@@ -12,7 +12,6 @@
#include <cmath>
#include <cstddef>
#include <functional>
-#include <iostream>
#include <memory>
#include <stdexcept>
@@ -162,14 +161,6 @@ SDL_FRect SDLContext::get_dst_rect(const DestinationRectangleData & ctx) const {
- size / 2 + cam_aux_data.bar_size;
}
- cout << "HALLO" << endl;
- cout << screen_pos.x << " " << screen_pos.y << endl;
- cout << data.position_offset.x << " " << data.position_offset.y << endl;
- cout << ctx.pos.x << " " << ctx.pos.y << endl;
- cout << size.x << " " << size.y << endl;
- cout << cam_aux_data.render_scale.x << " " << cam_aux_data.render_scale.y << endl;
- cout << cam_aux_data.bar_size.x << " " << cam_aux_data.bar_size.y << endl;
-
return SDL_FRect{
.x = screen_pos.x,
.y = screen_pos.y,
@@ -203,8 +194,6 @@ void SDLContext::draw(const RenderContext & ctx) {
double angle = ctx.angle + data.angle_offset;
- cout << dstrect.x << " " << dstrect.y << " " << dstrect.w << " " << dstrect.h << endl;
-
this->set_color_texture(ctx.texture, ctx.sprite.data.color);
SDL_RenderCopyExF(this->game_renderer.get(), ctx.texture.get_img(), srcrect_ptr, &dstrect,
angle, NULL, render_flip);