Ignore:
Timestamp:
May 6, 2011, 12:47:14 AM (12 years ago)
Author:
Sam Hocevar
Message:

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

Location:
abuse/trunk/data/register
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/data/register/ant.lsp

    r54 r582  
    1414                  (set_aistate 10)        ;; end game
    1515                (set_aistate 5)))))))         ;; fade out
    16    
    17 (defun boss_cons () 
     16
     17(defun boss_cons ()
    1818  (set_hp 1)
    1919  (setq taunt_time 20))
     
    2424        (playerx (+ (with_object (bg) (x)) (with_object (bg) (* (xvel) 8))))
    2525        (playery (+ (- (with_object (bg) (y)) 15) (with_object (bg) (* (yvel) 2)))))
    26    
     26
    2727    (if (and (can_see (x) (y) firex firey nil) (can_see firex firey playerx playery nil))
    2828        (progn
     
    9090                  (7;; fade out
    9191                   (set_targetable nil)
    92                    (set_fade_count (+ (fade_count) 2))     
     92                   (set_fade_count (+ (fade_count) 2))
    9393                   (if (eq (fade_count) 14)
    9494                       (progn
     
    9999                         (setq taunt_time (- 30 (* (aitype) 2)))
    100100                         (go_state 0))))
    101          
    102                   (10;; game over         
     101
     102                  (10;; game over
    103103                   (set_state hiding)
    104104                   (set_targetable nil)
     
    114114
    115115          T))))
    116            
    117116
    118            
    119              
     117
     118
     119
    120120(def_char BOSS_ANT
    121121  (funs (ai_fun boss_ai)
     
    127127  (fields ("taunt_time" "taunt_tint")
    128128         ("aistate" "aistate"))
    129   (states  "register/boss.spe" 
     129  (states  "register/boss.spe"
    130130   (stopped "awlk0001.pcx")
    131131   (hiding  "hidden")
  • abuse/trunk/data/register/flyer.lsp

    r54 r582  
    99  (flags (hurtable T))
    1010  (abilities (start_hp 20))
    11   (vars fire_delay burst_delay burst_total burst_wait burst_left 
     11  (vars fire_delay burst_delay burst_total burst_wait burst_left
    1212        max_xvel   max_yvel    smoke_time fire_time)
    1313  (fields ("fire_delay"  who_fdelay)
     
    1919          ("aitype"      ai_type)
    2020          ("aistate"     ai_state))
    21  
     21
    2222  (range 200 200)
    2323  (states "art/flyer.spe"
     
    3737  (flags (hurtable T))
    3838  (abilities (start_hp 20))
    39   (vars fire_delay burst_delay burst_total burst_wait burst_left 
     39  (vars fire_delay burst_delay burst_total burst_wait burst_left
    4040        max_xvel   max_yvel    smoke_time fire_time)
    4141  (fields ("fire_delay"   who_fdelay)
     
    4747          ("aitype"       ai_type)
    4848          ("aistate"      ai_state))
    49  
     49
    5050  (range 200 200)
    5151  (states "art/flyer.spe"
  • abuse/trunk/data/register/powerup.lsp

    r54 r582  
    22;; See licencing information for more details on usage rights
    33
    4 (defun sneaky_power_ai () 
     4(defun sneaky_power_ai ()
    55  (next_picture)
    6   (if (touching_bg) 
    7       (progn 
     6  (if (touching_bg)
     7      (progn
    88        (with_object (bg) (setq special_power SNEAKY_POWER))
    99        nil)
    1010    T))
    1111
    12 (defun fly_power_ai () 
     12(defun fly_power_ai ()
    1313  (next_picture)
    1414  (if (touching_bg)
    15       (progn 
     15      (progn
    1616        (with_object (bg) (setq special_power FLY_POWER))
    1717        nil)
     
    1919
    2020
    21 (defun health_power_ai () 
     21(defun health_power_ai ()
    2222  (next_picture)
    23   (if (touching_bg) 
    24       (progn 
    25         (with_object (bg) 
     23  (if (touching_bg)
     24      (progn
     25        (with_object (bg)
    2626                     (progn
    2727                       (setq special_power HEALTH_POWER)
  • abuse/trunk/data/register/tiles.lsp

    r54 r582  
    11
    2 (load_tiles 
     2(load_tiles
    33            "register/alien.spe"    ;; 700-774
    44            "register/trees.spe"    ;; 800-931
     
    1818        (set_aistate (+ (aistate) 1))))
    1919  T)
    20      
     20
    2121
    2222
    2323(def_char END_GAME
    2424  (funs (ai_fun end_game_ai))
    25   (range 0 0) 
     25  (range 0 0)
    2626  (states "art/endgame.spe"
    2727          (stopped (app (seq "pipe" 1 9)
  • abuse/trunk/data/register/weapons.lsp

    r54 r582  
    4444
    4545
    46 (defun lsaber_draw () 
     46(defun lsaber_draw ()
    4747  (let ((c1 (find_rgb 255 255 255))
    4848        (c2 (find_rgb 70 59 67))
     
    8484  (if (and (eq 0 (mod (game_tick) 2)) (not (frame_panic)))
    8585      (let ((rand (rand_on)))
    86         (with_object (add_object SMALL_LIGHT_CLOUD (+ (x) (random 3)) 
     86        (with_object (add_object SMALL_LIGHT_CLOUD (+ (x) (random 3))
    8787                                 (- (y) (random 3) (/ (picture_height) 2)))
    8888                     (set_fade_count 11))
     
    9393          (let ((mex (x))
    9494                (mey (y)))
    95             (with_object (get_object 0) (find_object_in_area (- mex 7) 
    96                                                              (- mey 7) 
    97                                                              (+ mex 7) 
     95            (with_object (get_object 0) (find_object_in_area (- mex 7)
     96                                                             (- mey 7)
     97                                                             (+ mex 7)
    9898                                                             (+ mey 7) bad_guy_list))))
    99       (progn   
     99      (progn
    100100        (do_white_explo 40 45)
    101101        nil)
     
    110110                    (set_aistate (mod (+ (aistate) 35) 360))
    111111                  (set_aistate (mod (+ (aistate) 325 ) 360)))))))
    112       T))   
     112      T))
    113113)
    114114
     
    116116
    117117(defun dfris_cache (type)
    118   (list (list EXPLODE8 EXP_LIGHT) 
     118  (list (list EXPLODE8 EXP_LIGHT)
    119119        (list GRENADE_SND)))
    120120
Note: See TracChangeset for help on using the changeset viewer.