tonty
3f0b4abb8d
Replaces world.icon_size (and some magic numbers) with defines ( #86819 )
...
## About The Pull Request
All usages of world.icon_size in code have been replaced with new
`ICONSIZE_X`, `ICONSIZE_Y` and `ICONSIZE_ALL` defines depending on
context
Replaces some "32" magic numbers with the defines
A few bits of code have been modified to split up x/y math as well
## Why It's Good For The Game
Magic number bad, code more readable, code more flexible and I'm told
there's an access cost to doing world.icon_size so minor performance
gains
## Changelog
🆑 tonty
code: made some code relating to the world's icon size more readable
/🆑
---------
Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com >
2024-09-29 13:28:32 +00:00
..
2024-09-20 22:46:41 +00:00
2024-09-29 14:58:27 +02:00
2024-09-27 16:33:45 +02:00
2024-09-29 13:28:32 +00:00
2024-09-26 19:36:13 +00:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-03 10:41:51 +02:00
2024-09-23 22:24:50 -07:00
2024-09-26 19:36:13 +00:00
2024-09-26 19:36:13 +00:00
2024-09-26 19:36:13 +00:00
2024-09-26 19:36:13 +00:00
2024-09-26 02:49:54 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-03 10:41:51 +02:00
2024-09-03 10:41:51 +02:00
2024-08-23 21:49:46 +02:00
2024-08-20 16:33:34 +02:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-26 19:36:13 +00:00
2024-09-26 19:36:13 +00:00
2024-09-26 19:36:13 +00:00
2024-09-23 22:24:50 -07:00
2024-08-23 21:49:46 +02:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-12 23:48:19 +02:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-29 13:28:32 +00:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-20 22:46:41 +00:00
2024-09-23 22:24:50 -07:00
2024-09-21 00:09:34 +02:00
2024-09-26 02:49:54 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-08-19 13:15:57 +02:00
2024-09-26 19:36:13 +00:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-26 19:25:11 +00:00
2024-09-04 10:02:49 -04:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-03 10:41:51 +02:00
2024-09-04 10:02:49 -04:00
2024-09-23 22:24:50 -07:00
2024-09-03 10:41:51 +02:00
2024-09-23 22:24:50 -07:00
2024-09-18 23:38:07 +02:00
2024-08-25 20:07:58 -06:00
2024-09-29 13:28:32 +00:00
2024-09-12 23:48:19 +02:00
2024-09-29 00:58:02 +02:00
2024-09-23 22:24:50 -07:00
2024-09-23 22:24:50 -07:00
2024-09-29 13:28:32 +00:00
2024-09-04 06:50:04 -04:00
2024-09-21 00:10:12 +02:00
2024-09-29 13:28:32 +00:00
2024-09-29 00:03:47 +02:00
2024-09-23 22:24:50 -07:00