Line
Link Here
|
0 |
-- src/defines.h |
0 |
++ src/defines.h |
Lines 405-411
Link Here
|
405 |
#ifdef LINUX |
405 |
#ifdef LINUX |
406 |
#define INI_USER_DIRECTORY "~/.berusky" |
406 |
#define INI_USER_DIRECTORY "~/.berusky" |
407 |
#define INI_USER_LEVELS "~/.berusky/User" |
407 |
#define INI_USER_LEVELS "~/.berusky/User" |
408 |
#define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME |
408 |
#define INI_FILE_GLOBAL "@GENTOO_DATADIR@/"INI_FILE_NAME |
409 |
#define INI_FILE_USER "~/.berusky/"INI_FILE_NAME |
409 |
#define INI_FILE_USER "~/.berusky/"INI_FILE_NAME |
410 |
#define INI_FILE_LOCAL "./"INI_FILE_NAME |
410 |
#define INI_FILE_LOCAL "./"INI_FILE_NAME |
411 |
#elif WINDOWS |
411 |
#elif WINDOWS |
412 |
-- berusky.ini |
412 |
++ berusky.ini |
Lines 1-9
Link Here
|
1 |
# Configuration for berusky game |
1 |
# Configuration for berusky game |
2 |
|
2 |
|
3 |
# Game data location |
3 |
# Game data location |
4 |
level_data = /usr/share/berusky/Levels |
4 |
level_data = @GENTOO_DATADIR@/Levels |
5 |
game_data = /usr/share/berusky/GameData |
5 |
game_data = @GENTOO_DATADIR@/GameData |
6 |
graphics_data = /usr/share/berusky/Graphics |
6 |
graphics_data = @GENTOO_DATADIR@/Graphics |
7 |
|
7 |
|
8 |
# Graphics settings for game and editor |
8 |
# Graphics settings for game and editor |
9 |
# game runs in 640x480 |
9 |
# game runs in 640x480 |
Lines 17-23
Link Here
|
17 |
|
17 |
|
18 |
# Game binary & tmp dir |
18 |
# Game binary & tmp dir |
19 |
# they're used by editor for "run level" command |
19 |
# they're used by editor for "run level" command |
20 |
game_binary = /usr/bin/berusky |
20 |
game_binary = @GENTOO_BINDIR@/berusky |
21 |
tmp_data = /var/tmp |
21 |
tmp_data = /var/tmp |
22 |
|
22 |
|
23 |
# Dir for users levels (it's the default level dir for level editor) |
23 |
# Dir for users levels (it's the default level dir for level editor) |
24 |
-- data/Makefile.am |
24 |
++ data/Makefile.am |
Lines 4-12
Link Here
|
4 |
## If you don't want it to overwrite it, |
4 |
## If you don't want it to overwrite it, |
5 |
## Please disable it in the Anjuta project configuration |
5 |
## Please disable it in the Anjuta project configuration |
6 |
|
6 |
|
7 |
berusky_datadir = $(prefix)/@NO_PREFIX_PACKAGE_DATA_DIR@/@PACKAGE@ |
7 |
EXTRA_DIST = \ |
8 |
|
8 |
berusky-data.spec\ |
9 |
berusky_data_DATA = \ |
9 |
berusky.spec |
10 |
berusky.ini |
|
|
11 |
|
12 |
EXTRA_DIST = $(berusky_data_DATA) |
13 |
-- Makefile.am |
10 |
++ Makefile.am |
Lines 5-12
Link Here
|
5 |
|
5 |
|
6 |
SUBDIRS = po src data |
6 |
SUBDIRS = po src data |
7 |
|
7 |
|
8 |
beruskydocdir = ${prefix}/doc/berusky |
8 |
EXTRA_DIST = \ |
9 |
beruskydoc_DATA = \ |
|
|
10 |
README\ |
9 |
README\ |
11 |
COPYING\ |
10 |
COPYING\ |
12 |
AUTHORS\ |
11 |
AUTHORS\ |
Lines 15-22
Link Here
|
15 |
NEWS\ |
14 |
NEWS\ |
16 |
TODO |
15 |
TODO |
17 |
|
16 |
|
18 |
EXTRA_DIST = $(beruskydoc_DATA) |
|
|
19 |
|
20 |
# Copy all the spec files. Of cource, only one is actually used. |
17 |
# Copy all the spec files. Of cource, only one is actually used. |
21 |
dist-hook: |
18 |
dist-hook: |
22 |
for specfile in *.spec; do \ |
19 |
for specfile in *.spec; do \ |