Changeset 58
- Timestamp:
- Mar 2, 2008, 4:02:22 PM (14 years ago)
- Location:
- abuse/trunk/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/ant.cpp
r56 r58 26 26 ANT_no_see_time, 27 27 ANT_hide_flag }; 28 29 void *ant_ai();30 28 31 29 int can_see(game_object *o, int32_t x1, int32_t y1, int32_t x2, int32_t y2) -
abuse/trunk/src/cache.cpp
r56 r58 48 48 { 49 49 char msg[100]; 50 sprintf(msg, symbol_str("calc_crc")); // this may take some time, show the user a status indicator50 sprintf(msg, "%s", symbol_str("calc_crc")); // this may take some time, show the user a status indicator 51 51 if (stat_man) stat_man->push(msg,NULL); 52 52 -
abuse/trunk/src/clisp.hpp
r57 r58 11 11 #ifndef SCADALISP 12 12 int get_lprop_number(void *sybol, int def); // returns def if symbol undefined or not number type 13 14 15 void push_onto_list(void *object, void *&list);16 13 17 14 -
abuse/trunk/src/imlib/jmalloc.cpp
r56 r58 26 26 #define JM_SMALL_SIZE 128 // above 128 bytes is considered to be a big block and no hashing is done 27 27 int alloc_space=ALLOC_SPACE_STATIC; 28 29 extern void free_up_memory();30 28 31 29 #ifdef MEM_CHECK … … 776 774 if (j_available()<min_size) 777 775 { 778 fprintf(stderr, not_enough_total_memory_message);776 fprintf(stderr, "%s", not_enough_total_memory_message); 779 777 exit(0); 780 778 } -
abuse/trunk/src/innet.cpp
r56 r58 411 411 if (reg==2) // too many players 412 412 { 413 fprintf(stderr, symbol_str("max_players"));413 fprintf(stderr, "%s", symbol_str("max_players")); 414 414 delete sock; 415 415 return 0; … … 421 421 if (reg && !registered) 422 422 { 423 fprintf(stderr, symbol_str("net_not_reg"));423 fprintf(stderr, "%s", symbol_str("net_not_reg")); 424 424 delete sock; 425 425 return 0; … … 428 428 if (!reg && registered) 429 429 { 430 fprintf(stderr, symbol_str("server_not_reg"));430 fprintf(stderr, "%s", symbol_str("server_not_reg")); 431 431 delete sock; 432 432 return 0; -
abuse/trunk/src/lisp.cpp
r56 r58 48 48 int space_size[4],print_level=0,trace_level=0,trace_print_level=1000; 49 49 int total_user_functions; 50 51 void lprint(void *i);52 50 53 51 int current_space; // normally set to TMP_SPACE, unless compiling or other needs … … 1465 1463 dprintf("\n"); 1466 1464 } 1467 1468 void *eval(void *prog);1469 1465 1470 1466 void *eval_sys_function(lisp_sys_function *fun, void *arg_list); -
abuse/trunk/src/menu.cpp
r56 r58 118 118 return NULL; 119 119 } 120 121 void main_menu();122 120 123 121 int menu(void *args, JCFont *font) // reurns -1 on esc -
abuse/trunk/src/nfserver.hpp
r57 r58 26 26 bFILE *open_nfs_file(char const *filename, char const *mode); 27 27 28 int net_init(int argc, char **argv);29 28 int NF_open_file(char const *filename, char const *mode); 30 29 long NF_close(int fd);
Note: See TracChangeset
for help on using the changeset viewer.