1 /* 2 * Enigma settings.h. 3 * 4 * Copyright 2000 Simon Tatham. All rights reserved. 5 * 6 * Enigma is licensed under the MIT licence. See the file LICENCE for 7 * details. 8 * 9 * - we are all amf - 10 */ 11 12 /* 13 * Where to put Enigma's static files: the levels and level sets. 14 */ 15 #ifdef TESTING 16 #define LEVELDIR "./levels/" 17 #endif 18 19 /* 20 * Where to put Enigma's variable files: the users' saved positions 21 * and progress details, and the Hall of Fame. 22 */ 23 #ifdef TESTING 24 #define SAVEDIR "./saves/" 25 #endif 26 27 /* 28 * The name of the level set Enigma should attempt to load on 29 * startup if none is provided on the command line. 30 */ 31 #define DEFAULTSET "original" 32 33 /* 34 * Characters not permitted in level set names. (To prevent people 35 * using ../<stuff> as a level set name to try to make Enigma 36 * subvert other programs.) Just to be safe, we'll also put '.' in 37 * here so that there's absolutely no chance of things in SAVEDIR 38 * overwriting each other, by accident or design. 39 */ 40 #define SETNAME_INVALID "/." 41