This commit is contained in:
parent
50b875d84b
commit
e9835c718d
18 changed files with 253 additions and 80 deletions
|
@ -437,6 +437,13 @@ void CCore::TileBankLoad(char *Filename)
|
|||
UpdateView(NULL);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
void CCore::TileBankDelete()
|
||||
{
|
||||
TileBank.Delete();
|
||||
UpdateView(NULL);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
void CCore::TileBankReload()
|
||||
{
|
||||
|
@ -488,6 +495,12 @@ void CCore::ActiveBrushRight(CMapEditView *View)
|
|||
UpdateView(View);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
BOOL CCore::IsTileValid(int Set,int Tile)
|
||||
{
|
||||
return(TileBank.IsTileValid(Set,Tile));
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/*** Misc ********************************************************************/
|
||||
/*****************************************************************************/
|
||||
|
@ -602,13 +615,13 @@ void CCore::ExportAGB(char *Filename)
|
|||
int LayerCount=Layer.size();
|
||||
char ExportName[256];
|
||||
|
||||
SetFileExt(Filename,ExportName,"C");
|
||||
SetFileExt(Filename,ExportName,"c");
|
||||
|
||||
CExportAGB Exp(ExportName);
|
||||
|
||||
for (int i=0;i<LayerCount;i++)
|
||||
{
|
||||
Layer[i]->Export(Exp);
|
||||
Layer[i]->Export(this,Exp);
|
||||
}
|
||||
Exp.ExportAll(this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue