aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/puzzles/stppc2x/dir-fix.patch
blob: ab69a1cfdf810a0cf1c93f06fdee5889fad99803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
diff -ru stppc2x-read-only.orig/sdl.c stppc2x-read-only/sdl.c
--- stppc2x-read-only.orig/sdl.c	2010-10-12 23:52:57.437389988 +0300
+++ stppc2x-read-only/sdl.c	2010-10-12 23:52:22.024060570 +0300
@@ -193,52 +193,52 @@
 #define MAX_MOUSE_ACCELERATION          (30)
 
 // Filename of a Truetype, Unicode-capable, monospaced font
-#define FIXED_FONT_FILENAME	        "fonts/DejaVuSansMono-Bold.ttf"
+#define FIXED_FONT_FILENAME	        "/usr/share/fonts/truetype/DejaVuSansCondensed-Bold.ttf"
 
 // Filename of a Truetype, Unicode-capable, variable-spaced font
-#define VARIABLE_FONT_FILENAME	        "fonts/DejaVuSansCondensed-Bold.ttf"
+#define VARIABLE_FONT_FILENAME	        "/usr/share/fonts/truetype/DejaVuSansCondensed-Bold.ttf"
 
 // Filename of a bitmap for the inital loading screen
-#define LOADING_SCREEN_FILENAME         "images/loading.png"
+#define LOADING_SCREEN_FILENAME         "/usr/share/games/stppc2x/images/loading.png"
 
 // Filename of a bitmap for the menu background image
-#define MENU_BACKGROUND_IMAGE           "images/background.png"
+#define MENU_BACKGROUND_IMAGE           "/usr/share/games/stppc2x/images/background.png"
 
 // Filename of a bitmap for the music credits image
-#define MENU_MUSIC_CREDITS_IMAGE        "images/music.png"
+#define MENU_MUSIC_CREDITS_IMAGE        "/usr/share/games/stppc2x/images/music.png"
 
 // Filename of a bitmap for the additional credits image
-#define MENU_ADDITIONAL_CREDITS_IMAGE   "images/elisa.png"
+#define MENU_ADDITIONAL_CREDITS_IMAGE   "/usr/share/games/stppc2x/images/elisa.png"
 
 // Filename of a bitmap for the menu "about" dialog
-#define MENU_ABOUT_IMAGE                "images/about.png"
+#define MENU_ABOUT_IMAGE                "/usr/share/games/stppc2x/images/about.png"
 
 // Filespec of bitmaps for the game previews
-#define MENU_PREVIEW_IMAGES             "images/%s.png"
+#define MENU_PREVIEW_IMAGES             "/usr/share/games/stppc2x/images/%s.png"
 
 // Filespec of helpfiles
-#define MENU_HELPFILES                  "help/%s.txt"
+#define MENU_HELPFILES                  "/usr/share/games/stppc2x/help/%s.txt"
 
 // Filespec of helpfiles
-#define MENU_KEY_HELPFILE               "help/keys.txt"
+#define MENU_KEY_HELPFILE               "/usr/share/games/stppc2x/help/keys.txt"
 
 // Filespec of helpfiles
-#define MENU_INGAME_KEY_HELPFILE        "help/ingamekeys.txt"
+#define MENU_INGAME_KEY_HELPFILE        "/usr/share/games/stppc2x/help/ingamekeys.txt"
 
 // Filename of the menu "game description" data
-#define MENU_DATA_FILENAME              "stppc2x.data"
+#define MENU_DATA_FILENAME              "/usr/share/games/stppc2x/stppc2x.data"
 
 // Filename of the global configuration INI file
-#define GLOBAL_CONFIG_FILENAME          "stppc2x.ini"
+#define GLOBAL_CONFIG_FILENAME          "/usr/share/games/stppc2x/stppc2x.ini"
 
 // Filename of the credits file.
-#define MENU_CREDITS_FILENAME           "credits.txt"
+#define MENU_CREDITS_FILENAME           "/usr/share/games/stppc2x/credits.txt"
 
 // Filespec of a saved screenshot
-#define SCREENSHOT_FILENAME             "screenshots/screenshot%04u.bmp"
+#define SCREENSHOT_FILENAME             "/usr/share/games/stppc2x/screenshots/screenshot%04u.bmp"
 
 // Path for music files
-#define MUSIC_PATH                      "music/"
+#define MUSIC_PATH                      "/usr/share/games/stppc2x/music/"
 
 // The longest internal name of any game to crop all filenames
 // etc. to.  Longest name is "Black Box" or "Rectangles" at the