<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 7, 2022 at 9:31 AM Ralph Versteegen <<a href="mailto:teeemcee@gmail.com">teeemcee@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>It wasn't until I tried it out that I realised this is a big deal! Does the name genDefaultBattleMenu imply per-hero custom menu templates in future?<br></div></div></blockquote><div><br></div><div>Yeah, I picked that name because I thought we might want per-battle-formation or per-hero customization later-- though I don't plan on working on those soon.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>I'll go finish that branch where I added a battle system pref bit to run battles at the game resolution instead of 320x200. The part that wasn't done yet (but which is easy) was proper positioning of the menu and HUD. Of course, the battle menu preview should take that bit into account, and ideally show the HUD too for positioning.</div><div>I'm not sure what this means for when we convert the battle HUD to slices and let people customise it, but that's in the future. Maybe we can just put a placeholder rect in there and copy its position back out afterwards. The actual size of it would depend on the menu items.<br></div></div></blockquote><div><br></div><div>I have been thinking about how to make the battle hud customizable. I haven't settled exactly how yet, but I hope to tackle it sooner rather than later.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>Also, fun convergence of the things we were doing! I was also just working on some similar deduplication, of the textbox drawing code (actually, the textbox editor didn't use slices yet).<br></div></div></blockquote><div><br></div><div>Yay :D<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 7 Feb 2022 at 15:09, <<a href="mailto:subversion@hamsterrepublic.com" target="_blank">subversion@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">james<br>
2022-02-06 18:09:01 -0800 (Sun, 06 Feb 2022)<br>
59<br>
You can use a custom menu as a template for the Battle Menu<br>
---<br>
U   wip/bmod.rbas<br>
U   wip/<a href="http://common.bi" rel="noreferrer" target="_blank">common.bi</a><br>
U   wip/common.rbas<br>
U   wip/<a href="http://const.bi" rel="noreferrer" target="_blank">const.bi</a><br>
U   wip/generaledit.rbas<br>
U   wip/heroedit.rbas<br>
U   wip/whatsnew.txt<br>
<br>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div></div>