File: levels

package info (click to toggle)
pacman4console 1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 412 kB
  • sloc: ansic: 914; makefile: 77
file content (18 lines) | stat: -rw-r--r-- 733 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Change levels location in pacman.h.
Author: Joao Eriberto Mota Filho <eriberto@eriberto.pro.br>
Author: Alexandre Dantas <eu@alexdantas.net>
Last-Update: 2014-08-13
--- pacman4console.orig/pacman.h
+++ pacman4console/pacman.h
@@ -1,9 +1,7 @@
 // Some variables that you may want to change
 
-#ifndef DATAROOTDIR
-#    define DATAROOTDIR "/usr/local/share"
-#endif
-#define LEVELS_FILE DATAROOTDIR "/pacman/Levels/level__.dat"
+#define DATAROOTDIR "/usr/share"
+#define LEVELS_FILE DATAROOTDIR "/pacman4console/Levels/level__.dat"
 char LevelFile[] = LEVELS_FILE;     //Locations of default levels
 int FreeLife = 1000;                //Starting points for free life
 int Points = 0;                     //Initial points