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

James Paige Bob at hamsterrepublic.com
Mon Feb 7 13:04:12 PST 2022


On Mon, Feb 7, 2022 at 9:31 AM Ralph Versteegen <teeemcee at gmail.com> wrote:

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

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.


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

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.


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

Yay :D


>
> 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
>>
> _______________________________________________
> 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/20220207/e905ede1/attachment-0001.html>


More information about the Ohrrpgce mailing list