mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Convert custom HeadSpin integer types to standard types from stdint.h
This commit is contained in:
@ -92,28 +92,28 @@ protected:
|
||||
plDrawableSpans* fProxyDraw;
|
||||
hsGMaterial* fProxyMat;
|
||||
|
||||
UInt32 fProxyMsgType;
|
||||
uint32_t fProxyMsgType;
|
||||
|
||||
hsTArray<UInt32> fProxyIndex;
|
||||
hsTArray<uint32_t> fProxyIndex;
|
||||
|
||||
// These must be implemented by the specific type, so we know what to draw.
|
||||
virtual plDrawableSpans* ICreateProxy(hsGMaterial* mat, hsTArray<UInt32>& idx, plDrawableSpans* addTo=nil) = 0; // called by IGenerate
|
||||
virtual plDrawableSpans* ICreateProxy(hsGMaterial* mat, hsTArray<uint32_t>& idx, plDrawableSpans* addTo=nil) = 0; // called by IGenerate
|
||||
virtual plKey IGetNode() const = 0;
|
||||
|
||||
// Derived type should set fProxyMsgType as one of plProxyDrawMsg::types
|
||||
UInt32 IGetProxyMsgType() const { return fProxyMsgType; }
|
||||
uint32_t IGetProxyMsgType() const { return fProxyMsgType; }
|
||||
|
||||
// These are all fine by default.
|
||||
UInt32 IGetProxyIndex() const;
|
||||
UInt32 IGetDrawableType() const;
|
||||
uint32_t IGetProxyIndex() const;
|
||||
uint32_t IGetDrawableType() const;
|
||||
|
||||
virtual hsGMaterial* IMakeProxyMaterial() const;
|
||||
virtual hsGMaterial* IGetProxyMaterial() const; // will make material if needed.
|
||||
hsGMaterial* IFindProxyMaterial() const;
|
||||
|
||||
virtual void IGenerateProxy();
|
||||
virtual void IApplyProxy(UInt32 drawIdx) const; // called by IGenerate
|
||||
virtual void IRemoveProxy(UInt32 drawIdx) const;
|
||||
virtual void IApplyProxy(uint32_t drawIdx) const; // called by IGenerate
|
||||
virtual void IRemoveProxy(uint32_t drawIdx) const;
|
||||
virtual void IDestroyProxy();
|
||||
public:
|
||||
plProxyGen(const hsColorRGBA& amb, const hsColorRGBA& dif, hsScalar opac);
|
||||
|
Reference in New Issue
Block a user