Well, the problem is that the actual drawable area for the teams is dependant on the sizes of a few of the content files (content/melee/melee.0.png, content/melee/melee.1.png, content/melee/melebkgd.0.png, and content/melee/melebkgd.28.png). When I changed the teams to have 14 like the PC version, instead of 12, I had to resize those images.
Now it's probably not that much of an issue for, say, the main melee screen, because the size of those boxes can definitely be reworked to be calculated (and can be made smaller). But the save/load and select ship in combat screens have pretty small icons already, and the ship selection part would definitely need to be reworked how that is drawn.
Ideally (and I speak for myself, not the team) it would be nice down the road to be able to just change some number in an xml file and change the sizes of the teams. But, that would definitely require some reworking.
Sanjay
----- Original Message -----
From: Jason Dorje Short <js...@an...>
Date: Sunday, November 30, 2003 3:19 pm
Subject: [Sc2-devel] changing NUM_MELEE_ROWS/NUM_MELEE_COLUMNS
> One thing I've always wanted to do is allow more ships in melee. I want
> to be able to use all 25.
>
> So I tried increasing NUM_MELEE_ROWS and NUM_MELEE_COLUMNS. Naturally
> this didn't work too well. So I worked through the problems. The
> gzipped attached patch is my result here. It is incomplete but allows
> reasonably good gameplay.
>
> Of course, I'm sure these values aren't going to be changed in CVS. But
> it would be nice if someone could change them and have things work
> without needing lots of other changes. The attached plaintext patch is
> a small step in this direction (but took the most work to find).
>
> jason
>
|