Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

Sprite.cpp File Reference

#include "global.h"
#include <cassert>
#include "Sprite.h"
#include "RageTextureManager.h"
#include "IniFile.h"
#include "RageLog.h"
#include "RageException.h"
#include "PrefsManager.h"
#include "RageDisplay.h"
#include "RageTexture.h"
#include "ActorUtil.h"
#include "arch/Dialog/Dialog.h"
#include "Foreach.h"
#include "LuaBinding.h"
#include "LuaManager.h"

Defines

#define IF_CROP_POS(side, opp_side)

Functions

void TexCoordsFromArray (RageSpriteVertex *v, const float *f)
void TexCoordArrayFromRect (float fImageCoords[8], const RectF &rect)
RageColor scale (float x, float l1, float h1, const RageColor &a, const RageColor &b)

Define Documentation

#define IF_CROP_POS side,
opp_side   ) 
 

Value:

if(state->crop.side!=0) \ croppedQuadVerticies.side = \ SCALE( crop.side, 0.f, 1.f, quadVerticies.side, quadVerticies.opp_side );


Function Documentation

RageColor scale float  x,
float  l1,
float  h1,
const RageColor a,
const RageColor b
 

void TexCoordArrayFromRect float  fImageCoords[8],
const RectF rect
 

void TexCoordsFromArray RageSpriteVertex v,
const float *  f
[static]
 


Generated on Thu Jan 27 20:58:21 2005 for StepMania by doxygen 1.3.7