#include "P4GTMax.h"
#include "MaxUtils.h"
#include "debug.h"
UniStrBuf *Max_GetCurFilePath()
{
static UniStrBuf buff;
TSTR path = GetCOREInterface()->GetCurFilePath();
buff.Set( path.data() );
return &buff;
}
void Max_FileReset( BOOL noPrompt )
{
GetCOREInterface()->FileReset( noPrompt );
}
void Max_LoadFromFile( UniStrBuf *filename )
{
GetCOREInterface()->LoadFromFile( filename->Text() );
}
void Max_LoadFromFileUni( UniStrBuf *filename )
{
GetCOREInterface()->LoadFromFile( filename->Text() );
}
void Max_SaveToFile( UniStrBuf *filename )
{
GetCOREInterface()->SaveToFile( filename->Text() );
}
DWORD Max_Get3DSMAXVersion()
{
return Get3DSMAXVersion();
}
BOOL Max_IsSaveRequired()
{
return IsSaveRequired();
}
HWND Max_GetMAXHWnd()
{
return GetCOREInterface()->GetMAXHWnd();
}
# |
Change |
User |
Description |
Committed |
|
#1
|
10140 |
Matt Attaway |
Initial release of the P4GT source code. |
|
|