|
|
@@ -193,6 +193,7 @@ public class GameMapEdPopup : PopupWindowContent
|
|
|
ExcelEditor.RemoveExcelRows(package, gameMap.showIdent, 10, 500);
|
|
|
ExcelEditor.ModifyExcel(package, gameMap.showIdent, "D5", GameMapEditor.mapSize_w.ToString());
|
|
|
ExcelEditor.ModifyExcel(package, gameMap.showIdent, "D6", GameMapEditor.mapSize_h.ToString());
|
|
|
+ ExcelEditor.ModifyExcel(package, gameMap.showIdent, "F5", gameMap.expRatio.ToString());
|
|
|
|
|
|
int cell_row = 10;
|
|
|
float idFloat = 0f;
|
|
|
@@ -344,6 +345,7 @@ public class GameMapEdPopup : PopupWindowContent
|
|
|
ExcelEditor.RemoveExcelRows(package, gameMap.showIdent, 10, 500);
|
|
|
ExcelEditor.ModifyExcel(package, gameMap.showIdent, "D5", GameMapEditor.mapSize_w.ToString());
|
|
|
ExcelEditor.ModifyExcel(package, gameMap.showIdent, "D6", GameMapEditor.mapSize_h.ToString());
|
|
|
+ ExcelEditor.ModifyExcel(package, gameMap.showIdent, "F5", gameMap.expRatio.ToString());
|
|
|
|
|
|
int cell_row = 10;
|
|
|
int idInt = 0;
|
|
|
@@ -440,6 +442,7 @@ public class GameMapEdPopup : PopupWindowContent
|
|
|
gameMap.showIdent = gameMap.ident;
|
|
|
int.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[mapIdx - 1], "D5"), out GameMapEditor.mapSize_w);
|
|
|
int.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[mapIdx - 1], "D6"), out GameMapEditor.mapSize_h);
|
|
|
+ float.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[mapIdx - 1], "F5"), out gameMap.expRatio);
|
|
|
gameMap.Resize(GameMapEditor.mapSize_w, GameMapEditor.mapSize_h);
|
|
|
}
|
|
|
|
|
|
@@ -555,6 +558,7 @@ public class GameMapEdPopup : PopupWindowContent
|
|
|
gameMap.showIdent = gameMap.ident;
|
|
|
int.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[sheetId], "D5"), out GameMapEditor.mapSize_w);
|
|
|
int.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[sheetId], "D6"), out GameMapEditor.mapSize_h);
|
|
|
+ float.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[mapIdx - 1], "F5"), out gameMap.expRatio);
|
|
|
gameMap.Resize(GameMapEditor.mapSize_w, GameMapEditor.mapSize_h);
|
|
|
gameMap.isDynamic = true;
|
|
|
}
|