Exemplo n.º 1
0
 /* Initialization */
 public Toner()
 {
     _loadHAnimationHook        = Fun_LoadHAnimation.Hook(LoadHAnimation).Activate();
     _loadTextureDictionaryHook = Fun_LoadTextureDictionary.Hook(LoadTextureDictionary).Activate();
     _loadClumpHook             = Fun_LoadClump.Hook(LoadClump).Activate();
     _loadSplineHook            = Fun_LoadSpline.Hook(LoadSpline).Activate();
     _loadDeltaMorphHook        = Fun_LoadDeltaMorph.Hook(LoadDeltaMorph).Activate();
     _loadWorldHook             = Fun_LoadWorld.Hook(LoadWorld).Activate();
     _loadUvAnimHook            = Fun_LoadUVAnim.Hook(LoadUvAnim).Activate();
     _loadMaestroHook           = Fun_LoadMaestro.Hook(LoadMaestro).Activate();
     _loadCameraTmbHook         = Fun_LoadCameraTmb.Hook(LoadCameraTmb).Activate();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Reads a Camera TMB (NJS_MOTION) from a specified file index in the archive.
 /// </summary>
 /// <param name="fileIndex">The index of the file inside the .ONE archive (starting with 2)</param>
 /// <param name="addressToDecompressTo">The address to which the file inside the ONE archive will be decompressed to.</param>
 /// <returns>The address containing the read in Camera TMB (NJS_MOTION *) stream.</returns>
 public void *LoadCameraTmb(int fileIndex, void *addressToDecompressTo) => Fun_LoadCameraTmb.GetWrapper()(fileIndex, addressToDecompressTo, ref this);