[Ohrrpgce] SVN: james/12766 You can use a custom menu as a template for the Battle Menu

Ralph Versteegen teeemcee at gmail.com
Mon Feb 7 06:30:41 PST 2022


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?

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.
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.

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).

On Mon, 7 Feb 2022 at 15:09, <subversion at hamsterrepublic.com> wrote:

> james
> 2022-02-06 18:09:01 -0800 (Sun, 06 Feb 2022)
> 59
> You can use a custom menu as a template for the Battle Menu
> ---
> U   wip/bmod.rbas
> U   wip/common.bi
> U   wip/common.rbas
> U   wip/const.bi
> U   wip/generaledit.rbas
> U   wip/heroedit.rbas
> U   wip/whatsnew.txt
>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20220208/df9320da/attachment.html>


More information about the Ohrrpgce mailing list