mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-18 07:59:21 +00:00
CParticleObject done, cDMAudio done
This commit is contained in:
parent
7ed494906a
commit
6093d855b0
17 changed files with 1927 additions and 232 deletions
|
@ -118,6 +118,15 @@ public:
|
|||
|
||||
CRGBA(void) { }
|
||||
CRGBA(uint8 r, uint8 g, uint8 b, uint8 a) : r(r), g(g), b(b), a(a) { }
|
||||
|
||||
CRGBA &CRGBA::operator =(const CRGBA &right)
|
||||
{
|
||||
this->r = right.r;
|
||||
this->g = right.g;
|
||||
this->b = right.b;
|
||||
this->a = right.a;
|
||||
return *this;
|
||||
}
|
||||
#ifdef RWCORE_H
|
||||
operator RwRGBA &(void) {
|
||||
return rwRGBA;
|
||||
|
@ -130,6 +139,15 @@ public:
|
|||
operator RwRGBA (void) const {
|
||||
return rwRGBA;
|
||||
}
|
||||
|
||||
CRGBA &CRGBA::operator =(const RwRGBA &right)
|
||||
{
|
||||
this->r = right.red;
|
||||
this->g = right.green;
|
||||
this->b = right.blue;
|
||||
this->a = right.alpha;
|
||||
return *this;
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue