source: abuse/trunk/data-frabs/addon/twist/lisp/startup.lsp @ 582

Last change on this file since 582 was 582, checked in by Sam Hocevar, 10 years ago

data: remove \r and trailing spaces and tabs from all Lisp sources.

File size: 1.9 KB
Line 
1;; Copyright 1999 Profound Corp,  All Rights reserved
2;; See licensing information for more details on usage rights
3
4
5(setq keep_backup T)                  ;; determines if Save
6
7(setq load_warn nil)
8
9(if (local_load "addon/deathmat/username.lsp")
10  (set_login username))
11
12(if (local_load "addon/deathmat/gamename.lsp")
13  (set_game_name gamename)
14  (set_game_name "Munir's Game"))
15
16(load "demo.lsp")
17
18(local_load "gamma.lsp")              ;; load gamma correction values if they have been saved
19
20(if (not (load "hardness.lsp"))       ;; load hardness, if no file set to hard
21    (setf difficulty        'normal))
22(setq load_warn T)
23
24; *********** Defaults **************************
25
26(setf sfx_directory     "sfx/")
27
28;(load_big_font     "art/letters.spe" "letters")
29(load_big_font     "art/fonts.spe" "screen11")
30(load_small_font   "art/fonts.spe" "small_font")
31(load_console_font "art/fonts.spe" "fnt5x7")
32(load_color_filter "art/back/backgrnd.spe")
33(load_palette      "addon/twist/art/palette.spe")
34(setq normal_tint (def_tint "art/back/backgrnd.spe"))
35
36
37(load_tiles "art/fore/foregrnd.spe"  ;; 0
38            "art/fore/techno.spe"    ;; 1-99
39            "art/fore/techno2.spe"   ;; 100-167
40            "art/fore/techno3.spe"   ;; 200-236
41            "art/fore/techno4.spe"   ;; 300-460
42            "art/fore/cave.spe"      ;; 500-634
43
44            "art/back/backgrnd.spe"  ;; 0
45            "art/back/intro.spe"     ;; 5-37
46            "art/back/city.spe"      ;; 40-70
47            "art/back/cave.spe"      ;; 84-103
48            "art/back/tech.spe"      ;; 110-139
49            )
50
51(setq load_warn nil)
52(load "register/tiles.lsp")       ;; load up registered artwork if it's there
53(setq load_warn T)
54
55(setf demos        '("levels/demo1.dat" "levels/demo3.dat" "levels/demo4.dat" "levels/demo5.dat"))
56
57(if (not (get_option "-f"))
58    (progn
59      (if skip_trainer_level
60          (set_first_level "addon/twist/levels/l01s01.lvl")
61        (set_first_level "addon/twist/levels/l01s01.lvl"))))
62
Note: See TracBrowser for help on using the repository browser.