Objects Compiled
This commit is contained in:
parent
ba95747ef9
commit
64e1f78739
52 changed files with 384 additions and 370 deletions
|
|
@ -37,12 +37,12 @@ static alni save_size(ColorObject* self) {
|
|||
return sizeof(tp::RGBA);
|
||||
}
|
||||
|
||||
static void save(ColorObject* self, Archiver& file_self) {
|
||||
file_self.write<tp::RGBA>(&self->mCol);
|
||||
static void save(ColorObject* self, ArchiverOut& file_self) {
|
||||
file_self << self->mCol;
|
||||
}
|
||||
|
||||
static void load(Archiver& file_self, ColorObject* self) {
|
||||
file_self.read<tp::RGBA>(&self->mCol);
|
||||
static void load(ArchiverIn& file_self, ColorObject* self) {
|
||||
file_self >> self->mCol;
|
||||
}
|
||||
|
||||
struct ObjectTypeConversions ColorObjectTypeConversions = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue