Guest User

DF windows: double the capacity of armor stands

a guest
Oct 27th, 2012
367
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 0x2ac6b
  2. CC CC CC CC CC
  3. 66 39 E8 EB 53
  4.  
  5. .text:0042B86B loc_42B86B:
  6. .text:0042B86B cmp ax, bp
  7. .text:0042B86E jmp short loc_42B8C3
  8.  
  9. 0x2ac7b
  10. CC CC CC CC CC
  11. E9 96 A2 00 00
  12.  
  13. .text:0042B87B loc_42B87B:
  14. .text:0042B87B jmp loc_435B16
  15.  
  16. 0x2acc3
  17. CC CC CC CC CC CC CC CC CC CC CC CC CC
  18. 75 0A 66 FF 4C 24 16 79 03 58 EB AC C3
  19.  
  20. .text:0042B8C3 loc_42B8C3:
  21. .text:0042B8C3 jnz short locret_42B8CF
  22. .text:0042B8C5 dec word ptr [esp+16h] ; 4+8+8+2
  23. .text:0042B8CA jns short locret_42B8CF
  24. .text:0042B8CC pop eax
  25. .text:0042B8CD jmp short loc_42B87B
  26. .text:0042B8CF locret_42B8CF:
  27. .text:0042B8CF retn
  28.  
  29. 0x2b2a1
  30. CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC
  31. 66 C7 44 24 0E 01 00 8B 90 44 01 00 00 C3 CC
  32.  
  33. .text:0042BEA1 loc_42BEA1:
  34. .text:0042BEA1 mov word ptr [esp+0Eh], 1 ; 4+8+2
  35. .text:0042BEA8 mov edx, [eax+144h]
  36. .text:0042BEAE retn
  37.  
  38. 0x34d91
  39. 8B 90 44 01 00 00
  40. E8 0B 65 FF FF 90
  41.  
  42. <<<<
  43. .text:00435991 mov edx, [eax+144h]
  44. ====
  45. .text:00435991 call loc_42BEA1
  46. .text:00435996 nop
  47. >>>>
  48.  
  49. 0x34e53
  50. 0F 84 BD 00 00 00
  51. E8 6B 5E FF FF 90
  52.  
  53. <<<<
  54. .text:00435A53 jz loc_435B16
  55. ====
  56. .text:00435A53 call loc_42B8C3
  57. .text:00435A58 nop
  58. >>>>
  59.  
  60. 0x34ef3
  61. 66 3B C5 74 1E
  62. E8 73 5D FF FF
  63.  
  64. <<<<
  65. .text:00435AF3 cmp ax, bp
  66. .text:00435AF6 jz short loc_435B16
  67. ====
  68. .text:00435AF3 call loc_42B86B
  69. >>>>
  70.  
  71.  
  72. basically:
  73.  
  74. + int allowed_count = 1; // to mean 2
  75. ...
  76. - if (type(item) == new_type)
  77. + if (type(item) == new_type && --allowed_count < 0)
  78. return false;
  79.  
  80. to allow up to two items of the same type at the same time
  81.  
  82.  
  83. ---8<---
  84. This difference file is created by The Interactive Disassembler
  85.  
  86. Dwarf Fortress.exe
  87. 0002AC6B: CC 66
  88. 0002AC6C: CC 39
  89. 0002AC6D: CC E8
  90. 0002AC6E: CC EB
  91. 0002AC6F: CC 53
  92. 0002AC7B: CC E9
  93. 0002AC7C: CC 96
  94. 0002AC7D: CC A2
  95. 0002AC7E: CC 00
  96. 0002AC7F: CC 00
  97. 0002ACC3: CC 75
  98. 0002ACC4: CC 0A
  99. 0002ACC5: CC 66
  100. 0002ACC6: CC FF
  101. 0002ACC7: CC 4C
  102. 0002ACC8: CC 24
  103. 0002ACC9: CC 16
  104. 0002ACCA: CC 79
  105. 0002ACCB: CC 03
  106. 0002ACCC: CC 58
  107. 0002ACCD: CC EB
  108. 0002ACCE: CC AC
  109. 0002ACCF: CC C3
  110. 0002B2A1: CC 66
  111. 0002B2A2: CC C7
  112. 0002B2A3: CC 44
  113. 0002B2A4: CC 24
  114. 0002B2A5: CC 0E
  115. 0002B2A6: CC 01
  116. 0002B2A7: CC 00
  117. 0002B2A8: CC 8B
  118. 0002B2A9: CC 90
  119. 0002B2AA: CC 44
  120. 0002B2AB: CC 01
  121. 0002B2AC: CC 00
  122. 0002B2AD: CC 00
  123. 0002B2AE: CC C3
  124. 00034D91: 8B E8
  125. 00034D92: 90 0B
  126. 00034D93: 44 65
  127. 00034D94: 01 FF
  128. 00034D95: 00 FF
  129. 00034D96: 00 90
  130. 00034E53: 0F E8
  131. 00034E54: 84 6B
  132. 00034E55: BD 5E
  133. 00034E56: 00 FF
  134. 00034E57: 00 FF
  135. 00034E58: 00 90
  136. 00034EF3: 66 E8
  137. 00034EF4: 3B 73
  138. 00034EF5: C5 5D
  139. 00034EF6: 74 FF
  140. 00034EF7: 1E FF
RAW Paste Data