Decompile fn_01730 (ModelKeyList3::Read)
Batch #1597 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_01730 ModelKeyList3::Read: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker Reviewed-by: ragnarok-clanker
This commit is contained in:
parent
4f0d60a4a7
commit
0e94db9d83
1 changed files with 10 additions and 0 deletions
|
|
@ -71,6 +71,16 @@ struct ModelKeyList3 : std::vector<ModelRotationKey> {
|
|||
};
|
||||
|
||||
// OFFSET: 0x00541250
|
||||
// FUNCTION: fn_01730
|
||||
void ModelKeyList3::Read(CFile& file) {
|
||||
int count = 0;
|
||||
file.Read(&count, sizeof(count));
|
||||
for (int i = 0; i < count; ++i) {
|
||||
ModelRotationKey key{0, {0.0f, 0.0f, 0.0f, 1.0f}};
|
||||
file.Read(&key, sizeof(key));
|
||||
this->push_back(key);
|
||||
}
|
||||
}
|
||||
|
||||
struct ModelKeyList4 : std::vector<ModelRotationKey> {
|
||||
void Read(CFile& file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue