| 246 | static std::vector<u32> s_cellOffsets; |
| 247 | |
| 248 | bool isUniqueCell(u32 offset) |
| 249 | { |
| 250 | const size_t count = s_cellOffsets.size(); |
| 251 | const u32* offsetList = s_cellOffsets.data(); |
| 252 | for (u32 i = 0; i < count; i++) |
| 253 | { |
| 254 | if (offsetList[i] == offset) { return false; } |
| 255 | } |
| 256 | s_cellOffsets.push_back(offset); |
| 257 | |
| 258 | return true; |
| 259 | } |
| 260 | |
| 261 | void sprite_serializeSpritesAndFrames(Stream* stream) |
| 262 | { |
no test coverage detected