Advertisement
Pr0nogo

Untitled

Dec 14th, 2020
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.60 KB | None | 0 0
  1. error: no rules expected the token `ecx`
  2. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:6:57
  3. |
  4. 6 | read_file(*const u8, u32, u32, *const u8, u32, @ecx u32, @eax *mut usize) -> *mut u8;
  5. | ^^^ no rules expected this token in macro call
  6.  
  7. error: no rules expected the token `eax`
  8. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:6:67
  9. |
  10. 6 | read_file(*const u8, u32, u32, *const u8, u32, @ecx u32, @eax *mut usize) -> *mut u8;
  11. | ^^^ no rules expected this token in macro call
  12.  
  13. error: no rules expected the token `edi`
  14. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:7:31
  15. |
  16. 7 | 0x0049C9F0 => get_region(@edi u32, @ecx u32) -> u32;
  17. | ^^^ no rules expected this token in macro call
  18.  
  19. error: no rules expected the token `ecx`
  20. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:7:41
  21. |
  22. 7 | 0x0049C9F0 => get_region(@edi u32, @ecx u32) -> u32;
  23. | ^^^ no rules expected this token in macro call
  24.  
  25. error: no rules expected the token `esi`
  26. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:8:43
  27. |
  28. 8 | 0x004390A0 => change_ai_region_state(@esi *mut c_void, @ebx u32);
  29. | ^^^ no rules expected this token in macro call
  30.  
  31. error: no rules expected the token `ebx`
  32. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:8:61
  33. |
  34. 8 | 0x004390A0 => change_ai_region_state(@esi *mut c_void, @ebx u32);
  35. | ^^^ no rules expected this token in macro call
  36.  
  37. error: no rules expected the token `edx`
  38. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:9:40
  39. |
  40. 9 | 0x00474810 => prepare_issue_order(@edx *mut Unit, @ecx u32, u32, *mut Unit, u32, @eax u32);
  41. | ^^^ no rules expected this token in macro call
  42.  
  43. error: no rules expected the token `ecx`
  44. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:9:56
  45. |
  46. 9 | 0x00474810 => prepare_issue_order(@edx *mut Unit, @ecx u32, u32, *mut Unit, u32, @eax u32);
  47. | ^^^ no rules expected this token in macro call
  48.  
  49. error: no rules expected the token `eax`
  50. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:9:87
  51. |
  52. 9 | 0x00474810 => prepare_issue_order(@edx *mut Unit, @ecx u32, u32, *mut Unit, u32, @eax u32);
  53. | ^^^ no rules expected this token in macro call
  54.  
  55. error: no rules expected the token `ecx`
  56. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:10:41
  57. |
  58. 10 | 0x00475000 => do_next_queued_order(@ecx *mut Unit);
  59. | ^^^ no rules expected this token in macro call
  60.  
  61. error: no rules expected the token `eax`
  62. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:11:42
  63. |
  64. 11 | 0x0048D1C0 => print_text(*const u8, @eax u32, u32);
  65. | ^^^ no rules expected this token in macro call
  66.  
  67. error: no rules expected the token `ecx`
  68. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:14:33
  69. |
  70. 14 | 0x00485BD0 => send_command(@ecx *const c_void, @edx u32);
  71. | ^^^ no rules expected this token in macro call
  72.  
  73. error: no rules expected the token `edx`
  74. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:14:53
  75. |
  76. 14 | 0x00485BD0 => send_command(@ecx *const c_void, @edx u32);
  77. | ^^^ no rules expected this token in macro call
  78.  
  79. error: no rules expected the token `ecx`
  80. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:15:44
  81. |
  82. 15 | 0x00477160 => ai_update_attack_target(@ecx *mut c_void, u32, u32, u32) -> u32;
  83. | ^^^ no rules expected this token in macro call
  84.  
  85. error: no rules expected the token `esi`
  86. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:16:44
  87. |
  88. 16 | 0x004878F0 => update_visibility_point(@esi *mut c_void);
  89. | ^^^ no rules expected this token in macro call
  90.  
  91. error: no rules expected the token `edi`
  92. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:17:49
  93. |
  94. 17 | 0x00488210 => create_lone_sprite(u32, i32, @edi i32, u32) -> *mut c_void;
  95. | ^^^ no rules expected this token in macro call
  96.  
  97. error: no rules expected the token `ecx`
  98. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:18:33
  99. |
  100. 18 | 0x004D74C0 => step_iscript(@ecx *mut c_void, *mut c_void, u32, *mut u32);
  101. | ^^^ no rules expected this token in macro call
  102.  
  103. error: no rules expected the token `ecx`
  104. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:19:43
  105. |
  106. 19 | 0x004D4DB0 => is_outside_game_screen(@ecx i32, @eax i32) -> u32;
  107. | ^^^ no rules expected this token in macro call
  108.  
  109. error: no rules expected the token `eax`
  110. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:19:53
  111. |
  112. 19 | 0x004D4DB0 => is_outside_game_screen(@ecx i32, @eax i32) -> u32;
  113. | ^^^ no rules expected this token in macro call
  114.  
  115. error: no rules expected the token `stdcall`
  116. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:33:1
  117. |
  118. 33 | / whack_hooks!(stdcall, 0x00400000,
  119. 34 | | 0x004D94B0 => StepObjects();
  120. 35 | | 0x004DAA60 => FirstFileAccess();
  121. 36 | | 0x004DABD0 => InitMpqs();
  122. ... |
  123. 50 | | 0x0041A080 => RunDialog(@eax *mut c_void, *mut c_void);
  124. 51 | | );
  125. | |__^ no rules expected this token in macro call
  126. |
  127. = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
  128.  
  129. error: no rules expected the token `eax`
  130. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:38:30
  131. |
  132. 38 | 0x004EC4D0 => StepOrder(@eax *mut c_void);
  133. | ^^^ no rules expected this token in macro call
  134.  
  135. error: no rules expected the token `eax`
  136. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:39:37
  137. |
  138. 39 | 0x004EBED0 => StepOrder_Hidden(@eax *mut c_void);
  139. | ^^^ no rules expected this token in macro call
  140.  
  141. error: no rules expected the token `eax`
  142. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:40:36
  143. |
  144. 40 | 0x004865D0 => ProcessCommands(@eax *const c_void, u32, u32);
  145. | ^^^ no rules expected this token in macro call
  146.  
  147. error: no rules expected the token `eax`
  148. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:41:41
  149. |
  150. 41 | 0x00486040 => ProcessLobbyCommands(@eax *const c_void, u32, u32);
  151. | ^^^ no rules expected this token in macro call
  152.  
  153. error: no rules expected the token `eax`
  154. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:42:39
  155. |
  156. 42 | 0x004EC170 => StepSecondaryOrder(@eax *mut c_void);
  157. | ^^^ no rules expected this token in macro call
  158.  
  159. error: no rules expected the token `ecx`
  160. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:43:32
  161. |
  162. 43 | 0x00485BD0 => SendCommand(@ecx *mut c_void, @edx u32);
  163. | ^^^ no rules expected this token in macro call
  164.  
  165. error: no rules expected the token `edx`
  166. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:43:50
  167. |
  168. 43 | 0x00485BD0 => SendCommand(@ecx *mut c_void, @edx u32);
  169. | ^^^ no rules expected this token in macro call
  170.  
  171. error: no rules expected the token `ebx`
  172. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:44:30
  173. |
  174. 44 | 0x004C2E0F => SaveReady(@ebx *mut c_void);
  175. | ^^^ no rules expected this token in macro call
  176.  
  177. error: no rules expected the token `eax`
  178. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:47:40
  179. |
  180. 47 | 0x0040FE11 => FseekFilePointerSet(@eax u32);
  181. | ^^^ no rules expected this token in macro call
  182.  
  183. error: no rules expected the token `ecx`
  184. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:48:37
  185. |
  186. 48 | 0x004564E0 => GameScreenRClick(@ecx *const Event);
  187. | ^^^ no rules expected this token in macro call
  188.  
  189. error: no rules expected the token `esi`
  190. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:49:30
  191. |
  192. 49 | 0x00497CE0 => DrawImage(@esi *mut Image);
  193. | ^^^ no rules expected this token in macro call
  194.  
  195. error: no rules expected the token `eax`
  196. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:50:30
  197. |
  198. 50 | 0x0041A080 => RunDialog(@eax *mut c_void, *mut c_void);
  199. | ^^^ no rules expected this token in macro call
  200.  
  201. error: no rules expected the token `stdcall`
  202. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:126:1
  203. |
  204. 126 | / whack_hooks!(stdcall, 0x15000000,
  205. 127 | | 0x15017960 => SFileOpenFileEx_Hook(*mut c_void, *const u8, u32, *mut *mut c_void) -> u32;
  206. 128 | | 0x15013F50 => SFileGetFileSize_Hook(*mut c_void, *mut u32) -> u32;
  207. 129 | | 0x15016360 => SFileReadFile_Hook(*mut c_void, *mut u8, u32, *mut u32, *mut c_void) -> u32;
  208. 130 | | 0x150152B0 => SFileCloseFile_Hook(*mut c_void);
  209. 131 | | );
  210. | |__^ no rules expected this token in macro call
  211. |
  212. = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
  213.  
  214. error[E0433]: failed to resolve: use of undeclared type or module `StepObjects`
  215. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:34:19
  216. |
  217. 34 | 0x004D94B0 => StepObjects();
  218. | ^^^^^^^^^^^ use of undeclared type or module `StepObjects`
  219.  
  220. error[E0433]: failed to resolve: use of undeclared type or module `FirstFileAccess`
  221. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:35:19
  222. |
  223. 35 | 0x004DAA60 => FirstFileAccess();
  224. | ^^^^^^^^^^^^^^^ use of undeclared type or module `FirstFileAccess`
  225.  
  226. error[E0433]: failed to resolve: use of undeclared type or module `InitMpqs`
  227. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:36:19
  228. |
  229. 36 | 0x004DABD0 => InitMpqs();
  230. | ^^^^^^^^ use of undeclared type or module `InitMpqs`
  231.  
  232. error[E0433]: failed to resolve: use of undeclared type or module `WinMain`
  233. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:37:19
  234. |
  235. 37 | 0x004E0AE0 => WinMain();
  236. | ^^^^^^^ use of undeclared type or module `WinMain`
  237.  
  238. error[E0433]: failed to resolve: use of undeclared type or module `StepOrder`
  239. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:38:19
  240. |
  241. 38 | 0x004EC4D0 => StepOrder(@eax *mut c_void);
  242. | ^^^^^^^^^ use of undeclared type or module `StepOrder`
  243.  
  244. error[E0433]: failed to resolve: use of undeclared type or module `StepOrder_Hidden`
  245. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:39:19
  246. |
  247. 39 | 0x004EBED0 => StepOrder_Hidden(@eax *mut c_void);
  248. | ^^^^^^^^^^^^^^^^ use of undeclared type or module `StepOrder_Hidden`
  249.  
  250. error[E0433]: failed to resolve: use of undeclared type or module `ProcessCommands`
  251. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:40:19
  252. |
  253. 40 | 0x004865D0 => ProcessCommands(@eax *const c_void, u32, u32);
  254. | ^^^^^^^^^^^^^^^ use of undeclared type or module `ProcessCommands`
  255.  
  256. error[E0433]: failed to resolve: use of undeclared type or module `ProcessLobbyCommands`
  257. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:41:19
  258. |
  259. 41 | 0x00486040 => ProcessLobbyCommands(@eax *const c_void, u32, u32);
  260. | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ProcessLobbyCommands`
  261.  
  262. error[E0433]: failed to resolve: use of undeclared type or module `StepSecondaryOrder`
  263. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:42:19
  264. |
  265. 42 | 0x004EC170 => StepSecondaryOrder(@eax *mut c_void);
  266. | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `StepSecondaryOrder`
  267.  
  268. error[E0433]: failed to resolve: use of undeclared type or module `SendCommand`
  269. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:43:19
  270. |
  271. 43 | 0x00485BD0 => SendCommand(@ecx *mut c_void, @edx u32);
  272. | ^^^^^^^^^^^ use of undeclared type or module `SendCommand`
  273.  
  274. error[E0433]: failed to resolve: use of undeclared type or module `SaveReady`
  275. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:44:19
  276. |
  277. 44 | 0x004C2E0F => SaveReady(@ebx *mut c_void);
  278. | ^^^^^^^^^ use of undeclared type or module `SaveReady`
  279.  
  280. error[E0433]: failed to resolve: use of undeclared type or module `InitGame`
  281. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:45:19
  282. |
  283. 45 | 0x004EEE00 => InitGame();
  284. | ^^^^^^^^ use of undeclared type or module `InitGame`
  285.  
  286. error[E0433]: failed to resolve: use of undeclared type or module `LoadReady`
  287. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:46:19
  288. |
  289. 46 | 0x004D0232 => LoadReady();
  290. | ^^^^^^^^^ use of undeclared type or module `LoadReady`
  291.  
  292. error[E0433]: failed to resolve: use of undeclared type or module `FseekFilePointerSet`
  293. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:47:19
  294. |
  295. 47 | 0x0040FE11 => FseekFilePointerSet(@eax u32);
  296. | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `FseekFilePointerSet`
  297.  
  298. error[E0433]: failed to resolve: use of undeclared type or module `GameScreenRClick`
  299. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:48:19
  300. |
  301. 48 | 0x004564E0 => GameScreenRClick(@ecx *const Event);
  302. | ^^^^^^^^^^^^^^^^ use of undeclared type or module `GameScreenRClick`
  303.  
  304. error[E0433]: failed to resolve: use of undeclared type or module `DrawImage`
  305. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:49:19
  306. |
  307. 49 | 0x00497CE0 => DrawImage(@esi *mut Image);
  308. | ^^^^^^^^^ use of undeclared type or module `DrawImage`
  309.  
  310. error[E0433]: failed to resolve: use of undeclared type or module `RunDialog`
  311. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:50:19
  312. |
  313. 50 | 0x0041A080 => RunDialog(@eax *mut c_void, *mut c_void);
  314. | ^^^^^^^^^ use of undeclared type or module `RunDialog`
  315.  
  316. error[E0433]: failed to resolve: use of undeclared type or module `SFileOpenFileEx_Hook`
  317. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:127:19
  318. |
  319. 127 | 0x15017960 => SFileOpenFileEx_Hook(*mut c_void, *const u8, u32, *mut *mut c_void) -> u32;
  320. | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SFileOpenFileEx_Hook`
  321.  
  322. error[E0433]: failed to resolve: use of undeclared type or module `SFileGetFileSize_Hook`
  323. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:128:19
  324. |
  325. 128 | 0x15013F50 => SFileGetFileSize_Hook(*mut c_void, *mut u32) -> u32;
  326. | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SFileGetFileSize_Hook`
  327.  
  328. error[E0433]: failed to resolve: use of undeclared type or module `SFileReadFile_Hook`
  329. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:129:19
  330. |
  331. 129 | 0x15016360 => SFileReadFile_Hook(*mut c_void, *mut u8, u32, *mut u32, *mut c_void) -> u32;
  332. | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SFileReadFile_Hook`
  333.  
  334. error[E0433]: failed to resolve: use of undeclared type or module `SFileCloseFile_Hook`
  335. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:130:19
  336. |
  337. 130 | 0x150152B0 => SFileCloseFile_Hook(*mut c_void);
  338. | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SFileCloseFile_Hook`
  339.  
  340. error[E0412]: cannot find type `StepObjects` in this scope
  341. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:34:19
  342. |
  343. 34 | 0x004D94B0 => StepObjects();
  344. | ^^^^^^^^^^^ not found in this scope
  345.  
  346. error[E0412]: cannot find type `FirstFileAccess` in this scope
  347. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:35:19
  348. |
  349. 35 | 0x004DAA60 => FirstFileAccess();
  350. | ^^^^^^^^^^^^^^^ not found in this scope
  351.  
  352. error[E0412]: cannot find type `InitMpqs` in this scope
  353. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:36:19
  354. |
  355. 36 | 0x004DABD0 => InitMpqs();
  356. | ^^^^^^^^ not found in this scope
  357.  
  358. error[E0412]: cannot find type `WinMain` in this scope
  359. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:37:19
  360. |
  361. 37 | 0x004E0AE0 => WinMain();
  362. | ^^^^^^^ not found in this scope
  363.  
  364. error[E0412]: cannot find type `StepOrder` in this scope
  365. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:38:19
  366. |
  367. 38 | 0x004EC4D0 => StepOrder(@eax *mut c_void);
  368. | ^^^^^^^^^ not found in this scope
  369.  
  370. error[E0412]: cannot find type `StepOrder_Hidden` in this scope
  371. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:39:19
  372. |
  373. 39 | 0x004EBED0 => StepOrder_Hidden(@eax *mut c_void);
  374. | ^^^^^^^^^^^^^^^^ not found in this scope
  375.  
  376. error[E0412]: cannot find type `ProcessCommands` in this scope
  377. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:40:19
  378. |
  379. 40 | 0x004865D0 => ProcessCommands(@eax *const c_void, u32, u32);
  380. | ^^^^^^^^^^^^^^^ not found in this scope
  381.  
  382. error[E0412]: cannot find type `ProcessLobbyCommands` in this scope
  383. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:41:19
  384. |
  385. 41 | 0x00486040 => ProcessLobbyCommands(@eax *const c_void, u32, u32);
  386. | ^^^^^^^^^^^^^^^^^^^^ not found in this scope
  387.  
  388. error[E0412]: cannot find type `StepSecondaryOrder` in this scope
  389. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:42:19
  390. |
  391. 42 | 0x004EC170 => StepSecondaryOrder(@eax *mut c_void);
  392. | ^^^^^^^^^^^^^^^^^^ not found in this scope
  393.  
  394. error[E0412]: cannot find type `SendCommand` in this scope
  395. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:43:19
  396. |
  397. 43 | 0x00485BD0 => SendCommand(@ecx *mut c_void, @edx u32);
  398. | ^^^^^^^^^^^ not found in this scope
  399.  
  400. error[E0412]: cannot find type `SaveReady` in this scope
  401. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:44:19
  402. |
  403. 44 | 0x004C2E0F => SaveReady(@ebx *mut c_void);
  404. | ^^^^^^^^^ not found in this scope
  405.  
  406. error[E0412]: cannot find type `InitGame` in this scope
  407. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:45:19
  408. |
  409. 45 | 0x004EEE00 => InitGame();
  410. | ^^^^^^^^ not found in this scope
  411.  
  412. error[E0412]: cannot find type `LoadReady` in this scope
  413. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:46:19
  414. |
  415. 46 | 0x004D0232 => LoadReady();
  416. | ^^^^^^^^^ not found in this scope
  417.  
  418. error[E0412]: cannot find type `FseekFilePointerSet` in this scope
  419. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:47:19
  420. |
  421. 47 | 0x0040FE11 => FseekFilePointerSet(@eax u32);
  422. | ^^^^^^^^^^^^^^^^^^^ not found in this scope
  423.  
  424. error[E0412]: cannot find type `GameScreenRClick` in this scope
  425. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:48:19
  426. |
  427. 48 | 0x004564E0 => GameScreenRClick(@ecx *const Event);
  428. | ^^^^^^^^^^^^^^^^ not found in this scope
  429.  
  430. error[E0412]: cannot find type `DrawImage` in this scope
  431. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:49:19
  432. |
  433. 49 | 0x00497CE0 => DrawImage(@esi *mut Image);
  434. | ^^^^^^^^^ not found in this scope
  435.  
  436. error[E0412]: cannot find type `RunDialog` in this scope
  437. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:50:19
  438. |
  439. 50 | 0x0041A080 => RunDialog(@eax *mut c_void, *mut c_void);
  440. | ^^^^^^^^^ not found in this scope
  441.  
  442. error[E0412]: cannot find type `SFileOpenFileEx_Hook` in this scope
  443. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:127:19
  444. |
  445. 127 | 0x15017960 => SFileOpenFileEx_Hook(*mut c_void, *const u8, u32, *mut *mut c_void) -> u32;
  446. | ^^^^^^^^^^^^^^^^^^^^ not found in this scope
  447.  
  448. error[E0412]: cannot find type `SFileGetFileSize_Hook` in this scope
  449. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:128:19
  450. |
  451. 128 | 0x15013F50 => SFileGetFileSize_Hook(*mut c_void, *mut u32) -> u32;
  452. | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  453.  
  454. error[E0412]: cannot find type `SFileReadFile_Hook` in this scope
  455. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:129:19
  456. |
  457. 129 | 0x15016360 => SFileReadFile_Hook(*mut c_void, *mut u8, u32, *mut u32, *mut c_void) -> u32;
  458. | ^^^^^^^^^^^^^^^^^^ not found in this scope
  459.  
  460. error[E0412]: cannot find type `SFileCloseFile_Hook` in this scope
  461. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\bw.rs:130:19
  462. |
  463. 130 | 0x150152B0 => SFileCloseFile_Hook(*mut c_void);
  464. | ^^^^^^^^^^^^^^^^^^^ not found in this scope
  465.  
  466. error[E0425]: cannot find value `StepObjects` in module `bw`
  467. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:221:38
  468. |
  469. 221 | exe.hook_closure(bw::StepObjects, move |orig: &dyn Fn()| {
  470. | ^^^^^^^^^^^ not found in `bw`
  471.  
  472. error[E0425]: cannot find value `StepOrder` in module `bw`
  473. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:236:38
  474. |
  475. 236 | exe.hook_closure(bw::StepOrder, move |unit, orig: &dyn Fn(_)| {
  476. | ^^^^^^^^^ not found in `bw`
  477.  
  478. error[E0425]: cannot find value `StepOrder_Hidden` in module `bw`
  479. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:250:38
  480. |
  481. 250 | exe.hook_closure(bw::StepOrder_Hidden, move |unit, orig: &dyn Fn(_)| {
  482. | ^^^^^^^^^^^^^^^^ not found in `bw`
  483.  
  484. error[E0425]: cannot find value `StepSecondaryOrder` in module `bw`
  485. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:262:38
  486. |
  487. 262 | exe.hook_closure(bw::StepSecondaryOrder, move |unit, orig: &dyn Fn(_)| {
  488. | ^^^^^^^^^^^^^^^^^^ not found in `bw`
  489.  
  490. error[E0425]: cannot find value `SendCommand` in module `bw`
  491. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:274:38
  492. |
  493. 274 | exe.hook_closure(bw::SendCommand, move |data, len, orig: &dyn Fn(_, _)| {
  494. | ^^^^^^^^^^^ help: a static with a similar name exists: `send_command`
  495.  
  496. error[E0425]: cannot find value `ProcessCommands` in module `bw`
  497. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:287:25
  498. |
  499. 287 | bw::ProcessCommands,
  500. | ^^^^^^^^^^^^^^^ not found in `bw`
  501.  
  502. error[E0425]: cannot find value `ProcessLobbyCommands` in module `bw`
  503. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:302:25
  504. |
  505. 302 | bw::ProcessLobbyCommands,
  506. | ^^^^^^^^^^^^^^^^^^^^ not found in `bw`
  507.  
  508. error[E0425]: cannot find value `GameScreenRClick` in module `bw`
  509. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:316:38
  510. |
  511. 316 | exe.hook_closure(bw::GameScreenRClick, move |event, orig: &dyn Fn(_)| {
  512. | ^^^^^^^^^^^^^^^^ not found in `bw`
  513.  
  514. error[E0425]: cannot find value `DrawImage` in module `bw`
  515. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:332:38
  516. |
  517. 332 | exe.hook_closure(bw::DrawImage, move |image, orig: &dyn Fn(_)| {
  518. | ^^^^^^^^^ not found in `bw`
  519.  
  520. error[E0425]: cannot find value `RunDialog` in module `bw`
  521. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:345:25
  522. |
  523. 345 | bw::RunDialog,
  524. | ^^^^^^^^^ not found in `bw`
  525.  
  526. error[E0425]: cannot find value `SaveReady` in module `bw`
  527. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:383:35
  528. |
  529. 383 | exe.call_hook(bw::SaveReady, save_hook);
  530. | ^^^^^^^^^ not found in `bw`
  531.  
  532. error[E0425]: cannot find value `InitGame` in module `bw`
  533. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:384:38
  534. |
  535. 384 | exe.hook_closure(bw::InitGame, |orig: &dyn Fn()| {
  536. | ^^^^^^^^ not found in `bw`
  537.  
  538. error[E0425]: cannot find value `LoadReady` in module `bw`
  539. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:388:35
  540. |
  541. 388 | exe.call_hook(bw::LoadReady, load_hook);
  542. | ^^^^^^^^^ not found in `bw`
  543.  
  544. error[E0425]: cannot find value `FseekFilePointerSet` in module `bw`
  545. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:389:35
  546. |
  547. 389 | exe.call_hook(bw::FseekFilePointerSet, file_pointer_set);
  548. | ^^^^^^^^^^^^^^^^^^^ not found in `bw`
  549.  
  550. error[E0425]: cannot find value `FirstFileAccess` in module `bw`
  551. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:409:35
  552. |
  553. 409 | exe.call_hook(bw::FirstFileAccess, call_hooks);
  554. | ^^^^^^^^^^^^^^^ not found in `bw`
  555.  
  556. error[E0425]: cannot find value `SFileOpenFileEx_Hook` in module `bw`
  557. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:525:36
  558. |
  559. 525 | storm.hook_opt(bw::SFileOpenFileEx_Hook, open_hook);
  560. | ^^^^^^^^^^^^^^^^^^^^ help: a static with a similar name exists: `SFileOpenFileEx`
  561.  
  562. error[E0425]: cannot find value `SFileGetFileSize_Hook` in module `bw`
  563. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:526:36
  564. |
  565. 526 | storm.hook_opt(bw::SFileGetFileSize_Hook, size_hook);
  566. | ^^^^^^^^^^^^^^^^^^^^^ help: a static with a similar name exists: `SFileGetFileSize`
  567.  
  568. error[E0425]: cannot find value `SFileReadFile_Hook` in module `bw`
  569. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:527:36
  570. |
  571. 527 | storm.hook_opt(bw::SFileReadFile_Hook, read_hook);
  572. | ^^^^^^^^^^^^^^^^^^ help: a static with a similar name exists: `SFileReadFile`
  573.  
  574. error[E0425]: cannot find value `SFileCloseFile_Hook` in module `bw`
  575. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:528:36
  576. |
  577. 528 | storm.hook_opt(bw::SFileCloseFile_Hook, close_hook);
  578. | ^^^^^^^^^^^^^^^^^^^ help: a static with a similar name exists: `SFileCloseFile`
  579.  
  580. error[E0425]: cannot find value `WinMain` in module `bw`
  581. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:543:23
  582. |
  583. 543 | exe.call_hook(bw::WinMain, f);
  584. | ^^^^^^^ not found in `bw`
  585.  
  586. error[E0425]: cannot find value `InitMpqs` in module `bw`
  587. --> C:\Users\U\.cargo\git\checkouts\samase_plugin-6888429f5e65fcbd\1e22fc5\samase_shim\src\lib.rs:632:30
  588. |
  589. 632 | exe.hook_opt(bw::InitMpqs, init_mpqs_only_once);
  590. | ^^^^^^^^ not found in `bw`
  591.  
  592. error: aborting due to 96 previous errors
  593.  
  594. Some errors have detailed explanations: E0412, E0425, E0433.
  595. For more information about an error, try `rustc --explain E0412`.
  596. error: could not compile `samase_shim`.
  597. warning: build failed, waiting for other jobs to finish...
  598. error: build failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement