|
@@ -342,7 +342,6 @@ public class GameMapEdPopup : PopupWindowContent
|
|
|
ExcelEditor.RemoveExcelRows(package, gameMap.showIdent, 10, 500);
|
|
ExcelEditor.RemoveExcelRows(package, gameMap.showIdent, 10, 500);
|
|
|
ExcelEditor.ModifyExcel(package, gameMap.showIdent, "D5", GameMapEditor.mapSize_w.ToString());
|
|
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, "D6", GameMapEditor.mapSize_h.ToString());
|
|
|
- ExcelEditor.ModifyExcel(package, gameMap.showIdent, "F5", gameMap.expRatio.ToString());
|
|
|
|
|
|
|
|
|
|
int cell_row = 10;
|
|
int cell_row = 10;
|
|
|
int idInt = 0;
|
|
int idInt = 0;
|
|
@@ -552,7 +551,6 @@ public class GameMapEdPopup : PopupWindowContent
|
|
|
gameMap.showIdent = gameMap.ident;
|
|
gameMap.showIdent = gameMap.ident;
|
|
|
int.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[sheetId], "D5"), out GameMapEditor.mapSize_w);
|
|
int.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[sheetId], "D5"), out GameMapEditor.mapSize_w);
|
|
|
int.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[sheetId], "D6"), out GameMapEditor.mapSize_h);
|
|
int.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[sheetId], "D6"), out GameMapEditor.mapSize_h);
|
|
|
- float.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[mapIdx], "F5"), out gameMap.expRatio);
|
|
|
|
|
gameMap.Resize(GameMapEditor.mapSize_w, GameMapEditor.mapSize_h);
|
|
gameMap.Resize(GameMapEditor.mapSize_w, GameMapEditor.mapSize_h);
|
|
|
gameMap.isDynamic = true;
|
|
gameMap.isDynamic = true;
|
|
|
}
|
|
}
|