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-abuse/addon
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/data-abuse/addon/deathmat/deathmat.lsp

    r54 r582  
    66(defun net_file (x) (concatenate 'string net_dir x))
    77(load (net_file "dstartup.lsp"))
    8 (load "lisp/options.lsp")     
     8(load "lisp/options.lsp")
    99
    1010(load "lisp/input.lsp")
  • abuse/trunk/data-abuse/addon/deathmat/dstartup.lsp

    r566 r582  
    1010      (load "config/cur_lev.lsp")
    1111      (set_first_level (nth current_net_level net_levels)))
    12  
     12
    1313  ;; save the level we are so joining clients know which one to load
    14   (open_file "config/cur_lev.lsp" "wb" 
     14  (open_file "config/cur_lev.lsp" "wb"
    1515             (print `(setq current_net_level ,current_net_level))))
    16  
     16
    1717
    1818;; this is a simple check to see if they player has an engine version
     
    3232    (progn
    3333      (print "\nPlease make sure you unzipped the game with the -d option")
    34       (print "so that all directories get created properly.")     
    35       (print "example : pkunzip -d abusXXXX.zip")     
     34      (print "so that all directories get created properly.")
     35      (print "example : pkunzip -d abusXXXX.zip")
    3636      (quit)))
    3737(setq load_warn T)
     
    5252             (print (list 'setq 'server_version_major (major_version) ))
    5353             (print (list 'setq 'server_version_minor (minor_version)))))
    54              
     54
    5555
    5656(if (not (am_a_client))
     
    5959;(let ((input (nice_input "DEATHMATCH : Enter your name below" "Name" username)))
    6060;  (open_file "config/username.lsp" "wb"
    61 ;            (print (list 'setq 'username 
     61;            (print (list 'setq 'username
    6262;                         (concatenate 'string '(#\") input '(#\"))))))
    6363
     
    8282(defun display_player (player text_x text_y)
    8383  (if player
    84       (with_object player       
    85         (put_string (get_main_font) text_x text_y 
    86                     (concatenate 'string (digstr (kills) 2) " " (player_name) 
    87                                                      (if (local_player) 
     84      (with_object player
     85        (put_string (get_main_font) text_x text_y
     86                    (concatenate 'string (digstr (kills) 2) " " (player_name)
     87                                                     (if (local_player)
    8888                                                         " <<"
    8989                                                       ""))
  • abuse/trunk/data-abuse/addon/deathmat/large.lsp

    r54 r582  
    1 (setq net_levels 
     1(setq net_levels
    22      '("netlevel/8play1.spe"
    33        "netlevel/8play2.spe"
  • abuse/trunk/data-abuse/addon/deathmat/medium.lsp

    r54 r582  
    1 (setq net_levels 
     1(setq net_levels
    22      '(
    33        "netlevel/4play1.spe"
  • abuse/trunk/data-abuse/addon/deathmat/small.lsp

    r54 r582  
    1 (setq net_levels 
     1(setq net_levels
    22      '("netlevel/2play1.spe"
    33        "netlevel/2play2.spe"
  • abuse/trunk/data-abuse/addon/example/example.lsp

    r54 r582  
    1111;;;; if you do not already have the directory c:\abuse\addon, make it now.
    1212
    13 ;;;; If you created foretiles for abuse (using Satan Paint) you should 
     13;;;; If you created foretiles for abuse (using Satan Paint) you should
    1414;;;; start numbering them at 1200 because the last of the registered
    1515;;;; tiles end at 1100 something.  Backtiles should start numbering at 350.
     
    3636;;;; ****************** CREATING PACKAGES *******************
    3737;;;; to archive this package you should do the following
    38 ;;;;   DOS : 
     38;;;;   DOS :
    3939;;;;     cd c:\abuse\addon
    4040;;;;     pkzip -rp example.zip example\*.*
     
    5757
    5858;;;; Now the meat of this package :
    59 ;;;; Note that slashes should be FORWARD slashes even if 
     59;;;; Note that slashes should be FORWARD slashes even if
    6060;;;; you are using DOS
    6161
    6262;; load up some tiles I made.  You can add more filenames
    6363;; if you wish, but they should all be loaded from 'your' dir.
    64 (load_tiles "addon/example/example.spe")   
     64(load_tiles "addon/example/example.spe")
    6565
    6666;; set the first level to the one I made
    67 (set_first_level "addon/example/example.lvl") 
     67(set_first_level "addon/example/example.lvl")
    6868
    6969;; load up the normal abuse startup file
    70 (load "abuse.lsp")                       
     70(load "abuse.lsp")
    7171
    7272
Note: See TracChangeset for help on using the changeset viewer.