ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/loader.C
(Generate patch)

Comparing deliantra/server/common/loader.C (file contents):
Revision 1.6 by root, Mon Sep 4 17:27:13 2006 UTC vs.
Revision 1.8 by pippijn, Thu Sep 7 09:37:12 2006 UTC

1023 thawer.line += strlen (thawer.line) + 1; 1023 thawer.line += strlen (thawer.line) + 1;
1024 1024
1025 break; 1025 break;
1026 1026
1027 default: 1027 default:
1028 printf ("kw abort %s\n", keyword_str [kw]);//D 1028 LOG (llevError, "UNSUPPORTED KEYWORD IN MAP: \"%s\", bug in normaliser. skipping.\n", keyword_str [kw]);
1029 abort (); 1029 break;
1030 } 1030 }
1031 } 1031 }
1032} 1032}
1033 1033
1034/* 1034/*
1055 * as appropriate in op. 1055 * as appropriate in op.
1056 * 1056 *
1057 * This function appears to be used in only 2 places - in crossedit to 1057 * This function appears to be used in only 2 places - in crossedit to
1058 * override values and in c_wiz to mutate values. 1058 * override values and in c_wiz to mutate values.
1059 */ 1059 */
1060int
1060int set_variable(object *op,char *buf) { 1061set_variable(object *op, char *buf)
1062{
1063 return 0;
1061#if 0 1064#if 0
1062 int retval; 1065 int retval;
1063 object_thawer thawer (0); 1066 object_thawer thawer (0);
1064 1067
1065 strcpy(msgbuf, ""); 1068 strcpy(msgbuf, "");
1122 1125
1123void init_vars() { 1126void init_vars() {
1124} 1127}
1125 1128
1126/* This returns a string of the integer movement type */ 1129/* This returns a string of the integer movement type */
1130#if 0
1131// unused function
1127static char* get_string_move_type(MoveType mt) 1132static char* get_string_move_type(MoveType mt)
1128{ 1133{
1129 static char retbuf[MAX_BUF], retbuf_all[MAX_BUF]; 1134 static char retbuf[MAX_BUF], retbuf_all[MAX_BUF];
1130 int i, all_count=0, count; 1135 int i, all_count=0, count;
1131 1136
1159 * 'all -walk -fly_low' - it is shorter to return 'fly_high swim' 1164 * 'all -walk -fly_low' - it is shorter to return 'fly_high swim'
1160 */ 1165 */
1161 if (all_count <=1) return retbuf_all+1; 1166 if (all_count <=1) return retbuf_all+1;
1162 else return retbuf+1; 1167 else return retbuf+1;
1163} 1168}
1164 1169#endif
1170
1165// compare *op against *tmp and output differences 1171// compare *op against *tmp and output differences
1166void 1172void
1167put (object_freezer &f, object *op, object *tmp) 1173put (object_freezer &f, object *op, object *tmp)
1168{ 1174{
1169 int i; 1175 int i;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines