| 898 | } |
| 899 | |
| 900 | void LoadLighting(LoadHelper *file, Light *pLight) |
| 901 | { |
| 902 | pLight->position.tile.x = file->NextLE<int32_t>(); |
| 903 | pLight->position.tile.y = file->NextLE<int32_t>(); |
| 904 | pLight->radius = file->NextLE<int32_t>(); |
| 905 | file->Skip<int32_t>(); // _lid |
| 906 | pLight->isInvalid = file->NextBool32(); |
| 907 | pLight->hasChanged = file->NextBool32(); |
| 908 | file->Skip(4); // Unused |
| 909 | pLight->position.old.x = file->NextLE<int32_t>(); |
| 910 | pLight->position.old.y = file->NextLE<int32_t>(); |
| 911 | pLight->oldRadius = file->NextLE<int32_t>(); |
| 912 | pLight->position.offset.deltaX = file->NextLE<int32_t>(); |
| 913 | pLight->position.offset.deltaY = file->NextLE<int32_t>(); |
| 914 | file->Skip<uint32_t>(); // _lflags |
| 915 | } |
| 916 | |
| 917 | void LoadPortal(LoadHelper *file, int i) |
| 918 | { |
no test coverage detected