1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00

Convert custom HeadSpin integer types to standard types from stdint.h

This commit is contained in:
2012-01-19 21:19:26 -05:00
parent a0d54e2644
commit 5027b5a4ac
1301 changed files with 14497 additions and 14532 deletions

View File

@ -72,17 +72,17 @@ hsGMaterial::~hsGMaterial()
IClearLayers();
}
plLayerInterface* hsGMaterial::GetPiggyBack(UInt32 which)
plLayerInterface* hsGMaterial::GetPiggyBack(uint32_t which)
{
return fPiggyBacks[which];
}
plLayerInterface* hsGMaterial::GetLayer(UInt32 which)
plLayerInterface* hsGMaterial::GetLayer(uint32_t which)
{
return fLayers[which];
}
UInt32 hsGMaterial::IMakeExtraLayer()
uint32_t hsGMaterial::IMakeExtraLayer()
{
fLayers.ExpandAndZero(GetNumLayers()+1);
return fLayers.GetCount();
@ -145,7 +145,7 @@ plLayer* hsGMaterial::MakeBaseLayer()
return newLay;
}
UInt32 hsGMaterial::AddLayerViaNotify(plLayerInterface* layer)
uint32_t hsGMaterial::AddLayerViaNotify(plLayerInterface* layer)
{
int idx = GetNumLayers();
@ -190,14 +190,14 @@ void hsGMaterial::RemoveLayer(plLayerInterface* lay, hsBool piggyBack)
layers.Remove(i);
}
void hsGMaterial::InsertLayer(plLayerInterface* layer, Int32 which, hsBool piggyBack)
void hsGMaterial::InsertLayer(plLayerInterface* layer, int32_t which, hsBool piggyBack)
{
hsTArray<plLayerInterface*>& layers = piggyBack ? fPiggyBacks : fLayers;
hsAssert(which <= layers.GetCount(), "Material layers Exceeding test depth");
layers.InsertAtIndex(which, layer);
}
void hsGMaterial::SetLayer(plLayerInterface* layer, Int32 which, hsBool insert, hsBool piggyBack)
void hsGMaterial::SetLayer(plLayerInterface* layer, int32_t which, hsBool insert, hsBool piggyBack)
{
if( insert )
{
@ -276,7 +276,7 @@ void hsGMaterial::Read(hsStream *stream, hsResMgr *group)
}
}
void hsGMaterial::Eval(double secs, UInt32 frame)
void hsGMaterial::Eval(double secs, uint32_t frame)
{
plProfile_BeginLap(MaterialAnims, GetKeyName());

View File

@ -81,20 +81,20 @@ public:
};
protected:
UInt32 fLOD;
uint32_t fLOD;
hsTArray<plLayerInterface*> fLayers;
hsTArray<plLayerInterface*> fPiggyBacks;
UInt32 fCompFlags;
UInt32 fLoadFlags;
uint32_t fCompFlags;
uint32_t fLoadFlags;
hsScalar fLastUpdateTime;
void IClearLayers();
UInt32 IMakeExtraLayer();
uint32_t IMakeExtraLayer();
void InsertLayer(plLayerInterface* lay, Int32 which = 0, hsBool piggyBack = false);
void SetLayer(plLayerInterface* lay, Int32 which = 0, hsBool insert=false, hsBool piggyBack=false);
void InsertLayer(plLayerInterface* lay, int32_t which = 0, hsBool piggyBack = false);
void SetLayer(plLayerInterface* lay, int32_t which = 0, hsBool insert=false, hsBool piggyBack=false);
void ReplaceLayer(plLayerInterface* oldLay, plLayerInterface* newLay, hsBool piggyBack = false);
void RemoveLayer(plLayerInterface* oldLay, hsBool piggyBack = false);
public:
@ -105,24 +105,24 @@ public:
virtual hsGMaterial* CloneNoLayers(); // For things like blending copies, that manipulate layers directly.
// copies no keyed objects.
plLayer* MakeBaseLayer();
plLayerInterface* GetLayer(UInt32 which);
plLayerInterface* GetPiggyBack(UInt32 which);
UInt32 AddLayerViaNotify(plLayerInterface* lay);
UInt32 GetNumLayers() const { return fLayers.GetCount(); }
plLayerInterface* GetLayer(uint32_t which);
plLayerInterface* GetPiggyBack(uint32_t which);
uint32_t AddLayerViaNotify(plLayerInterface* lay);
uint32_t GetNumLayers() const { return fLayers.GetCount(); }
void SetNumLayers(int cnt);
UInt32 GetNumPiggyBacks() const { return fPiggyBacks.GetCount(); }
uint32_t GetNumPiggyBacks() const { return fPiggyBacks.GetCount(); }
void SetNumPiggyBacks();
void SetLOD(UInt32 l) { fLOD = l; }
UInt32 GetLOD() const { return fLOD; }
void SetLOD(uint32_t l) { fLOD = l; }
uint32_t GetLOD() const { return fLOD; }
void SetCompositeFlags(UInt32 f) { fCompFlags = f; } // normally composite flags are calculated internally, not set.
UInt32 GetCompositeFlags() const { return fCompFlags; }
UInt32 GetLoadFlags() const { return fLoadFlags; }
void SetCompositeFlags(uint32_t f) { fCompFlags = f; } // normally composite flags are calculated internally, not set.
uint32_t GetCompositeFlags() const { return fCompFlags; }
uint32_t GetLoadFlags() const { return fLoadFlags; }
hsScalar GetLastUpdateTime() const { return fLastUpdateTime; }
void SetLastUpdateTime(hsScalar f) { fLastUpdateTime = f; }
hsBool IShouldUpdate(hsScalar secs, UInt32 flags) { return GetLastUpdateTime() != secs || (flags & kUpdateAgain); }
hsBool IShouldUpdate(hsScalar secs, uint32_t flags) { return GetLastUpdateTime() != secs || (flags & kUpdateAgain); }
hsBool IsDynamic() const { return (fCompFlags & kCompDynamic); }
hsBool IsDecal() const { return (fCompFlags & kCompDecal); }
@ -133,7 +133,7 @@ public:
virtual void Read(hsStream* s, hsResMgr *group);
virtual void Write(hsStream* s, hsResMgr *group);
virtual void Eval(double secs, UInt32 frame);
virtual void Eval(double secs, uint32_t frame);
virtual void Reset();
virtual void Init();

View File

@ -211,7 +211,7 @@ void plGrassShaderMod::Read(hsStream *stream, hsResMgr *mgr)
plgDispatch::Dispatch()->RegisterForExactType(plAgeLoadedMsg::Index(), GetKey());
}
hsBool plGrassShaderMod::IEval(double secs, hsScalar del, UInt32 dirty)
hsBool plGrassShaderMod::IEval(double secs, hsScalar del, uint32_t dirty)
{
if (fVShader)
{

View File

@ -99,7 +99,7 @@ public:
plGrassWave fWaves[kNumWaves];
protected:
virtual hsBool IEval(double secs, hsScalar del, UInt32 dirty);
virtual hsBool IEval(double secs, hsScalar del, uint32_t dirty);
virtual void IApplyDynamic() {}; // dummy function required by base class
void ISetupShaders();
void IRefreshWaves(plShader *vShader);

View File

@ -85,7 +85,7 @@ plLayer::plLayer()
fState = TRACKED_NEW hsGMatState;
fState->Reset();
fUVWSrc = TRACKED_NEW UInt32;
fUVWSrc = TRACKED_NEW uint32_t;
fLODBias = TRACKED_NEW hsScalar;
fSpecularPower = TRACKED_NEW hsScalar;
@ -106,9 +106,9 @@ plLayer::~plLayer()
{
}
UInt32 plLayer::Eval(double secs, UInt32 frame, UInt32 ignore)
uint32_t plLayer::Eval(double secs, uint32_t frame, uint32_t ignore)
{
return UInt32(0);
return uint32_t(0);
}
void plLayer::Read(hsStream* s, hsResMgr* mgr)

View File

@ -56,7 +56,7 @@ public:
CLASSNAME_REGISTER( plLayer );
GETINTERFACE_ANY( plLayer, plLayerInterface );
virtual UInt32 Eval(double secs, UInt32 frame, UInt32 ignore);
virtual uint32_t Eval(double secs, uint32_t frame, uint32_t ignore);
virtual void Read(hsStream* s, hsResMgr* mgr);
virtual void Write(hsStream* s, hsResMgr* mgr);
@ -66,11 +66,11 @@ public:
// Flat layer specifics
plLayer& InitToDefault();
void SetBlendFlags(UInt32 f) { fState->fBlendFlags = f; }
void SetClampFlags(UInt32 f) { fState->fClampFlags = f; }
void SetShadeFlags(UInt32 f) { fState->fShadeFlags = f; }
void SetZFlags(UInt32 f) { fState->fZFlags = f; }
void SetMiscFlags(UInt32 f) { fState->fMiscFlags = f; }
void SetBlendFlags(uint32_t f) { fState->fBlendFlags = f; }
void SetClampFlags(uint32_t f) { fState->fClampFlags = f; }
void SetShadeFlags(uint32_t f) { fState->fShadeFlags = f; }
void SetZFlags(uint32_t f) { fState->fZFlags = f; }
void SetMiscFlags(uint32_t f) { fState->fMiscFlags = f; }
void SetState(const hsGMatState& state);
void SetTexture(plBitmap* t) { *fTexture = t; }
@ -81,7 +81,7 @@ public:
void SetSpecularColor(const hsColorRGBA& col) { *fSpecularColor = col; }
void SetOpacity(hsScalar a) { *fOpacity = a; }
void SetTransform(const hsMatrix44& xfm);
void SetUVWSrc(UInt32 chan) { *fUVWSrc = chan; }
void SetUVWSrc(uint32_t chan) { *fUVWSrc = chan; }
void SetLODBias(hsScalar f) { *fLODBias = f; }
void SetSpecularPower(hsScalar f) { *fSpecularPower = f; }

View File

@ -145,7 +145,7 @@ plLayerInterface* plLayerAnimationBase::Attach(plLayerInterface* prev)
return plLayerInterface::Attach(prev);
}
void plLayerAnimationBase::IEvalConvertedTime(hsScalar secs, UInt32 passChans, UInt32 evalChans, UInt32 &dirty)
void plLayerAnimationBase::IEvalConvertedTime(hsScalar secs, uint32_t passChans, uint32_t evalChans, uint32_t &dirty)
{
if( evalChans & kPreshadeColor )
{
@ -349,13 +349,13 @@ plLayerInterface* plLayerAnimation::Attach(plLayerInterface* prev)
return plLayerAnimationBase::Attach(prev);
}
UInt32 plLayerAnimation::Eval(double wSecs, UInt32 frame, UInt32 ignore)
uint32_t plLayerAnimation::Eval(double wSecs, uint32_t frame, uint32_t ignore)
{
UInt32 dirty = plLayerInterface::Eval(wSecs, frame, ignore);
uint32_t dirty = plLayerInterface::Eval(wSecs, frame, ignore);
if( wSecs != fEvalTime )
{
UInt32 evalChans = 0;
UInt32 passChans = dirty | fPassThruChannels;
uint32_t evalChans = 0;
uint32_t passChans = dirty | fPassThruChannels;
hsScalar secs = fTimeConvert.WorldToAnimTime(wSecs);
if( secs != fCurrentTime )
{
@ -463,13 +463,13 @@ void plLayerLinkAnimation::Write(hsStream* s, hsResMgr* mgr)
s->WriteBool(fLeavingAge);
}
UInt32 plLayerLinkAnimation::Eval(double wSecs, UInt32 frame, UInt32 ignore)
uint32_t plLayerLinkAnimation::Eval(double wSecs, uint32_t frame, uint32_t ignore)
{
UInt32 dirty = plLayerInterface::Eval(wSecs, frame, ignore);
uint32_t dirty = plLayerInterface::Eval(wSecs, frame, ignore);
if (wSecs != fEvalTime)
{
UInt32 evalChans = 0;
UInt32 passChans = dirty | fPassThruChannels;
uint32_t evalChans = 0;
uint32_t passChans = dirty | fPassThruChannels;
hsScalar oldAnimTime = fTimeConvert.CurrentAnimTime();
hsScalar secs = oldAnimTime;
@ -540,7 +540,7 @@ UInt32 plLayerLinkAnimation::Eval(double wSecs, UInt32 frame, UInt32 ignore)
return dirty;
}
void plLayerLinkAnimation::SetFadeFlag(UInt8 flag, hsBool val)
void plLayerLinkAnimation::SetFadeFlag(uint8_t flag, hsBool val)
{
if (val)
fFadeFlags |= flag;
@ -681,13 +681,13 @@ plLayerSDLAnimation::~plLayerSDLAnimation()
delete [] fVarName;
}
UInt32 plLayerSDLAnimation::Eval(double wSecs, UInt32 frame, UInt32 ignore)
uint32_t plLayerSDLAnimation::Eval(double wSecs, uint32_t frame, uint32_t ignore)
{
UInt32 dirty = plLayerInterface::Eval(wSecs, frame, ignore);
uint32_t dirty = plLayerInterface::Eval(wSecs, frame, ignore);
if( wSecs != fEvalTime )
{
UInt32 evalChans = 0;
UInt32 passChans = dirty | fPassThruChannels;
uint32_t evalChans = 0;
uint32_t passChans = dirty | fPassThruChannels;
if (fEvalTime < 0)
{

View File

@ -73,7 +73,7 @@ protected:
plController* fTransformCtl;
hsScalar IMakeUniformLength();
void IEvalConvertedTime(hsScalar secs, UInt32 passChans, UInt32 evalChans, UInt32 &dirty);
void IEvalConvertedTime(hsScalar secs, uint32_t passChans, uint32_t evalChans, uint32_t &dirty);
public:
plLayerAnimationBase();
@ -83,7 +83,7 @@ public:
GETINTERFACE_ANY( plLayerAnimationBase, plLayerInterface );
virtual plLayerInterface* Attach(plLayerInterface* prev);
//virtual UInt32 Eval(double secs, UInt32 frame, UInt32 ignore) = 0;
//virtual uint32_t Eval(double secs, uint32_t frame, uint32_t ignore) = 0;
virtual hsBool MsgReceive(plMessage* msg);
@ -127,7 +127,7 @@ public:
GETINTERFACE_ANY( plLayerAnimation, plLayerAnimationBase );
virtual plLayerInterface* Attach(plLayerInterface* prev);
virtual UInt32 Eval(double wSecs, UInt32 frame, UInt32 ignore);
virtual uint32_t Eval(double wSecs, uint32_t frame, uint32_t ignore);
virtual hsBool MsgReceive(plMessage* msg);
@ -155,8 +155,8 @@ protected:
kFadeIFace = 0x08,
kFadeCCR = 0x10,
};
UInt8 fFadeFlags;
UInt8 fLastFadeFlag;
uint8_t fFadeFlags;
uint8_t fLastFadeFlag;
hsBool fFadeFlagsDirty;
public:
@ -173,14 +173,14 @@ public:
// NEVER!
// If you think it should... talk to Bob. He will explain why it can't be, and beat you up.
// If he can't remember, beat him up until he does (or ask Moose).
virtual hsBool DirtySynchState(const char* sdlName, UInt32 sendFlags) { return false; } // don't send link state
virtual hsBool DirtySynchState(const char* sdlName, uint32_t sendFlags) { return false; } // don't send link state
virtual void Read(hsStream* s, hsResMgr* mgr);
virtual void Write(hsStream* s, hsResMgr* mgr);
virtual UInt32 Eval(double wSecs, UInt32 frame, UInt32 ignore);
virtual uint32_t Eval(double wSecs, uint32_t frame, uint32_t ignore);
virtual hsBool MsgReceive(plMessage* pMsg);
void Enable(hsBool b) { fEnabled = b; }
void SetFadeFlag(UInt8 flag, hsBool val);
void SetFadeFlag(uint8_t flag, hsBool val);
hsBool fLeavingAge;
};
@ -198,7 +198,7 @@ public:
CLASSNAME_REGISTER( plLayerSDLAnimation );
GETINTERFACE_ANY( plLayerSDLAnimation, plLayerAnimationBase );
virtual UInt32 Eval(double wSecs, UInt32 frame, UInt32 ignore);
virtual uint32_t Eval(double wSecs, uint32_t frame, uint32_t ignore);
virtual hsBool MsgReceive(plMessage* msg);

View File

@ -97,7 +97,7 @@ plLayerInterface::~plLayerInterface()
delete fBumpEnvXfm;
}
void plLayerInterface::ISetPassThru(UInt32 chans)
void plLayerInterface::ISetPassThru(uint32_t chans)
{
fPassThruChannels |= chans;
if( fOverLay )
@ -129,7 +129,7 @@ void plLayerInterface::ISetPassThru(UInt32 chans)
// Note that a layer may claim ownership of its channels but then lose
// ownership (because another layer went active) before ever having
// been Eval'd.
void plLayerInterface::ClaimChannels(UInt32 chans)
void plLayerInterface::ClaimChannels(uint32_t chans)
{
if( fOverLay )
fOverLay->ISetPassThru(chans);
@ -137,12 +137,12 @@ void plLayerInterface::ClaimChannels(UInt32 chans)
DirtySynchState(kSDLLayer, 0);
}
UInt32 plLayerInterface::Eval(double secs, UInt32 frame, UInt32 ignore)
uint32_t plLayerInterface::Eval(double secs, uint32_t frame, uint32_t ignore)
{
if( fUnderLay )
return fUnderLay->Eval(secs, frame, ignore);
return UInt32(0);
return uint32_t(0);
}
// Export Only

View File

@ -101,13 +101,13 @@ protected:
// from dirty bits), or when you want to (you'll know from secs/frame).
// fOwnedChannels specifies which channels you have allocated and own (and will delete)
UInt32 fOwnedChannels;
uint32_t fOwnedChannels;
// fPassThruChannels are channels which we need to pass through our underlay's values,
// even if we have a differing opinion on what the value should be. This let's us arbitrate
// between different layers that control the same channels. A layer can claim control of
// a channel by telling all other layers to pass through that channel via the
// ClaimChannels(UInt32 chans) member function. See .cpp for arbitration rules.
UInt32 fPassThruChannels;
// ClaimChannels(uint32_t chans) member function. See .cpp for arbitration rules.
uint32_t fPassThruChannels;
hsMatrix44* fTransform;
hsColorRGBA* fPreshadeColor;
@ -122,7 +122,7 @@ protected:
// (Currently) unanimatables.
hsGMatState* fState;
UInt32* fUVWSrc;
uint32_t* fUVWSrc;
hsScalar* fLODBias;
hsScalar* fSpecularPower;
@ -132,7 +132,7 @@ protected:
hsMatrix44* fBumpEnvXfm;
void IUnthread();
void ISetPassThru(UInt32 chans);
void ISetPassThru(uint32_t chans);
public:
plLayerInterface();
@ -158,16 +158,16 @@ public:
plBitmap* GetTexture() const { return *fTexture; }
// (Currently) unanimatables
UInt32 GetUVWSrc() const { return *fUVWSrc; }
uint32_t GetUVWSrc() const { return *fUVWSrc; }
hsScalar GetLODBias() const { return *fLODBias; }
hsScalar GetSpecularPower() const { return *fSpecularPower; }
const hsGMatState& GetState() const { return *fState; }
UInt32 GetBlendFlags() const { return fState->fBlendFlags; }
UInt32 GetClampFlags() const { return fState->fClampFlags; }
UInt32 GetShadeFlags() const { return fState->fShadeFlags; }
UInt32 GetZFlags() const { return fState->fZFlags; }
UInt32 GetMiscFlags() const { return fState->fMiscFlags; }
uint32_t GetBlendFlags() const { return fState->fBlendFlags; }
uint32_t GetClampFlags() const { return fState->fClampFlags; }
uint32_t GetShadeFlags() const { return fState->fShadeFlags; }
uint32_t GetZFlags() const { return fState->fZFlags; }
uint32_t GetMiscFlags() const { return fState->fMiscFlags; }
plShader* GetVertexShader() const { return *fVertexShader; }
plShader* GetPixelShader() const { return *fPixelShader; }
@ -176,7 +176,7 @@ public:
// ClaimChannels will tell every other layer on this stack (besides this) to
// pass through the value, giving this layer the final say on it's value
void ClaimChannels(UInt32 chans);
void ClaimChannels(uint32_t chans);
// Eval may be called multiple times per frame, or even multiple times per render (for multiple
// renders per frame). The burden of deciding whether any update is necessary falls to the
@ -187,7 +187,7 @@ public:
// return value of fUnderLay->Eval() - bits are true for fields that an interface earlier in the chain dirtied. A field
// flagged dirty that you modify (as opposed to overwrite) should be updated regardless of secs and frame.
//
virtual UInt32 Eval(double secs, UInt32 frame, UInt32 ignore);
virtual uint32_t Eval(double secs, uint32_t frame, uint32_t ignore);
// Attach gives you a chance to decide whether you want to pass through fields from prev (by copying
// the pointers which you then sooner put long pins through your own eyes than modify). Alloc
@ -208,7 +208,7 @@ public:
plLayerInterface* GetAttached();
void AttachViaNotify(plLayerInterface *prev); // Export only
hsBool OwnChannel(UInt32 which) const { return 0 != (fOwnedChannels & which); }
hsBool OwnChannel(uint32_t which) const { return 0 != (fOwnedChannels & which); }
virtual void Read(hsStream* s, hsResMgr* mgr);
virtual void Write(hsStream* s, hsResMgr* mgr);

View File

@ -124,10 +124,10 @@ plLayerInterface* plLayerMultiply::Attach(plLayerInterface* prev)
return plLayerInterface::Attach(prev);
}
UInt32 plLayerMultiply::Eval(double wSecs, UInt32 frame, UInt32 ignore)
uint32_t plLayerMultiply::Eval(double wSecs, uint32_t frame, uint32_t ignore)
{
UInt32 dirtyChannels = fDirtyChannels | plLayerInterface::Eval(wSecs, frame, ignore);
UInt32 evalChannels = dirtyChannels & fOwnedChannels;
uint32_t dirtyChannels = fDirtyChannels | plLayerInterface::Eval(wSecs, frame, ignore);
uint32_t evalChannels = dirtyChannels & fOwnedChannels;
if (evalChannels & kPreshadeColor)
*fPreshadeColor = fSrcPreshadeColor * fUnderLay->GetPreshadeColor();

View File

@ -57,7 +57,7 @@ public:
GETINTERFACE_ANY( plLayerMultiply, plLayerInterface );
virtual plLayerInterface* Attach(plLayerInterface* prev);
virtual UInt32 Eval(double secs, UInt32 frame, UInt32 ignore);
virtual uint32_t Eval(double secs, uint32_t frame, uint32_t ignore);
virtual hsBool MsgReceive(plMessage* msg);
virtual void Read(hsStream* s, hsResMgr* mgr);
virtual void Write(hsStream* s, hsResMgr* mgr);
@ -69,7 +69,7 @@ public:
void SetTransform(const hsMatrix44& xfm);
protected:
UInt32 fDirtyChannels;
uint32_t fDirtyChannels;
hsColorRGBA fSrcPreshadeColor;
hsColorRGBA fSrcRuntimeColor;
hsColorRGBA fSrcAmbientColor;

View File

@ -71,9 +71,9 @@ plLayerInterface *plLayerOr::Attach( plLayerInterface* prev )
return plLayerInterface::Attach( prev );
}
UInt32 plLayerOr::Eval(double secs, UInt32 frame, UInt32 ignore)
uint32_t plLayerOr::Eval(double secs, uint32_t frame, uint32_t ignore)
{
UInt32 ret = plLayerInterface::Eval(secs, frame, ignore);
uint32_t ret = plLayerInterface::Eval(secs, frame, ignore);
if( fUnderLay )
{
if( fDirty || (ret & kState) )

View File

@ -59,16 +59,16 @@ class plLayerOr : public plLayerInterface
CLASSNAME_REGISTER( plLayerOr );
GETINTERFACE_ANY( plLayerOr, plLayerInterface );
void SetBlendFlags( UInt32 f ) { fOringState.fBlendFlags = f; }
void SetClampFlags( UInt32 f ) { fOringState.fClampFlags = f; }
void SetShadeFlags( UInt32 f ) { fOringState.fShadeFlags = f; }
void SetZFlags( UInt32 f ) { fOringState.fZFlags = f; }
void SetMiscFlags( UInt32 f ) { fOringState.fMiscFlags = f; }
void SetBlendFlags( uint32_t f ) { fOringState.fBlendFlags = f; }
void SetClampFlags( uint32_t f ) { fOringState.fClampFlags = f; }
void SetShadeFlags( uint32_t f ) { fOringState.fShadeFlags = f; }
void SetZFlags( uint32_t f ) { fOringState.fZFlags = f; }
void SetMiscFlags( uint32_t f ) { fOringState.fMiscFlags = f; }
void SetState( const hsGMatState& state );
virtual plLayerInterface* Attach(plLayerInterface* prev);
virtual UInt32 Eval(double secs, UInt32 frame, UInt32 ignore);
virtual uint32_t Eval(double secs, uint32_t frame, uint32_t ignore);
};
#endif //_plLayerOr_h

View File

@ -71,16 +71,16 @@ plLayerInterface* plLayerLightBase::Attach(plLayerInterface* prev)
return plLayerInterface::Attach(prev);
}
UInt32 plLayerLightBase::Eval(double secs, UInt32 frame, UInt32 ignore)
uint32_t plLayerLightBase::Eval(double secs, uint32_t frame, uint32_t ignore)
{
UInt32 ret = plLayerInterface::Eval(secs, frame, ignore);
uint32_t ret = plLayerInterface::Eval(secs, frame, ignore);
if( fUnderLay )
{
if( fDirty || (ret & kState) )
{
*fState = fUnderLay->GetState();
UInt32 blend = fState->fBlendFlags;
uint32_t blend = fState->fBlendFlags;
fState->fBlendFlags &= ~hsGMatState::kBlendMask;
@ -134,9 +134,9 @@ plLayerInterface* plLayerShadowBase::Attach(plLayerInterface* prev)
return plLayerInterface::Attach(prev);
}
UInt32 plLayerShadowBase::Eval(double secs, UInt32 frame, UInt32 ignore)
uint32_t plLayerShadowBase::Eval(double secs, uint32_t frame, uint32_t ignore)
{
UInt32 ret = plLayerInterface::Eval(secs, frame, ignore);
uint32_t ret = plLayerInterface::Eval(secs, frame, ignore);
if( fUnderLay )
{
if( fDirty || (ret & kState) )

View File

@ -61,7 +61,7 @@ public:
virtual plLayerInterface* Attach(plLayerInterface* prev);
virtual UInt32 Eval(double secs, UInt32 frame, UInt32 ignore);
virtual uint32_t Eval(double secs, uint32_t frame, uint32_t ignore);
};
@ -81,7 +81,7 @@ public:
virtual plLayerInterface* Attach(plLayerInterface* prev);
virtual UInt32 Eval(double secs, UInt32 frame, UInt32 ignore);
virtual uint32_t Eval(double secs, uint32_t frame, uint32_t ignore);
};

View File

@ -60,7 +60,7 @@ public:
virtual void Init(const plLayerInterface* prev) {} // Init(layer) currently handles all this
void Init(hsGLayer* lay);
virtual UInt32 Eval(double secs, UInt32 frame, UInt32 dirty, plLayerInterface* prev)
virtual uint32_t Eval(double secs, uint32_t frame, uint32_t dirty, plLayerInterface* prev)
{
return dirty;
}

View File

@ -287,7 +287,7 @@ void plShader::Read(hsStream* s, hsResMgr* mgr)
hsKeyedObject::Read(s, mgr);
UInt32 n = s->ReadLE32();
uint32_t n = s->ReadLE32();
fConsts.SetCount(n);
int i;
for( i = 0; i < n; i++ )

View File

@ -167,10 +167,10 @@ public:
public:
plPipeConst() {}
plPipeConst(Type t, UInt16 r) : fType(t), fReg(r) {}
plPipeConst(Type t, uint16_t r) : fType(t), fReg(r) {}
Type fType;
UInt16 fReg;
uint16_t fReg;
};
typedef plPipeConst::Type plPipeConstType;
@ -187,7 +187,7 @@ public:
kShaderUnsupported = 0x20
};
protected:
mutable UInt32 fFlags;
mutable uint32_t fFlags;
hsTArray<plShaderConst> fConsts;
@ -195,8 +195,8 @@ protected:
const plShaderDecl* fDecl;
UInt8 fInput;
UInt8 fOutput;
uint8_t fInput;
uint8_t fOutput;
hsTArray<plPipeConst> fPipeConsts;
@ -212,7 +212,7 @@ public:
virtual void Write(hsStream* s, hsResMgr* mgr);
void SetNumConsts(int cnt) { fConsts.SetCount(cnt); }
UInt32 GetNumConsts() const { return fConsts.GetCount(); }
uint32_t GetNumConsts() const { return fConsts.GetCount(); }
plShaderConst& GetConst(int i) { return fConsts[i]; }
const plShaderConst& GetConst(int i) const { return fConsts[i]; }
void SetConst(int i, const plShaderConst& c) { fConsts[i] = c; }
@ -261,22 +261,22 @@ public:
void CopyConsts(const plShader* src) { fConsts = src->fConsts; }
void SetInputFormat(UInt8 format) { fInput = format; }
void SetOutputFormat(UInt8 format) { fOutput = format; }
void SetInputFormat(uint8_t format) { fInput = format; }
void SetOutputFormat(uint8_t format) { fOutput = format; }
UInt8 GetInputFormat() const { return fInput; }
UInt8 GetOutputFormat() const { return fOutput; }
uint8_t GetInputFormat() const { return fInput; }
uint8_t GetOutputFormat() const { return fOutput; }
UInt32 GetNumPipeConsts() const { return fPipeConsts.GetCount(); }
uint32_t GetNumPipeConsts() const { return fPipeConsts.GetCount(); }
const plPipeConst& GetPipeConst(int i) const { return fPipeConsts[i]; }
plPipeConst::Type GetPipeConstType(int i) const { return fPipeConsts[i].fType; }
UInt16 GetPipeConstReg(int i) const { return fPipeConsts[i].fReg; }
uint16_t GetPipeConstReg(int i) const { return fPipeConsts[i].fReg; }
void SetNumPipeConsts(int n);
void SetPipeConst(int i, const plPipeConst& c) { fPipeConsts[i] = c; }
void SetPipeConst(int i, plPipeConstType t, UInt16 r) { fPipeConsts[i].fType = t; fPipeConsts[i].fReg = r; }
void SetPipeConst(int i, plPipeConstType t, uint16_t r) { fPipeConsts[i].fType = t; fPipeConsts[i].fReg = r; }
void SetPipeConstType(int i, plPipeConstType t) { fPipeConsts[i].fType = t; }
void SetPipeConstReg(int i, UInt16 r) { fPipeConsts[i].fReg = r; }
void SetPipeConstReg(int i, uint16_t r) { fPipeConsts[i].fReg = r; }
};
#endif // plShader_inc

View File

@ -102,17 +102,17 @@ class plShaderDecl
{
protected:
const plShaderID::ID fID;
const UInt32 fByteLen;
const UInt8* const fCodes;
const uint32_t fbyteLen;
const uint8_t* const fCodes;
const char* const fFileName;
public:
plShaderDecl(const char* const fname, plShaderID::ID id = plShaderID::Unregistered, UInt32 byteLen = 0, const UInt8* const codes = 0L) : fID(id), fByteLen(byteLen), fCodes(codes), fFileName(fname) {}
plShaderDecl(const char* const fname, plShaderID::ID id = plShaderID::Unregistered, uint32_t byteLen = 0, const uint8_t* const codes = 0L) : fID(id), fbyteLen(byteLen), fCodes(codes), fFileName(fname) {}
// Data (fCodes) is never deleted, It points to memory compiled in.
plShaderID::ID GetID() const { return fID; }
UInt32 GetByteLen() const { return fByteLen; }
const UInt8* GetCodes() const { return fCodes; }
uint32_t GetByteLen() const { return fbyteLen; }
const uint8_t* GetCodes() const { return fCodes; }
const char* const GetFileName() const { return fFileName; }
};
@ -124,7 +124,7 @@ protected:
kLoadFromFile = 0x1
};
UInt32 fFlags;
uint32_t fFlags;
const plShaderDecl* fTable[plShaderID::kNumShaders];

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_BiasNormalsByteLen = 76;
static const uint32_t ps_BiasNormalsbyteLen = 76;
static const UInt8 ps_BiasNormalsCodes[] = {
static const uint8_t ps_BiasNormalsCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -65,7 +65,7 @@ static const UInt8 ps_BiasNormalsCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_BiasNormalsDecl("sha/ps_BiasNormals.inl", ps_BiasNormals, ps_BiasNormalsByteLen, ps_BiasNormalsCodes);
static const plShaderDecl ps_BiasNormalsDecl("sha/ps_BiasNormals.inl", ps_BiasNormals, ps_BiasNormalsbyteLen, ps_BiasNormalsCodes);
static const plShaderRegister ps_BiasNormalsRegister(&ps_BiasNormalsDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_CaddAAddByteLen = 72;
static const uint32_t ps_CaddAAddbyteLen = 72;
static const UInt8 ps_CaddAAddCodes[] = {
static const uint8_t ps_CaddAAddCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -64,7 +64,7 @@ static const UInt8 ps_CaddAAddCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_CaddAAddDecl("sha/ps_CaddAAdd.inl", ps_CaddAAdd, ps_CaddAAddByteLen, ps_CaddAAddCodes);
static const plShaderDecl ps_CaddAAddDecl("sha/ps_CaddAAdd.inl", ps_CaddAAdd, ps_CaddAAddbyteLen, ps_CaddAAddCodes);
static const plShaderRegister ps_CaddAAddRegister(&ps_CaddAAddDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_CaddAMultByteLen = 72;
static const uint32_t ps_CaddAMultbyteLen = 72;
static const UInt8 ps_CaddAMultCodes[] = {
static const uint8_t ps_CaddAMultCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -64,7 +64,7 @@ static const UInt8 ps_CaddAMultCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_CaddAMultDecl("sha/ps_CaddAMult.inl", ps_CaddAMult, ps_CaddAMultByteLen, ps_CaddAMultCodes);
static const plShaderDecl ps_CaddAMultDecl("sha/ps_CaddAMult.inl", ps_CaddAMult, ps_CaddAMultbyteLen, ps_CaddAMultCodes);
static const plShaderRegister ps_CaddAMultRegister(&ps_CaddAMultDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_CaddAbaseByteLen = 68;
static const uint32_t ps_CaddAbasebyteLen = 68;
static const UInt8 ps_CaddAbaseCodes[] = {
static const uint8_t ps_CaddAbaseCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -63,7 +63,7 @@ static const UInt8 ps_CaddAbaseCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_CaddAbaseDecl("sha/ps_CaddAbase.inl", ps_CaddAbase, ps_CaddAbaseByteLen, ps_CaddAbaseCodes);
static const plShaderDecl ps_CaddAbaseDecl("sha/ps_CaddAbase.inl", ps_CaddAbase, ps_CaddAbasebyteLen, ps_CaddAbaseCodes);
static const plShaderRegister ps_CaddAbaseRegister(&ps_CaddAbaseDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_CalphaAMultByteLen = 76;
static const uint32_t ps_CalphaAMultbyteLen = 76;
static const UInt8 ps_CalphaAMultCodes[] = {
static const uint8_t ps_CalphaAMultCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -65,7 +65,7 @@ static const UInt8 ps_CalphaAMultCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_CalphaAMultDecl("sha/ps_CalphaAMult.inl", ps_CalphaAMult, ps_CalphaAMultByteLen, ps_CalphaAMultCodes);
static const plShaderDecl ps_CalphaAMultDecl("sha/ps_CalphaAMult.inl", ps_CalphaAMult, ps_CalphaAMultbyteLen, ps_CalphaAMultCodes);
static const plShaderRegister ps_CalphaAMultRegister(&ps_CalphaAMultDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_CalphaAaddByteLen = 76;
static const uint32_t ps_CalphaAaddbyteLen = 76;
static const UInt8 ps_CalphaAaddCodes[] = {
static const uint8_t ps_CalphaAaddCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -65,7 +65,7 @@ static const UInt8 ps_CalphaAaddCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_CalphaAaddDecl("sha/ps_CalphaAadd.inl", ps_CalphaAadd, ps_CalphaAaddByteLen, ps_CalphaAaddCodes);
static const plShaderDecl ps_CalphaAaddDecl("sha/ps_CalphaAadd.inl", ps_CalphaAadd, ps_CalphaAaddbyteLen, ps_CalphaAaddCodes);
static const plShaderRegister ps_CalphaAaddRegister(&ps_CalphaAaddDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_CalphaAbaseByteLen = 72;
static const uint32_t ps_CalphaAbasebyteLen = 72;
static const UInt8 ps_CalphaAbaseCodes[] = {
static const uint8_t ps_CalphaAbaseCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -64,7 +64,7 @@ static const UInt8 ps_CalphaAbaseCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_CalphaAbaseDecl("sha/ps_CalphaAbase.inl", ps_CalphaAbase, ps_CalphaAbaseByteLen, ps_CalphaAbaseCodes);
static const plShaderDecl ps_CalphaAbaseDecl("sha/ps_CalphaAbase.inl", ps_CalphaAbase, ps_CalphaAbasebyteLen, ps_CalphaAbaseCodes);
static const plShaderRegister ps_CalphaAbaseRegister(&ps_CalphaAbaseDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_CbaseAbaseByteLen = 32;
static const uint32_t ps_CbaseAbasebyteLen = 32;
static const UInt8 ps_CbaseAbaseCodes[] = {
static const uint8_t ps_CbaseAbaseCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -54,7 +54,7 @@ static const UInt8 ps_CbaseAbaseCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_CbaseAbaseDecl("sha/ps_CbaseAbase.inl", ps_CbaseAbase, ps_CbaseAbaseByteLen, ps_CbaseAbaseCodes);
static const plShaderDecl ps_CbaseAbaseDecl("sha/ps_CbaseAbase.inl", ps_CbaseAbase, ps_CbaseAbasebyteLen, ps_CbaseAbaseCodes);
static const plShaderRegister ps_CbaseAbaseRegister(&ps_CbaseAbaseDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_CmultAAddByteLen = 72;
static const uint32_t ps_CmultAAddbyteLen = 72;
static const UInt8 ps_CmultAAddCodes[] = {
static const uint8_t ps_CmultAAddCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -64,7 +64,7 @@ static const UInt8 ps_CmultAAddCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_CmultAAddDecl("sha/ps_CmultAAdd.inl", ps_CmultAAdd, ps_CmultAAddByteLen, ps_CmultAAddCodes);
static const plShaderDecl ps_CmultAAddDecl("sha/ps_CmultAAdd.inl", ps_CmultAAdd, ps_CmultAAddbyteLen, ps_CmultAAddCodes);
static const plShaderRegister ps_CmultAAddRegister(&ps_CmultAAddDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_CmultAMultByteLen = 72;
static const uint32_t ps_CmultAMultbyteLen = 72;
static const UInt8 ps_CmultAMultCodes[] = {
static const uint8_t ps_CmultAMultCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -64,7 +64,7 @@ static const UInt8 ps_CmultAMultCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_CmultAMultDecl("sha/ps_CmultAMult.inl", ps_CmultAMult, ps_CmultAMultByteLen, ps_CmultAMultCodes);
static const plShaderDecl ps_CmultAMultDecl("sha/ps_CmultAMult.inl", ps_CmultAMult, ps_CmultAMultbyteLen, ps_CmultAMultCodes);
static const plShaderRegister ps_CmultAMultRegister(&ps_CmultAMultDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_CmultAbaseByteLen = 68;
static const uint32_t ps_CmultAbasebyteLen = 68;
static const UInt8 ps_CmultAbaseCodes[] = {
static const uint8_t ps_CmultAbaseCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -63,7 +63,7 @@ static const UInt8 ps_CmultAbaseCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_CmultAbaseDecl("sha/ps_CmultAbase.inl", ps_CmultAbase, ps_CmultAbaseByteLen, ps_CmultAbaseCodes);
static const plShaderDecl ps_CmultAbaseDecl("sha/ps_CmultAbase.inl", ps_CmultAbase, ps_CmultAbasebyteLen, ps_CmultAbaseCodes);
static const plShaderRegister ps_CmultAbaseRegister(&ps_CmultAbaseDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_CompCosinesByteLen = 148;
static const uint32_t ps_CompCosinesbyteLen = 148;
static const UInt8 ps_CompCosinesCodes[] = {
static const uint8_t ps_CompCosinesCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -83,7 +83,7 @@ static const UInt8 ps_CompCosinesCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_CompCosinesDecl("sha/ps_CompCosines.inl", ps_CompCosines, ps_CompCosinesByteLen, ps_CompCosinesCodes);
static const plShaderDecl ps_CompCosinesDecl("sha/ps_CompCosines.inl", ps_CompCosines, ps_CompCosinesbyteLen, ps_CompCosinesCodes);
static const plShaderRegister ps_CompCosinesRegister(&ps_CompCosinesDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_GrassShaderByteLen = 32;
static const uint32_t ps_GrassShaderbyteLen = 32;
static const UInt8 ps_GrassShaderCodes[] = {
static const uint8_t ps_GrassShaderCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -54,7 +54,7 @@ static const UInt8 ps_GrassShaderCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_GrassShaderDecl("sha/ps_GrassShader.inl", ps_GrassShader, ps_GrassShaderByteLen, ps_GrassShaderCodes);
static const plShaderDecl ps_GrassShaderDecl("sha/ps_GrassShader.inl", ps_GrassShader, ps_GrassShaderbyteLen, ps_GrassShaderCodes);
static const plShaderRegister ps_GrassShaderRegister(&ps_GrassShaderDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_MoreCosinesByteLen = 160;
static const uint32_t ps_MoreCosinesbyteLen = 160;
static const UInt8 ps_MoreCosinesCodes[] = {
static const uint8_t ps_MoreCosinesCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -86,7 +86,7 @@ static const UInt8 ps_MoreCosinesCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_MoreCosinesDecl("sha/ps_MoreCosines.inl", ps_MoreCosines, ps_MoreCosinesByteLen, ps_MoreCosinesCodes);
static const plShaderDecl ps_MoreCosinesDecl("sha/ps_MoreCosines.inl", ps_MoreCosines, ps_MoreCosinesbyteLen, ps_MoreCosinesCodes);
static const plShaderRegister ps_MoreCosinesRegister(&ps_MoreCosinesDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_ShoreLeave6ByteLen = 172;
static const uint32_t ps_ShoreLeave6byteLen = 172;
static const UInt8 ps_ShoreLeave6Codes[] = {
static const uint8_t ps_ShoreLeave6Codes[] = {
0x1, 0x1, 0xff, 0xff,
0x51, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xa0,
@ -89,7 +89,7 @@ static const UInt8 ps_ShoreLeave6Codes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_ShoreLeave6Decl("sha/ps_ShoreLeave6.inl", ps_ShoreLeave6, ps_ShoreLeave6ByteLen, ps_ShoreLeave6Codes);
static const plShaderDecl ps_ShoreLeave6Decl("sha/ps_ShoreLeave6.inl", ps_ShoreLeave6, ps_ShoreLeave6byteLen, ps_ShoreLeave6Codes);
static const plShaderRegister ps_ShoreLeave6Register(&ps_ShoreLeave6Decl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_WaveDecEnvByteLen = 84;
static const uint32_t ps_WaveDecEnvbyteLen = 84;
static const UInt8 ps_WaveDecEnvCodes[] = {
static const uint8_t ps_WaveDecEnvCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -67,7 +67,7 @@ static const UInt8 ps_WaveDecEnvCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_WaveDecEnvDecl("sha/ps_WaveDecEnv.inl", ps_WaveDecEnv, ps_WaveDecEnvByteLen, ps_WaveDecEnvCodes);
static const plShaderDecl ps_WaveDecEnvDecl("sha/ps_WaveDecEnv.inl", ps_WaveDecEnv, ps_WaveDecEnvbyteLen, ps_WaveDecEnvCodes);
static const plShaderRegister ps_WaveDecEnvRegister(&ps_WaveDecEnvDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_WaveFixedByteLen = 108;
static const uint32_t ps_WaveFixedbyteLen = 108;
static const UInt8 ps_WaveFixedCodes[] = {
static const uint8_t ps_WaveFixedCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x51, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xa0,
@ -73,7 +73,7 @@ static const UInt8 ps_WaveFixedCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_WaveFixedDecl("sha/ps_WaveFixed.inl", ps_WaveFixed, ps_WaveFixedByteLen, ps_WaveFixedCodes);
static const plShaderDecl ps_WaveFixedDecl("sha/ps_WaveFixed.inl", ps_WaveFixed, ps_WaveFixedbyteLen, ps_WaveFixedCodes);
static const plShaderRegister ps_WaveFixedRegister(&ps_WaveFixedDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_WaveGraphByteLen = 80;
static const uint32_t ps_WaveGraphbyteLen = 80;
static const UInt8 ps_WaveGraphCodes[] = {
static const uint8_t ps_WaveGraphCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -66,7 +66,7 @@ static const UInt8 ps_WaveGraphCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_WaveGraphDecl("sha/ps_WaveGraph.inl", ps_WaveGraph, ps_WaveGraphByteLen, ps_WaveGraphCodes);
static const plShaderDecl ps_WaveGraphDecl("sha/ps_WaveGraph.inl", ps_WaveGraph, ps_WaveGraphbyteLen, ps_WaveGraphCodes);
static const plShaderRegister ps_WaveGraphRegister(&ps_WaveGraphDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_WaveGridByteLen = 84;
static const uint32_t ps_WaveGridbyteLen = 84;
static const UInt8 ps_WaveGridCodes[] = {
static const uint8_t ps_WaveGridCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -67,7 +67,7 @@ static const UInt8 ps_WaveGridCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_WaveGridDecl("sha/ps_WaveGrid.inl", ps_WaveGrid, ps_WaveGridByteLen, ps_WaveGridCodes);
static const plShaderDecl ps_WaveGridDecl("sha/ps_WaveGrid.inl", ps_WaveGrid, ps_WaveGridbyteLen, ps_WaveGridCodes);
static const plShaderRegister ps_WaveGridRegister(&ps_WaveGridDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 ps_WaveRipByteLen = 32;
static const uint32_t ps_WaveRipbyteLen = 32;
static const UInt8 ps_WaveRipCodes[] = {
static const uint8_t ps_WaveRipCodes[] = {
0x1, 0x1, 0xff, 0xff,
0x42, 0x0, 0x0, 0x0,
0x0, 0x0, 0xf, 0xb0,
@ -54,7 +54,7 @@ static const UInt8 ps_WaveRipCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl ps_WaveRipDecl("sha/ps_WaveRip.inl", ps_WaveRip, ps_WaveRipByteLen, ps_WaveRipCodes);
static const plShaderDecl ps_WaveRipDecl("sha/ps_WaveRip.inl", ps_WaveRip, ps_WaveRipbyteLen, ps_WaveRipCodes);
static const plShaderRegister ps_WaveRipRegister(&ps_WaveRipDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_BiasNormalsByteLen = 168;
static const uint32_t vs_BiasNormalsbyteLen = 168;
static const UInt8 vs_BiasNormalsCodes[] = {
static const uint8_t vs_BiasNormalsCodes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -88,7 +88,7 @@ static const UInt8 vs_BiasNormalsCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_BiasNormalsDecl("sha/vs_BiasNormals.inl", vs_BiasNormals, vs_BiasNormalsByteLen, vs_BiasNormalsCodes);
static const plShaderDecl vs_BiasNormalsDecl("sha/vs_BiasNormals.inl", vs_BiasNormals, vs_BiasNormalsbyteLen, vs_BiasNormalsCodes);
static const plShaderRegister vs_BiasNormalsRegister(&vs_BiasNormalsDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_CompCosinesByteLen = 168;
static const uint32_t vs_CompCosinesbyteLen = 168;
static const UInt8 vs_CompCosinesCodes[] = {
static const uint8_t vs_CompCosinesCodes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -88,7 +88,7 @@ static const UInt8 vs_CompCosinesCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_CompCosinesDecl("sha/vs_CompCosines.inl", vs_CompCosines, vs_CompCosinesByteLen, vs_CompCosinesCodes);
static const plShaderDecl vs_CompCosinesDecl("sha/vs_CompCosines.inl", vs_CompCosines, vs_CompCosinesbyteLen, vs_CompCosinesCodes);
static const plShaderRegister vs_CompCosinesRegister(&vs_CompCosinesDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_GrassShaderByteLen = 500;
static const uint32_t vs_GrassShaderbyteLen = 500;
static const UInt8 vs_GrassShaderCodes[] = {
static const uint8_t vs_GrassShaderCodes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -171,7 +171,7 @@ static const UInt8 vs_GrassShaderCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_GrassShaderDecl("sha/vs_GrassShader.inl", vs_GrassShader, vs_GrassShaderByteLen, vs_GrassShaderCodes);
static const plShaderDecl vs_GrassShaderDecl("sha/vs_GrassShader.inl", vs_GrassShader, vs_GrassShaderbyteLen, vs_GrassShaderCodes);
static const plShaderRegister vs_GrassShaderRegister(&vs_GrassShaderDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_ShoreLeave6ByteLen = 1220;
static const uint32_t vs_ShoreLeave6byteLen = 1220;
static const UInt8 vs_ShoreLeave6Codes[] = {
static const uint8_t vs_ShoreLeave6Codes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -351,7 +351,7 @@ static const UInt8 vs_ShoreLeave6Codes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_ShoreLeave6Decl("sha/vs_ShoreLeave6.inl", vs_ShoreLeave6, vs_ShoreLeave6ByteLen, vs_ShoreLeave6Codes);
static const plShaderDecl vs_ShoreLeave6Decl("sha/vs_ShoreLeave6.inl", vs_ShoreLeave6, vs_ShoreLeave6byteLen, vs_ShoreLeave6Codes);
static const plShaderRegister vs_ShoreLeave6Register(&vs_ShoreLeave6Decl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_ShoreLeave7ByteLen = 972;
static const uint32_t vs_ShoreLeave7byteLen = 972;
static const UInt8 vs_ShoreLeave7Codes[] = {
static const uint8_t vs_ShoreLeave7Codes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -289,7 +289,7 @@ static const UInt8 vs_ShoreLeave7Codes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_ShoreLeave7Decl("sha/vs_ShoreLeave7.inl", vs_ShoreLeave7, vs_ShoreLeave7ByteLen, vs_ShoreLeave7Codes);
static const plShaderDecl vs_ShoreLeave7Decl("sha/vs_ShoreLeave7.inl", vs_ShoreLeave7, vs_ShoreLeave7byteLen, vs_ShoreLeave7Codes);
static const plShaderRegister vs_ShoreLeave7Register(&vs_ShoreLeave7Decl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_WaveDec1LayByteLen = 1100;
static const uint32_t vs_WaveDec1LaybyteLen = 1100;
static const UInt8 vs_WaveDec1LayCodes[] = {
static const uint8_t vs_WaveDec1LayCodes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -321,7 +321,7 @@ static const UInt8 vs_WaveDec1LayCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_WaveDec1LayDecl("sha/vs_WaveDec1Lay.inl", vs_WaveDec1Lay, vs_WaveDec1LayByteLen, vs_WaveDec1LayCodes);
static const plShaderDecl vs_WaveDec1LayDecl("sha/vs_WaveDec1Lay.inl", vs_WaveDec1Lay, vs_WaveDec1LaybyteLen, vs_WaveDec1LayCodes);
static const plShaderRegister vs_WaveDec1LayRegister(&vs_WaveDec1LayDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_WaveDec1Lay_7ByteLen = 964;
static const uint32_t vs_WaveDec1Lay_7byteLen = 964;
static const UInt8 vs_WaveDec1Lay_7Codes[] = {
static const uint8_t vs_WaveDec1Lay_7Codes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -287,7 +287,7 @@ static const UInt8 vs_WaveDec1Lay_7Codes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_WaveDec1Lay_7Decl("sha/vs_WaveDec1Lay_7.inl", vs_WaveDec1Lay_7, vs_WaveDec1Lay_7ByteLen, vs_WaveDec1Lay_7Codes);
static const plShaderDecl vs_WaveDec1Lay_7Decl("sha/vs_WaveDec1Lay_7.inl", vs_WaveDec1Lay_7, vs_WaveDec1Lay_7byteLen, vs_WaveDec1Lay_7Codes);
static const plShaderRegister vs_WaveDec1Lay_7Register(&vs_WaveDec1Lay_7Decl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_WaveDec2Lay11ByteLen = 1144;
static const uint32_t vs_WaveDec2Lay11byteLen = 1144;
static const UInt8 vs_WaveDec2Lay11Codes[] = {
static const uint8_t vs_WaveDec2Lay11Codes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -332,7 +332,7 @@ static const UInt8 vs_WaveDec2Lay11Codes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_WaveDec2Lay11Decl("sha/vs_WaveDec2Lay11.inl", vs_WaveDec2Lay11, vs_WaveDec2Lay11ByteLen, vs_WaveDec2Lay11Codes);
static const plShaderDecl vs_WaveDec2Lay11Decl("sha/vs_WaveDec2Lay11.inl", vs_WaveDec2Lay11, vs_WaveDec2Lay11byteLen, vs_WaveDec2Lay11Codes);
static const plShaderRegister vs_WaveDec2Lay11Register(&vs_WaveDec2Lay11Decl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_WaveDec2Lay11_7ByteLen = 1008;
static const uint32_t vs_WaveDec2Lay11_7byteLen = 1008;
static const UInt8 vs_WaveDec2Lay11_7Codes[] = {
static const uint8_t vs_WaveDec2Lay11_7Codes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -298,7 +298,7 @@ static const UInt8 vs_WaveDec2Lay11_7Codes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_WaveDec2Lay11_7Decl("sha/vs_WaveDec2Lay11_7.inl", vs_WaveDec2Lay11_7, vs_WaveDec2Lay11_7ByteLen, vs_WaveDec2Lay11_7Codes);
static const plShaderDecl vs_WaveDec2Lay11_7Decl("sha/vs_WaveDec2Lay11_7.inl", vs_WaveDec2Lay11_7, vs_WaveDec2Lay11_7byteLen, vs_WaveDec2Lay11_7Codes);
static const plShaderRegister vs_WaveDec2Lay11_7Register(&vs_WaveDec2Lay11_7Decl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_WaveDec2Lay12ByteLen = 1156;
static const uint32_t vs_WaveDec2Lay12byteLen = 1156;
static const UInt8 vs_WaveDec2Lay12Codes[] = {
static const uint8_t vs_WaveDec2Lay12Codes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -335,7 +335,7 @@ static const UInt8 vs_WaveDec2Lay12Codes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_WaveDec2Lay12Decl("sha/vs_WaveDec2Lay12.inl", vs_WaveDec2Lay12, vs_WaveDec2Lay12ByteLen, vs_WaveDec2Lay12Codes);
static const plShaderDecl vs_WaveDec2Lay12Decl("sha/vs_WaveDec2Lay12.inl", vs_WaveDec2Lay12, vs_WaveDec2Lay12byteLen, vs_WaveDec2Lay12Codes);
static const plShaderRegister vs_WaveDec2Lay12Register(&vs_WaveDec2Lay12Decl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_WaveDec2Lay12_7ByteLen = 1020;
static const uint32_t vs_WaveDec2Lay12_7byteLen = 1020;
static const UInt8 vs_WaveDec2Lay12_7Codes[] = {
static const uint8_t vs_WaveDec2Lay12_7Codes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -301,7 +301,7 @@ static const UInt8 vs_WaveDec2Lay12_7Codes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_WaveDec2Lay12_7Decl("sha/vs_WaveDec2Lay12_7.inl", vs_WaveDec2Lay12_7, vs_WaveDec2Lay12_7ByteLen, vs_WaveDec2Lay12_7Codes);
static const plShaderDecl vs_WaveDec2Lay12_7Decl("sha/vs_WaveDec2Lay12_7.inl", vs_WaveDec2Lay12_7, vs_WaveDec2Lay12_7byteLen, vs_WaveDec2Lay12_7Codes);
static const plShaderRegister vs_WaveDec2Lay12_7Register(&vs_WaveDec2Lay12_7Decl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_WaveDecEnvByteLen = 1616;
static const uint32_t vs_WaveDecEnvbyteLen = 1616;
static const UInt8 vs_WaveDecEnvCodes[] = {
static const uint8_t vs_WaveDecEnvCodes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -450,7 +450,7 @@ static const UInt8 vs_WaveDecEnvCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_WaveDecEnvDecl("sha/vs_WaveDecEnv.inl", vs_WaveDecEnv, vs_WaveDecEnvByteLen, vs_WaveDecEnvCodes);
static const plShaderDecl vs_WaveDecEnvDecl("sha/vs_WaveDecEnv.inl", vs_WaveDecEnv, vs_WaveDecEnvbyteLen, vs_WaveDecEnvCodes);
static const plShaderRegister vs_WaveDecEnvRegister(&vs_WaveDecEnvDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_WaveDecEnv_7ByteLen = 1752;
static const uint32_t vs_WaveDecEnv_7byteLen = 1752;
static const UInt8 vs_WaveDecEnv_7Codes[] = {
static const uint8_t vs_WaveDecEnv_7Codes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -484,7 +484,7 @@ static const UInt8 vs_WaveDecEnv_7Codes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_WaveDecEnv_7Decl("sha/vs_WaveDecEnv_7.inl", vs_WaveDecEnv_7, vs_WaveDecEnv_7ByteLen, vs_WaveDecEnv_7Codes);
static const plShaderDecl vs_WaveDecEnv_7Decl("sha/vs_WaveDecEnv_7.inl", vs_WaveDecEnv_7, vs_WaveDecEnv_7byteLen, vs_WaveDecEnv_7Codes);
static const plShaderRegister vs_WaveDecEnv_7Register(&vs_WaveDecEnv_7Decl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_WaveFixedFin6ByteLen = 1928;
static const uint32_t vs_WaveFixedFin6byteLen = 1928;
static const UInt8 vs_WaveFixedFin6Codes[] = {
static const uint8_t vs_WaveFixedFin6Codes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -528,7 +528,7 @@ static const UInt8 vs_WaveFixedFin6Codes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_WaveFixedFin6Decl("sha/vs_WaveFixedFin6.inl", vs_WaveFixedFin6, vs_WaveFixedFin6ByteLen, vs_WaveFixedFin6Codes);
static const plShaderDecl vs_WaveFixedFin6Decl("sha/vs_WaveFixedFin6.inl", vs_WaveFixedFin6, vs_WaveFixedFin6byteLen, vs_WaveFixedFin6Codes);
static const plShaderRegister vs_WaveFixedFin6Register(&vs_WaveFixedFin6Decl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_WaveFixedFin7ByteLen = 1876;
static const uint32_t vs_WaveFixedFin7byteLen = 1876;
static const UInt8 vs_WaveFixedFin7Codes[] = {
static const uint8_t vs_WaveFixedFin7Codes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -515,7 +515,7 @@ static const UInt8 vs_WaveFixedFin7Codes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_WaveFixedFin7Decl("sha/vs_WaveFixedFin7.inl", vs_WaveFixedFin7, vs_WaveFixedFin7ByteLen, vs_WaveFixedFin7Codes);
static const plShaderDecl vs_WaveFixedFin7Decl("sha/vs_WaveFixedFin7.inl", vs_WaveFixedFin7, vs_WaveFixedFin7byteLen, vs_WaveFixedFin7Codes);
static const plShaderRegister vs_WaveFixedFin7Register(&vs_WaveFixedFin7Decl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_WaveGraph2ByteLen = 608;
static const uint32_t vs_WaveGraph2byteLen = 608;
static const UInt8 vs_WaveGraph2Codes[] = {
static const uint8_t vs_WaveGraph2Codes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -198,7 +198,7 @@ static const UInt8 vs_WaveGraph2Codes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_WaveGraph2Decl("sha/vs_WaveGraph2.inl", vs_WaveGraph2, vs_WaveGraph2ByteLen, vs_WaveGraph2Codes);
static const plShaderDecl vs_WaveGraph2Decl("sha/vs_WaveGraph2.inl", vs_WaveGraph2, vs_WaveGraph2byteLen, vs_WaveGraph2Codes);
static const plShaderRegister vs_WaveGraph2Register(&vs_WaveGraph2Decl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_WaveGridFinByteLen = 1728;
static const uint32_t vs_WaveGridFinbyteLen = 1728;
static const UInt8 vs_WaveGridFinCodes[] = {
static const uint8_t vs_WaveGridFinCodes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -478,7 +478,7 @@ static const UInt8 vs_WaveGridFinCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_WaveGridFinDecl("sha/vs_WaveGridFin.inl", vs_WaveGridFin, vs_WaveGridFinByteLen, vs_WaveGridFinCodes);
static const plShaderDecl vs_WaveGridFinDecl("sha/vs_WaveGridFin.inl", vs_WaveGridFin, vs_WaveGridFinbyteLen, vs_WaveGridFinCodes);
static const plShaderRegister vs_WaveGridFinRegister(&vs_WaveGridFinDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_WaveRipByteLen = 1344;
static const uint32_t vs_WaveRipbyteLen = 1344;
static const UInt8 vs_WaveRipCodes[] = {
static const uint8_t vs_WaveRipCodes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -382,7 +382,7 @@ static const UInt8 vs_WaveRipCodes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_WaveRipDecl("sha/vs_WaveRip.inl", vs_WaveRip, vs_WaveRipByteLen, vs_WaveRipCodes);
static const plShaderDecl vs_WaveRipDecl("sha/vs_WaveRip.inl", vs_WaveRip, vs_WaveRipbyteLen, vs_WaveRipCodes);
static const plShaderRegister vs_WaveRipRegister(&vs_WaveRipDecl);

View File

@ -41,9 +41,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
static const UInt32 vs_WaveRip7ByteLen = 1208;
static const uint32_t vs_WaveRip7byteLen = 1208;
static const UInt8 vs_WaveRip7Codes[] = {
static const uint8_t vs_WaveRip7Codes[] = {
0x1, 0x1, 0xfe, 0xff,
0x1f, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x80,
@ -348,7 +348,7 @@ static const UInt8 vs_WaveRip7Codes[] = {
0xff, 0xff, 0x0, 0x0
};
static const plShaderDecl vs_WaveRip7Decl("sha/vs_WaveRip7.inl", vs_WaveRip7, vs_WaveRip7ByteLen, vs_WaveRip7Codes);
static const plShaderDecl vs_WaveRip7Decl("sha/vs_WaveRip7.inl", vs_WaveRip7, vs_WaveRip7byteLen, vs_WaveRip7Codes);
static const plShaderRegister vs_WaveRip7Register(&vs_WaveRip7Decl);