… | |
… | |
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 | */ |
|
|
1060 | int |
1060 | int set_variable(object *op,char *buf) { |
1061 | set_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 | |
1123 | void init_vars() { |
1126 | void 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 |
1127 | static char* get_string_move_type(MoveType mt) |
1132 | static 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 |
1166 | void |
1172 | void |
1167 | put (object_freezer &f, object *op, object *tmp) |
1173 | put (object_freezer &f, object *op, object *tmp) |
1168 | { |
1174 | { |
1169 | int i; |
1175 | int i; |