by divVerent » Wed Jul 30, 2008 8:55 am
Actually, it is two reasons.
I attribute about 30% of the speedup to the new menu system (which is in some senses more CPU intensive, e.g. drawing a button is done by MULTIPLE draw operations to allow buttons of any size without redoing the graphics for them), and the whole rest to leaving out unimportant stuff.
This partial slowdown is because the new menu was meant to remove a stupid artist/programmer dependency that was there before. In the old system, to make a new button, we needed to track down the original artist to draw text in the same way on the same button graphics as it was done for the other buttons - and they didn't even align it right always. In the new system, the button graphics is an empty button that can be stretched to any size, and text is rendered over it, so programmers can add new stuff without depending on the artist. On the flip side, it means less work to create a skin.
However, the new menu system does not even support the controls that were used in the old system to show that lot of options, also, putting all these options somewhere would be very tedious, for no real gain.
What IS planned in the long term is somewhat of a replacement for the old cvar controls:
A list of ALL variables with their settings and descriptions, filterable like the server list... and the list would be editable and show descriptions of cvars.
To do that, we first need a feature to add descriptions to cvars created by default.cfg...
But as that thing would be a SINGLE control, it wouldn't get slower and slower over time when new cvars get added (or, actually, just a BIT slower). Needs engine changes, though.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again
You can vary the number of "MS", so you can clearly see it's MS which is causing it.