diff --git a/cmake-build-debug/CMakeFiles/nhf.dir/C.includecache b/cmake-build-debug/CMakeFiles/nhf.dir/C.includecache
index dcdaee3423c06bb9c42dddcda4a6605700125963..37e9d702c7624dddade3c401c2e80788e70f812c 100644
--- a/cmake-build-debug/CMakeFiles/nhf.dir/C.includecache
+++ b/cmake-build-debug/CMakeFiles/nhf.dir/C.includecache
@@ -16,7 +16,633 @@ view.h
 move.h
 /home/blint/projects/nhf/move.h
 
+/home/blint/projects/nhf/move.c
+SDL.h
+-
+stdbool.h
+-
+move.h
+/home/blint/projects/nhf/move.h
+view.h
+/home/blint/projects/nhf/view.h
+
 /home/blint/projects/nhf/move.h
 
+/home/blint/projects/nhf/view.c
+SDL2/SDL.h
+-
+SDL2/SDL_image.h
+-
+stdlib.h
+-
+stdio.h
+-
+view.h
 /home/blint/projects/nhf/view.h
 
+/home/blint/projects/nhf/view.h
+
+/usr/include/SDL2/SDL.h
+SDL_main.h
+/usr/include/SDL2/SDL_main.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_assert.h
+/usr/include/SDL2/SDL_assert.h
+SDL_atomic.h
+/usr/include/SDL2/SDL_atomic.h
+SDL_audio.h
+/usr/include/SDL2/SDL_audio.h
+SDL_clipboard.h
+/usr/include/SDL2/SDL_clipboard.h
+SDL_cpuinfo.h
+/usr/include/SDL2/SDL_cpuinfo.h
+SDL_endian.h
+/usr/include/SDL2/SDL_endian.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+SDL_events.h
+/usr/include/SDL2/SDL_events.h
+SDL_filesystem.h
+/usr/include/SDL2/SDL_filesystem.h
+SDL_gamecontroller.h
+/usr/include/SDL2/SDL_gamecontroller.h
+SDL_haptic.h
+/usr/include/SDL2/SDL_haptic.h
+SDL_hints.h
+/usr/include/SDL2/SDL_hints.h
+SDL_joystick.h
+/usr/include/SDL2/SDL_joystick.h
+SDL_loadso.h
+/usr/include/SDL2/SDL_loadso.h
+SDL_log.h
+/usr/include/SDL2/SDL_log.h
+SDL_messagebox.h
+/usr/include/SDL2/SDL_messagebox.h
+SDL_mutex.h
+/usr/include/SDL2/SDL_mutex.h
+SDL_power.h
+/usr/include/SDL2/SDL_power.h
+SDL_render.h
+/usr/include/SDL2/SDL_render.h
+SDL_rwops.h
+/usr/include/SDL2/SDL_rwops.h
+SDL_sensor.h
+/usr/include/SDL2/SDL_sensor.h
+SDL_shape.h
+/usr/include/SDL2/SDL_shape.h
+SDL_system.h
+/usr/include/SDL2/SDL_system.h
+SDL_thread.h
+/usr/include/SDL2/SDL_thread.h
+SDL_timer.h
+/usr/include/SDL2/SDL_timer.h
+SDL_version.h
+/usr/include/SDL2/SDL_version.h
+SDL_video.h
+/usr/include/SDL2/SDL_video.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_assert.h
+SDL_config.h
+/usr/include/SDL2/SDL_config.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+signal.h
+-
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_atomic.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_platform.h
+/usr/include/SDL2/SDL_platform.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+sys/cpuinline.h
+-
+mbarrier.h
+-
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_audio.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+SDL_endian.h
+/usr/include/SDL2/SDL_endian.h
+SDL_mutex.h
+/usr/include/SDL2/SDL_mutex.h
+SDL_thread.h
+/usr/include/SDL2/SDL_thread.h
+SDL_rwops.h
+/usr/include/SDL2/SDL_rwops.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_blendmode.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_clipboard.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_config.h
+SDL_platform.h
+/usr/include/SDL2/SDL_platform.h
+
+/usr/include/SDL2/SDL_cpuinfo.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+intrin.h
+-
+intrin.h
+-
+altivec.h
+-
+arm_neon.h
+-
+armintr.h
+-
+arm_neon.h
+-
+armintr.h
+-
+arm_neon.h
+-
+mm3dnow.h
+-
+immintrin.h
+-
+mmintrin.h
+-
+xmmintrin.h
+-
+emmintrin.h
+-
+pmmintrin.h
+-
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_endian.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+endian.h
+-
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_error.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_events.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+SDL_video.h
+/usr/include/SDL2/SDL_video.h
+SDL_keyboard.h
+/usr/include/SDL2/SDL_keyboard.h
+SDL_mouse.h
+/usr/include/SDL2/SDL_mouse.h
+SDL_joystick.h
+/usr/include/SDL2/SDL_joystick.h
+SDL_gamecontroller.h
+/usr/include/SDL2/SDL_gamecontroller.h
+SDL_quit.h
+/usr/include/SDL2/SDL_quit.h
+SDL_gesture.h
+/usr/include/SDL2/SDL_gesture.h
+SDL_touch.h
+/usr/include/SDL2/SDL_touch.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_filesystem.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_gamecontroller.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+SDL_rwops.h
+/usr/include/SDL2/SDL_rwops.h
+SDL_joystick.h
+/usr/include/SDL2/SDL_joystick.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_gesture.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+SDL_video.h
+/usr/include/SDL2/SDL_video.h
+SDL_touch.h
+/usr/include/SDL2/SDL_touch.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_haptic.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+SDL_joystick.h
+/usr/include/SDL2/SDL_joystick.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_hints.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_joystick.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_keyboard.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+SDL_keycode.h
+/usr/include/SDL2/SDL_keycode.h
+SDL_video.h
+/usr/include/SDL2/SDL_video.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_keycode.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_scancode.h
+/usr/include/SDL2/SDL_scancode.h
+
+/usr/include/SDL2/SDL_loadso.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_log.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_main.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_messagebox.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_video.h
+/usr/include/SDL2/SDL_video.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_mouse.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+SDL_video.h
+/usr/include/SDL2/SDL_video.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_mutex.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_pixels.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_endian.h
+/usr/include/SDL2/SDL_endian.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_platform.h
+AvailabilityMacros.h
+/usr/include/SDL2/AvailabilityMacros.h
+TargetConditionals.h
+/usr/include/SDL2/TargetConditionals.h
+winapifamily.h
+-
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_power.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_quit.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+
+/usr/include/SDL2/SDL_rect.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+SDL_pixels.h
+/usr/include/SDL2/SDL_pixels.h
+SDL_rwops.h
+/usr/include/SDL2/SDL_rwops.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_render.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_rect.h
+/usr/include/SDL2/SDL_rect.h
+SDL_video.h
+/usr/include/SDL2/SDL_video.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_rwops.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_scancode.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+
+/usr/include/SDL2/SDL_sensor.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_shape.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_pixels.h
+/usr/include/SDL2/SDL_pixels.h
+SDL_rect.h
+/usr/include/SDL2/SDL_rect.h
+SDL_surface.h
+/usr/include/SDL2/SDL_surface.h
+SDL_video.h
+/usr/include/SDL2/SDL_video.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_stdinc.h
+SDL_config.h
+/usr/include/SDL2/SDL_config.h
+sys/types.h
+-
+stdio.h
+-
+stdlib.h
+-
+stddef.h
+-
+stdarg.h
+-
+stdlib.h
+-
+malloc.h
+-
+stddef.h
+-
+stdarg.h
+-
+memory.h
+-
+string.h
+-
+strings.h
+-
+wchar.h
+-
+inttypes.h
+-
+stdint.h
+-
+ctype.h
+-
+math.h
+-
+float.h
+-
+alloca.h
+-
+malloc.h
+-
+malloc.h
+-
+malloc.h
+-
+stdlib.h
+-
+sal.h
+-
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_surface.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_pixels.h
+/usr/include/SDL2/SDL_pixels.h
+SDL_rect.h
+/usr/include/SDL2/SDL_rect.h
+SDL_blendmode.h
+/usr/include/SDL2/SDL_blendmode.h
+SDL_rwops.h
+/usr/include/SDL2/SDL_rwops.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_system.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_keyboard.h
+/usr/include/SDL2/SDL_keyboard.h
+SDL_render.h
+/usr/include/SDL2/SDL_render.h
+SDL_video.h
+/usr/include/SDL2/SDL_video.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_thread.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+SDL_atomic.h
+/usr/include/SDL2/SDL_atomic.h
+SDL_mutex.h
+/usr/include/SDL2/SDL_mutex.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+process.h
+-
+process.h
+-
+stdlib.h
+-
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_timer.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_touch.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_error.h
+/usr/include/SDL2/SDL_error.h
+SDL_video.h
+/usr/include/SDL2/SDL_video.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_version.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/SDL_video.h
+SDL_stdinc.h
+/usr/include/SDL2/SDL_stdinc.h
+SDL_pixels.h
+/usr/include/SDL2/SDL_pixels.h
+SDL_rect.h
+/usr/include/SDL2/SDL_rect.h
+SDL_surface.h
+/usr/include/SDL2/SDL_surface.h
+begin_code.h
+/usr/include/SDL2/begin_code.h
+close_code.h
+/usr/include/SDL2/close_code.h
+
+/usr/include/SDL2/begin_code.h
+
+/usr/include/SDL2/close_code.h
+
diff --git a/cmake-build-debug/CMakeFiles/nhf.dir/main.c.o b/cmake-build-debug/CMakeFiles/nhf.dir/main.c.o
index 13a6367067881762e7f2025f33481bc7bd676970..554976c4cad8870229c3135ed6deba05216ff13a 100644
Binary files a/cmake-build-debug/CMakeFiles/nhf.dir/main.c.o and b/cmake-build-debug/CMakeFiles/nhf.dir/main.c.o differ
diff --git a/cmake-build-debug/CMakeFiles/nhf.dir/move.c.o b/cmake-build-debug/CMakeFiles/nhf.dir/move.c.o
index c05ab026372582ed1adbfec5d256a062e7beaa64..58a238276a4d6cfcf2149e135d2f0eb04917c52b 100644
Binary files a/cmake-build-debug/CMakeFiles/nhf.dir/move.c.o and b/cmake-build-debug/CMakeFiles/nhf.dir/move.c.o differ
diff --git a/cmake-build-debug/CMakeFiles/nhf.dir/view.c.o b/cmake-build-debug/CMakeFiles/nhf.dir/view.c.o
index f5d22b1f5875683dcb601353744ecd5f6f3082e9..892b6a9b105a6463db5fcc601161da4cd066c901 100644
Binary files a/cmake-build-debug/CMakeFiles/nhf.dir/view.c.o and b/cmake-build-debug/CMakeFiles/nhf.dir/view.c.o differ
diff --git a/cmake-build-debug/nhf b/cmake-build-debug/nhf
index 6b79060fe457889f28eccf6acab0f517183a8fc2..1bafc3da49e60e9eb6e2531282261bb40882e418 100755
Binary files a/cmake-build-debug/nhf and b/cmake-build-debug/nhf differ
diff --git a/move.h b/move.h
index 097aa3c8e7ac8da62f1b79e190f5331ac50f3f8f..802399965129b110a52839bdcdf0611bde01eeb6 100644
--- a/move.h
+++ b/move.h
@@ -4,7 +4,7 @@
 
 #ifndef NHF_MOVE_H
 #define NHF_MOVE_H
-
+#endif //NHF_MOVE_H
 extern int v;
 extern int vx;
 extern int vy;
@@ -12,5 +12,3 @@ extern int vy;
 void move(SDL_Event ev);
 
 void keywatcher(SDL_Event ev, SDL_Texture *kep, int x, int y, bool *quit, bool *moving, SDL_Renderer *renderer);
-
-#endif //NHF_MOVE_H
\ No newline at end of file
diff --git a/view.h b/view.h
index e0f35926a8dccd573d1d04b1b1528c6f491ad2a5..ac4f0fe5146a567e7cd548b78ae3a1bc5a92f341 100644
--- a/view.h
+++ b/view.h
@@ -4,6 +4,7 @@
 
 #ifndef NHF_VIEW_H
 #define NHF_VIEW_H
+#endif //NHF_VIEW_H
 
 extern int owl;
 
@@ -11,6 +12,4 @@ void sdl_init(int szeles, int magas, SDL_Window **pwindow, SDL_Renderer **prende
 
 SDL_Texture *kep_betolt(SDL_Renderer *renderer, char *filename);
 
-void kirajzol(SDL_Renderer *renderer, SDL_Texture *kep, int x, int y);
-
-#endif //NHF_VIEW_H
\ No newline at end of file
+void kirajzol(SDL_Renderer *renderer, SDL_Texture *kep, int x, int y);
\ No newline at end of file