Commit 9ec220b
authored
Fix some cases where texture replacements were not being applied (#10)
* Allow using features from newer C# versions
* Always select a texture if one is available
* Log initial paths relative to ApplicationRoot
* Log replaced textures if the debug UI is enabled
* Explicitly decide on an order when loading non-matching textures
The new order is now:
- choose by priority, then,
- pick the texture that matches the size, otherwise,
- pick the unsized texture if available, otherwise,
- pick the largest texture.
* Avoid storing entries that will never be used
* Update CHANGELOG
* Remove unused argument for GetUnsizedReplacement1 parent 8caf227 commit 9ec220b
File tree
3 files changed
+77
-4
lines changed- src/HUDReplacer
3 files changed
+77
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
9 | 16 | | |
10 | 17 | | |
11 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
42 | 49 | | |
43 | | - | |
44 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
45 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
46 | 62 | | |
47 | 63 | | |
48 | 64 | | |
49 | 65 | | |
50 | 66 | | |
51 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
52 | 93 | | |
53 | 94 | | |
54 | 95 | | |
| |||
225 | 266 | | |
226 | 267 | | |
227 | 268 | | |
| 269 | + | |
228 | 270 | | |
229 | 271 | | |
230 | 272 | | |
231 | 273 | | |
232 | 274 | | |
233 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
234 | 280 | | |
235 | 281 | | |
236 | 282 | | |
| |||
269 | 315 | | |
270 | 316 | | |
271 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
272 | 327 | | |
273 | 328 | | |
274 | 329 | | |
| |||
292 | 347 | | |
293 | 348 | | |
294 | 349 | | |
| 350 | + | |
295 | 351 | | |
296 | 352 | | |
297 | 353 | | |
| |||
307 | 363 | | |
308 | 364 | | |
309 | 365 | | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
310 | 375 | | |
311 | 376 | | |
312 | 377 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments