| 1155 | } // namespace |
| 1156 | |
| 1157 | void load(class xBase& data, class xDynAsset& asset, unsigned long) |
| 1158 | { |
| 1159 | xBaseInit(&data, &asset); |
| 1160 | hook_type& hook = (hook_type&)data; |
| 1161 | hook.asset = (hook_asset*)&asset; |
| 1162 | if (hook.linkCount != 0) |
| 1163 | { |
| 1164 | hook.link = (xLinkAsset*)(hook.asset + 1); |
| 1165 | } |
| 1166 | hook.ent = (xEnt*)zSceneFindObject(hook.asset->entity); |
| 1167 | } |
| 1168 | |
| 1169 | void load_settings(xIniFile& ini) |
| 1170 | { |
no test coverage detected