Commit b5b857d
authored
new deku (#747)
* Update to deku v0.18.0
* rust: Fix bit-endianness issue with new-deku
This was the cause of all of our WoW rendering failures with new-deku. Unfortunate we can't (yet?) use Deku for this part, but honestly I think the shift + mask is better than a loop anyway.
* rust: Map seek errors to deku errors
* rust: Fix Unity loading
The deku::byte_offset trick we do for alignment requires reader.bits_read to be correct, as that's the number we pad by. In our PackedVec implementations, we read a u8, and then later skip over it, which double-counts from the perspective of reader.bits_read. Fix this by adjusting after we read it.
* rust: Use std::io instead of deku::no_std_io
* rust: Update polymorph1 parent 4ed13d8 commit b5b857d
File tree
13 files changed
+361
-337
lines changed- rust
- src
- unity
- types
- wow
13 files changed
+361
-337
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | | - | |
43 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | | - | |
46 | | - | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
156 | | - | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
163 | | - | |
| 164 | + | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| |||
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
238 | 230 | | |
239 | 231 | | |
240 | 232 | | |
| |||
271 | 263 | | |
272 | 264 | | |
273 | 265 | | |
274 | | - | |
| 266 | + | |
275 | 267 | | |
276 | 268 | | |
277 | 269 | | |
| |||
390 | 382 | | |
391 | 383 | | |
392 | 384 | | |
393 | | - | |
| 385 | + | |
394 | 386 | | |
395 | 387 | | |
396 | 388 | | |
397 | 389 | | |
398 | 390 | | |
399 | 391 | | |
400 | 392 | | |
401 | | - | |
| 393 | + | |
402 | 394 | | |
403 | 395 | | |
404 | 396 | | |
| |||
408 | 400 | | |
409 | 401 | | |
410 | 402 | | |
411 | | - | |
| 403 | + | |
412 | 404 | | |
413 | 405 | | |
414 | 406 | | |
| |||
523 | 515 | | |
524 | 516 | | |
525 | 517 | | |
526 | | - | |
| 518 | + | |
527 | 519 | | |
528 | 520 | | |
529 | 521 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments