- Applied a modified version of Karate Chris's screenshot naming patch.

- Sbarinfo optimization: Creating and destroying bar textures every frame is
  a relatively expensive operation. We can skip the custom texture entirely
  and just draw the bars directly to the screen, using the clipping parameters
  for DrawTexture(). This also means bars are no longer limited to the game
  palette, and the bar itself has the same resolution as the screen.


SVN r731 (trunk)
This commit is contained in:
Randy Heit 2008-02-05 05:29:31 +00:00
commit d1e27e533f
9 changed files with 219 additions and 194 deletions

View file

@ -256,19 +256,7 @@ void FRandom::StaticReadRNGState (PNGHandle *png)
// This is for use by DECORATE.
extern FRandom pr_exrandom;
class NewRNGList : public TArray<FRandom*>
{
public:
~NewRNGList()
{
for(unsigned i=0;i<Size();i++)
{
delete (*this)[i];
}
}
};
static NewRNGList NewRNGs;
static TDeletingArray<FRandom *> NewRNGs;
FRandom *FRandom::StaticFindRNG (const char *name)
{