From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Alex Myczko <tar@debian.org>
Date: Mar, 06 2026 21:46:47 +0000
Subject: [PATCH] <short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-<Vendor>: <vendor-bugtracker-url>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>

--- tanks-1.0.1+ds.orig/Makefile
+++ tanks-1.0.1+ds/Makefile
@@ -1,4 +1,4 @@
-PROJECT_NAME = Tanks
+PROJECT_NAME = tanks
 
 SRC = src
 BUILD = build
@@ -38,7 +38,7 @@ else
 		CC = g++
 		INCLUDEPATH =
 		LFLAGS = -O
-		CFLAGS = -c -Wall -Wno-narrowing -std=c++17
+		CFLAGS = -c -Wall -Wno-narrowing -std=c++17 -g
 		LIBS = -lSDL2main -lSDL2 -lSDL2_image -lSDL2_ttf -lSDL2_mixer
 		APP_RESOURCES = font/kongtext.ttf textures/texture.png levels sounds
 		RESOURCES = $(APP_RESOURCES)
--- tanks-1.0.1+ds.orig/src/appconfig.cpp
+++ tanks-1.0.1+ds/src/appconfig.cpp
@@ -1,8 +1,8 @@
 #include "appconfig.h"
 
-string AppConfig::texture_path = "texture.png";
-string AppConfig::levels_path = "levels/";
-string AppConfig::font_path = "kongtext.ttf";
+string AppConfig::texture_path = "/usr/share/tanks/texture.png";
+string AppConfig::levels_path = "/usr/share/tanks/levels/";
+string AppConfig::font_path = "/usr/share/tanks/kongtext.ttf";
 string AppConfig::game_over_text = "GAME OVER";
 
 Size AppConfig::map_size = {26, 26};
--- tanks-1.0.1+ds.orig/src/soundconfig.h
+++ tanks-1.0.1+ds/src/soundconfig.h
@@ -5,39 +5,39 @@
 
 namespace SoundConfig
 {
-    const Sound STAGE_START_UP{"sounds/stage_start_up.ogg", 100.0, 1.0, false, true};
-    const Sound PAUSE{"sounds/pause.ogg", 100.0, 1.0, false};
-    const Sound GAME_OVER{"sounds/game_over.ogg", 100.0, 1.0, false};
+    const Sound STAGE_START_UP{"/usr/share/tanks/sounds/stage_start_up.ogg", 100.0, 1.0, false, true};
+    const Sound PAUSE{"/usr/share/tanks/sounds/pause.ogg", 100.0, 1.0, false};
+    const Sound GAME_OVER{"/usr/share/tanks/sounds/game_over.ogg", 100.0, 1.0, false};
 
-    const Sound BONUS_APPEARED{"sounds/bonus_appeared.ogg", 90.0, 0.9, true};
-    const Sound BONUS_OBTAINED{"sounds/bonus_obtained.ogg", 90.0, 0.9, true};
+    const Sound BONUS_APPEARED{"/usr/share/tanks/sounds/bonus_appeared.ogg", 90.0, 0.9, true};
+    const Sound BONUS_OBTAINED{"/usr/share/tanks/sounds/bonus_obtained.ogg", 90.0, 0.9, true};
 
-    const Sound BULLET_HIT_BRICK{"sounds/bullet_hit_brick.ogg", 40.0, 0.7, true};
-    const Sound BULLET_HIT_MAP_BOUNDARIES{"sounds/bullet_hit_map_boundaries.ogg", 40.0, 1.0, true};
-    const Sound BULLET_HIT_STONE{"sounds/bullet_hit_stone.ogg", 40.0, 1.0, true};
-    const Sound BULLET_HIT_BULLET{"sounds/bullet_hit_bullet.ogg", 40.0, 1.0, true};
+    const Sound BULLET_HIT_BRICK{"/usr/share/tanks/sounds/bullet_hit_brick.ogg", 40.0, 0.7, true};
+    const Sound BULLET_HIT_MAP_BOUNDARIES{"/usr/share/tanks/sounds/bullet_hit_map_boundaries.ogg", 40.0, 1.0, true};
+    const Sound BULLET_HIT_STONE{"/usr/share/tanks/sounds/bullet_hit_stone.ogg", 40.0, 1.0, true};
+    const Sound BULLET_HIT_BULLET{"/usr/share/tanks/sounds/bullet_hit_bullet.ogg", 40.0, 1.0, true};
 
-    const Sound EAGLE_DESTROYED{"sounds/eagle_destroyed.ogg", 70.0, 1.0, true};
+    const Sound EAGLE_DESTROYED{"/usr/share/tanks/sounds/eagle_destroyed.ogg", 70.0, 1.0, true};
 
-    const Sound ENEMY_DESTROYED{"sounds/enemy_destroyed.ogg", 100.0, 0.7, true};
-    const Sound ENEMY_HIT{"sounds/enemy_hit.ogg", 70.0, 1.0, true};
+    const Sound ENEMY_DESTROYED{"/usr/share/tanks/sounds/enemy_destroyed.ogg", 100.0, 0.7, true};
+    const Sound ENEMY_HIT{"/usr/share/tanks/sounds/enemy_hit.ogg", 70.0, 1.0, true};
 
-    // const Sound HIGHSCORE_BEATEN {"sounds/highscore_beaten.ogg", 100.0, true};
+    // const Sound HIGHSCORE_BEATEN {"/usr/share/tanks/sounds/highscore_beaten.ogg", 100.0, true};
 
-    const Sound MENU_ITEM_SELECTED{"sounds/menu_item_selected.ogg", 70.0, 1.0, true};
+    const Sound MENU_ITEM_SELECTED{"/usr/share/tanks/sounds/menu_item_selected.ogg", 70.0, 1.0, true};
 
-    const Sound PLAYER_DESTROYED{"sounds/player_destroyed.ogg", 60.0, 1.0, true};
-    const Sound PLAYER_FIRED{"sounds/player_fired.ogg", 60.0, 1.0, true};
-    const Sound PLAYER_HIT{"sounds/player_hit.ogg", 100.0, 1.0, true};
-    const Sound PLAYER_IDLE{"sounds/player_idle.ogg", 50.0, 1.0, false};
-    const Sound PLAYER_LIFE_UP{"sounds/player_life_up.ogg", 100.0, 1.0, true};
-    const Sound PLAYER_MOVING{"sounds/player_moving.ogg", 50.0, 1.0, false};
-    const Sound PLAYER_RESPAWN{"sounds/player_respawn.ogg", 100.0, 1.0, false, true};
-    // const Sound PLAYER_SLIDING{"sounds/player_sliding.ogg", 100.0, true};
+    const Sound PLAYER_DESTROYED{"/usr/share/tanks/sounds/player_destroyed.ogg", 60.0, 1.0, true};
+    const Sound PLAYER_FIRED{"/usr/share/tanks/sounds/player_fired.ogg", 60.0, 1.0, true};
+    const Sound PLAYER_HIT{"/usr/share/tanks/sounds/player_hit.ogg", 100.0, 1.0, true};
+    const Sound PLAYER_IDLE{"/usr/share/tanks/sounds/player_idle.ogg", 50.0, 1.0, false};
+    const Sound PLAYER_LIFE_UP{"/usr/share/tanks/sounds/player_life_up.ogg", 100.0, 1.0, true};
+    const Sound PLAYER_MOVING{"/usr/share/tanks/sounds/player_moving.ogg", 50.0, 1.0, false};
+    const Sound PLAYER_RESPAWN{"/usr/share/tanks/sounds/player_respawn.ogg", 100.0, 1.0, false, true};
+    // const Sound PLAYER_SLIDING{"/usr/share/tanks/sounds/player_sliding.ogg", 100.0, true};
 
-    // const Sound SCORE_BONUS_POINTS_RECEIVED {"sounds/score_bonus_points_received.ogg", 100.0, 1.0, true};
+    // const Sound SCORE_BONUS_POINTS_RECEIVED {"/usr/share/tanks/sounds/score_bonus_points_received.ogg", 100.0, 1.0, true};
 
-    const Sound SCORE_POINT_COUNTED{"sounds/score_point_counted.ogg", 80.0, 1.0, true};
+    const Sound SCORE_POINT_COUNTED{"/usr/share/tanks/sounds/score_point_counted.ogg", 80.0, 1.0, true};
 }
 
 #endif
\ No newline at end of file
