| 23 | void CLAItem::InitDefault() { Keys[0] = 0x00000000; } |
| 24 | |
| 25 | void CLAItem::Load(IReader& F) |
| 26 | { |
| 27 | R_ASSERT(F.find_chunk(CHUNK_ITEM_COMMON)); |
| 28 | F.r_stringZ(cName); |
| 29 | def_fFPS = fFPS = F.r_float(); |
| 30 | iFrameCount = F.r_u32(); |
| 31 | |
| 32 | R_ASSERT(F.find_chunk(CHUNK_ITEM_KEYS)); |
| 33 | |
| 34 | const int key_cnt = F.r_u32(); |
| 35 | for (int i = 0; i < key_cnt; i++) |
| 36 | { |
| 37 | int key = F.r_u32(); |
| 38 | Keys[key] = F.r_u32(); |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | void CLAItem::MoveKey(int from, int to) |
| 43 | { |
nothing calls this directly
no test coverage detected