• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisioned8e48b652fd70532fccd95ee043b23b18ba32ea (tree)
Time2019-02-15 20:53:47
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Refactor] #37353 型の置換。 / Type replacement.

Change Summary

Incremental Difference

--- a/src/store.c
+++ b/src/store.c
@@ -2248,7 +2248,7 @@ static void mass_produce(object_type *o_ptr)
22482248 int size = 1;
22492249 DISCOUNT_RATE discount = 0;
22502250
2251- s32b cost = object_value(o_ptr);
2251+ PRICE cost = object_value(o_ptr);
22522252
22532253
22542254 /* Analyze the type */
@@ -2517,7 +2517,7 @@ static void store_object_absorb(object_type *o_ptr, object_type *j_ptr)
25172517 */
25182518 static int store_check_num(object_type *o_ptr)
25192519 {
2520- int i;
2520+ int i;
25212521 object_type *j_ptr;
25222522
25232523 /* The "home" acts like the player */
@@ -3000,9 +3000,9 @@ bool combine_and_reorder_home(int store_num)
30003000 */
30013001 static int home_carry(object_type *o_ptr)
30023002 {
3003- int slot;
3004- s32b value;
3005- int i;
3003+ int slot;
3004+ PRICE value;
3005+ int i;
30063006 object_type *j_ptr;
30073007 bool old_stack_force_notes = stack_force_notes;
30083008 bool old_stack_force_costs = stack_force_costs;
@@ -3105,8 +3105,8 @@ static int home_carry(object_type *o_ptr)
31053105 */
31063106 static int store_carry(object_type *o_ptr)
31073107 {
3108- int i, slot;
3109- s32b value, j_value;
3108+ int i, slot;
3109+ PRICE value, j_value;
31103110 object_type *j_ptr;
31113111
31123112
Show on old repository browser