|
From: Jason D. S. <js...@an...> - 2003-12-01 03:27:05
|
sanjay madhav wrote: > 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. With opengl we could scale the images. But my approach has been simpler: just make the boxes they're stored in smaller, and let the drawing library fit them as well as possible. It's quite playable, although as I said it's incomplete. But the races.h change is something quite different: without this the queue code will segfault in a difficult-to-trace way. If it's possible to change the #defines, it would also be easy enough to make them variables loaded from a config file. But I don't know if that's a goal for the near future. jason |