1 | |
1 | |
2 | Raphaels detailed suggestions: |
2 | Raphaels detailed suggestions: |
3 | |
3 | |
4 | - Translate the TODO from German to English :-) |
4 | - Translate the TODO from German to English :-) |
5 | |
5 | |
6 | - Do not require setting CROSSFIRE_LIBDIR on the first run. If the LIBDIR |
6 | - Do not require setting DELIANTRA_LIBDIR on the first run. If the LIBDIR |
7 | cannot be found on the first run, the program does not start so it is |
7 | cannot be found on the first run, the program does not start so it is |
8 | not possible to use the Preferences dialog to set the LIBDIR. I have seen |
8 | not possible to use the Preferences dialog to set the LIBDIR. I have seen |
9 | that this minor initial problem prevents some people from using the editor, |
9 | that this minor initial problem prevents some people from using the editor, |
10 | so it would be very nice to avoid this initial bad feeling. Proposal for |
10 | so it would be very nice to avoid this initial bad feeling. Proposal for |
11 | fixing it: when gce starts (either in the main code or in the BEGIN |
11 | fixing it: when gce starts (either in the main code or in the BEGIN |
12 | block), try the following directories in order: |
12 | block), try the following directories in order: |
13 | $CFG->{LIBDIR} |
13 | $CFG->{LIBDIR} |
14 | $ENV{CROSSFIRE_LIBDIR} |
14 | $ENV{DELIANTRA_LIBDIR} |
15 | "$PREFIX/share/crossfire" ($PREFIX passed by Makefile) |
15 | "$PREFIX/share/crossfire" ($PREFIX passed by Makefile) |
16 | "/usr/share/crossfire" |
16 | "/usr/share/crossfire" |
17 | "/usr/share/games/crossfire" |
17 | "/usr/share/games/crossfire" |
18 | "/usr/local/share/crossfire" |
18 | "/usr/local/share/crossfire" |
19 | If all of these fail, then open a dialog that asks for LIBDIR (this |
19 | If all of these fail, then open a dialog that asks for LIBDIR (this |