OpenJK icon indicating copy to clipboard operation
OpenJK copied to clipboard

Remove limit on number of menus and replace with dynamic array

Open ensiform opened this issue 9 years ago • 4 comments

Operating system and version: ALL

Is this for single player or multiplayer? Both

Description of the enhancement/feature: Currently there is a limitation of 128 menus and it should be removed so it can be dynamically adjusted based on the number of menus. This would lower memory usage if less menus are used but also allow for essentially unlimited* menus

*unlimited being available computer/OS memory restrictions only.

See discussion here: https://jkhub.org/topic/7910-menu-limits/

ensiform avatar Jun 16 '16 17:06 ensiform

Is there anyone who can even make 128+ menus feasibly without a mess? I already have trouble managing 32 menus in my game (not including "console" variations), and submenus I split into tabs by some hide/showcvar to keep the number of menus down

leilei- avatar Jun 16 '16 21:06 leilei-

The person in the discussion on the forums claims may need more??

ensiform avatar Jun 17 '16 00:06 ensiform

Why not just double it? How much memory does that cost?

dusty22 avatar Jul 20 '16 12:07 dusty22

It already has been.

ensiform avatar Jul 20 '16 19:07 ensiform