So, a while back, Gampa posted a screenshot in the EL forums which clearly showed the additional 2 quick-use and quick-spell slots. Ent saw it and, having forgotten that he gave permission for it, got rather upset. But, he said we could keep it as long as that was added to the official client.
The problem is that I moved all the slots up, covering the old EL logo. The new EL logo is, IMNHSO, very cool now. Nice work Roja. Anyway, Ent wanted things so that the logo would show up. Well, with the side stats bar (the colored stats bars were my patch BTW) activated there is not enough room. Even in the official client if you play at 640x480 you lose the stats bar.
Now we will have a new skill, engineering, which makes the stats bar a wee bit larger, and covers the 6 quick slots when at 800x600. Rather ugly. So, 0ctane submitted the patch to make the stats go away if you are at 800x600 or less. If things stay that way, there will be plenty of room for 8 instead of 6 slots. Unfortunately I play at 800x600 on my laptop, so I can code and do other things at the same time (I afk harvest a lot, the useful stuff though). Just using math:
logo+clock+compass: (64x64)*3y = 192To figure out why the original 6 slots has issues at 800x600 with the new skill, one needs to look at gl_init.c. 800x600 is actually 780x550. In fact, all the resolutions (EXCEPT 640x480 and 1600x1200) take a little off the top and sides. I need to tweak that gl_init.c to test if 800x600 will work...
10 stats + 1 OA = 11 stats bars * 15y per bar = 165
default quickbar_y_len = 6 * 30 + 1 => 181
room for digital clock: 18
which totals 556 pixels.
quick8 quickbar_y_len = 8 * 30 + 1 => 241
which totals 616 pixels
Maybe I should add a toggle for the logo to make more room...
On an aside, it would be really slick if the client used SDL_ListModes to get available resolutions instead of hard coding it...
Edit: lol. ttlanhil just provided this patch
elc hud.c,1.166,1.167
Modified Files: hud.c
Log Message: allow statsbars in hud at 800x600 if there's no digital clock
Bro, just axe the analog clock. Then there is plenty of room.
ReplyDelete