コード例 #1
0
ファイル: Toner.cs プロジェクト: Sewer56/TONERR.ReloadedII
 /* 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();
 }
コード例 #2
0
ファイル: OneFile.cs プロジェクト: dreamsyntax/Heroes.SDK
 /// <summary>
 /// Reads a UVA/RW UV Animation stream from a .ONE archive. Returns address of a decompressed UVA file.
 /// </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 BSP (World) stream.</returns>
 public void *LoadWorld(int fileIndex, void *addressToDecompressTo) => Fun_LoadWorld.GetWrapper()(fileIndex, addressToDecompressTo, ref this);