Jump to content

SADX Mod Loader: Difference between revisions

From SA Docs
No edit summary
No edit summary
 
Line 6: Line 6:
== Struct ==
== Struct ==
Below is the initialized version of the HelperFunctions struct. For the definition of the struct, you can find that in [https://github.com/X-Hax/sadx-mod-loader/blob/master/SADXModLoader/include/SADXModInfo.h SADXModInfo.h]
Below is the initialized version of the HelperFunctions struct. For the definition of the struct, you can find that in [https://github.com/X-Hax/sadx-mod-loader/blob/master/SADXModLoader/include/SADXModInfo.h SADXModInfo.h]
{{Documentation|header=HelperFunctions|content=
{{DocHeader|header=HelperFunctions|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
HelperFunctions helperFunctions =
HelperFunctions helperFunctions =
Line 63: Line 63:


{{Note|text=Please be aware that all examples on this page will be using <code>helperFunctions</code> which is how the variable is sent to a mod.|type=info}}
{{Note|text=Please be aware that all examples on this page will be using <code>helperFunctions</code> which is how the variable is sent to a mod.|type=info}}
== Properties ==
== Properties ==


Line 72: Line 71:


This returns the version of the mod loader. This can be used to check if the user has an old version of the mod loader that may not have functionality your mod requires.
This returns the version of the mod loader. This can be used to check if the user has an old version of the mod loader that may not have functionality your mod requires.
{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
if (helperFunctions.ModLoaderVer <= 10)
if (helperFunctions.ModLoaderVer <= 10)
Line 84: Line 83:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 95: Line 94:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 106: Line 105:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
== Functions ==
== Functions ==


Line 120: Line 118:


Registers a new Start Position for the specified character.
Registers a new Start Position for the specified character.
{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
StartPosition myStageStartPos = {  
StartPosition myStageStartPos = {  
Line 142: Line 140:


Clears the Start Positions for the specified character.  
Clears the Start Positions for the specified character.  
{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
// Running this inside of your mod's Init export would
// Running this inside of your mod's Init export would
Line 155: Line 153:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 166: Line 164:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 177: Line 175:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 188: Line 186:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 199: Line 197:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 210: Line 208:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 221: Line 219:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 232: Line 230:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 243: Line 241:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 254: Line 252:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 265: Line 263:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 276: Line 274:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 287: Line 285:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 298: Line 296:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 309: Line 307:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 320: Line 318:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 331: Line 329:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 342: Line 340:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 353: Line 351:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 364: Line 362:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 375: Line 373:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 386: Line 384:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 397: Line 395:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 408: Line 406:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 419: Line 417:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 430: Line 428:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 441: Line 439:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 452: Line 450:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 463: Line 461:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 474: Line 472:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 485: Line 483:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 496: Line 494:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 507: Line 505:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 518: Line 516:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 529: Line 527:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 540: Line 538:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 551: Line 549:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 562: Line 560:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 573: Line 571:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 584: Line 582:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 595: Line 593:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 606: Line 604:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 617: Line 615:
</syntaxhighlight>
</syntaxhighlight>


{{Documentation|header=Example|content=
{{DocHeader|header=Example|content=
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
 
// TODO: Write example.
</syntaxhighlight>
</syntaxhighlight>
}}
}}

Latest revision as of 18:04, 8 October 2025

Source Code


HelperFunctions API

Struct

Below is the initialized version of the HelperFunctions struct. For the definition of the struct, you can find that in SADXModInfo.h

HelperFunctions

HelperFunctions helperFunctions =
{
	ModLoaderVer,
	&RegisterStartPosition,
	&ClearStartPositionList,
	&RegisterFieldStartPosition,
	&ClearFieldStartPositionList,
	&RegisterPathList,
	&ClearPathListList,
	&RegisterCharacterPVM,
	&ClearCharacterPVMList,
	&RegisterCommonObjectPVM,
	&ClearCommonObjectPVMList,
	&RegisterTrialLevel,
	&ClearTrialLevelList,
	&RegisterTrialSubgame,
	&ClearTrialSubgameList,
	&GetMainSavePath,
	&GetChaoSavePath,
	&GetReplaceablePath,
	&_ReplaceFile,
	&SetWindowTitle,
	&RegisterSoundList,
	&RegisterMusicFile,
	&LoadEXEData,
	&LoadDLLData,
	&_ReplaceFileForce,
	&PushScaleUI,
	&PopScaleUI,
	&SetScaleFillMode,
	&GetScaleFillMode,
	&ReplaceTexture,
	&MipmapBlacklistGBIX,
	&RegisterEnglishVoiceDuration,
	&RegisterJapaneseVoiceDuration,
	&RegisterCharacterWelds,
	&loaderSettings,
	&modList,
	&weightFuncs,
	&RegisterVoice,
	&PushInterpolationFix,
	&PopInterpolationFix,
	&RegisterPermanentTexlist,
	&ExpandPVMList,
	&UnreplaceFile,
	&PrintDebugUnicode,
	&PrintDebugLocal,
	&PrintDebugCodepage,
	&GetFileModIndex,
	&ReplaceFileAtIndex
};


  Please be aware that all examples on this page will be using helperFunctions which is how the variable is sent to a mod.

Properties

Mod Loader Version

int ModLoaderVer;

This returns the version of the mod loader. This can be used to check if the user has an old version of the mod loader that may not have functionality your mod requires.

Example

if (helperFunctions.ModLoaderVer <= 10)
    PrintDebug("This Mod Loader is way out of date.\n");


Mod Loader Settings

LoaderSettings loaderSettings;


Example

// TODO: Write example.


Mod List

std::vector<Mod> modlist;


Example

// TODO: Write example.


Weight Functions

BasicWeightFuncs weightFuncs;


Example

// TODO: Write example.

Functions

Register Start Position

static void RegisterStartPosition(unsigned char character, const StartPosition& position)

Registers a new Start Position for the specified character.

Example

StartPosition myStageStartPos = { 
    1,                          // Level ID 
    0,                          // Act ID
    { 100.0f, 200.0f, 100.0f }, // Position
    0                           // Y Rotation
};

// We pass our StagePosition variable as a pointer to this function
// and we have specified Sonic, so the level for this ID would now use
// our StartPosition instead of the original.
helperFunctions.RegisterStartPosition(Characters_Sonic, &myStageStartPos);


Clear Start Position List

static void ClearStartPositionList(unsigned char character)

Clears the Start Positions for the specified character.

Example

// Running this inside of your mod's Init export would
// clear all of Sonic's Start Positions for his stages.
helperFunctions.ClearStartPositionList(Characters_Sonic);


Register Field Position

static void RegisterFieldStartPosition(unsigned char character, const FieldStartPosition& position)


Example

// TODO: Write example.


Clear Field Start Position List

static void ClearFieldStartPositionList(unsigned char character)


Example

// TODO: Write example.


Register Path List

static void RegisterPathList(const PathDataPtr& paths)


Example

// TODO: Write example.


Clear Path List List

static void ClearPathListList()


Example

// TODO: Write example.


Register Character PVM

static void RegisterCharacterPVM(unsigned char character, const PVMEntry& pvm)


Example

// TODO: Write example.


Clear Character PVM List

static void ClearCharacterPVMList(unsigned char character)


Example

// TODO: Write example.


Register Common Object PVM

static void RegisterCommonObjectPVM(const PVMEntry& pvm)


Example

// TODO: Write example.


Clear Common Object PVM List

static void ClearCommonObjectPVMList()


Example

// TODO: Write example.


Register Trial Level

static void RegisterTrialLevel(unsigned char character, const TrialLevelListEntry& level)


Example

// TODO: Write example.


Clear Trial Level List

static void ClearTrialLevelList(unsigned char character)


Example

// TODO: Write example.


Register Trial Subgame

static void RegisterTrialSubgame(unsigned char character, const TrialLevelListEntry& level)


Example

// TODO: Write example.


Clear Trial Subgame List

static void ClearTrialSubgameList(unsigned char character)


Example

// TODO: Write example.


Get Main Save Path

static const char* GetMainSavePath()


Example

// TODO: Write example.


Get Chao Save Path

static const char* GetChaoSavePath()


Example

// TODO: Write example.


Get Replaceable Path

const char* __cdecl GetReplaceablePath(const char* path)


Example

// TODO: Write example.


Replace File

void _ReplaceFile(const char* src, const char* dst)


Example

// TODO: Write example.


Set Window Title

void SetWindowTitle(const char* title)


Example

// TODO: Write example.


Register Sound List

int RegisterSoundList(const SoundList& list)


Example

// TODO: Write example.


Register Music File

int RegisterMusicFile(const MusicInfo& track)


Example

// TODO: Write example.


Load EXE Data

void LoadEXEData(const wchar_t* filename, const wchar_t* mod_dir)


Example

// TODO: Write example.


Load DLL Data

void LoadDLLData(const wchar_t* filename, const wchar_t* mod_dir)


Example

// TODO: Write example.


Replace File Force

void _ReplaceFileForce(const char* src, const char* dst)


Example

// TODO: Write example.


Push Scale UI

void PushScaleUI(uiscale::Align align, bool is_background, float ratio_h, float ratio_v)


Example

// TODO: Write example.


Pop Scale UI

void PopScaleUI()


Example

// TODO: Write example.


Set Scale Fill Mode

void SetScaleFillMode(uiscale::FillMode mode)


Example

// TODO: Write example.


Get Scale Fill Mode

uiscale::FillMode GetScaleFillMode()


Example

// TODO: Write example.


Replace Texture

void ReplaceTexture(const char* pvm_name, const char* tex_name, const char* file_path, uint32_t gbix, uint32_t width, uint32_t height)


Example

// TODO: Write example.


Mipmap Blacklist GBIX

void MipmapBlacklistGBIX(Uint32 index)


Example

// TODO: Write example.


Register English Voice Duration

void RegisterEnglishVoiceDuration(const uint16_t voiceID, const uint16_t duration)


Example

// TODO: Write example.


Register Japanese Voice Duration

void RegisterJapaneseVoiceDuration(const uint16_t voiceID, const uint16_t duration)


Example

// TODO: Write example.


Register Character Welds

void RegisterCharacterWelds(const uint8_t character, const char* iniPath)


Example

// TODO: Write example.


Register Voice

uint16_t RegisterVoice(const char* fileJP, const char* fileEN, uint16_t durationJP, uint16_t durationEN)


Example

// TODO: Write example.


Push Interpolation Fix

void PushInterpolationFix()


Example

// TODO: Write example.


Pop Interpolation Fix

void PopInterpolationFix()


Example

// TODO: Write example.


Register Permanent Texlist

void RegisterPermanentTexlist(NJS_TEXLIST* texlist)


Example

// TODO: Write example.


Unreplace File

void UnreplaceFile(const char* file)


Example

// TODO: Write example.


Expand PVM List

TEX_PVMTABLE* ExpandPVMList(TEX_PVMTABLE* sourcepvmlist, const TEX_PVMTABLE &newpvmentry)


Example

// TODO: Write example.


Unreplace File

void UnreplaceFile(const char* file)


Example

// TODO: Write example.


void PrintDebugUnicode(char* utf8)


Example

// TODO: Write example.


void PrintDebugLocal(char* buf)


Example

// TODO: Write example.


void PrintDebugCodepage(char* buf, unsigned int source_cp)


Example

// TODO: Write example.


Get File Mod Index

int GetFileModIndex(const char* path)


Example

// TODO: Write example.


Replace File At Index

void ReplaceFileAtIndex(const char* src, const char* dst, int modIndex)


Example

// TODO: Write example.