OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Suggestions DONE => Topic started by: WarStalkeR on March 31, 2024, 08:42:18 am
-
I was having hard time navigating to the inventory of a specific soldier every time, mostly due to the fact that my soldiers rooster got rather big.
To resolve the issue, I implemented code that opens inventory of soldier that was last hovered over by mouse and highlighted by the selection bar. I've implemented it like this: https://github.com/WarStalkeR/OpenXcomExMore/commit/9c8dec79af5666775f709a1d19efa1e18916a03d
Frankly, I'm not sure if this implementation is done correctly. But it works: once the selection/highlight bar is over the soldier in list I need, I click the 'I' hotkey and it opens inventory of that soldier, instead of opening inventory of first soldier in whole list.
Meridian, this feature feels very much raw, because when I implemented it and it just worked, I haven't touched it since first implementation.
Please tell me what do I need to improve/change/add, in order for it to be pull request ready.
-
todolisted
-
Done, in a duplicate thread: https://openxcom.org/forum/index.php?topic=12037.0
https://github.com/MeridianOXC/OpenXcom/commit/4f41a4d10a7c10b7f0ab628d5a4b127b1c3bb123