mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-18 10:01:48 +00:00
new map also needs a temp file
This commit is contained in:
parent
4f3b9f74eb
commit
c8e83ee169
2 changed files with 7 additions and 4 deletions
|
@ -3,12 +3,12 @@ shortcuts
|
||||||
{
|
{
|
||||||
scrolleast = 39;
|
scrolleast = 39;
|
||||||
scrollsouth = 40;
|
scrollsouth = 40;
|
||||||
zoomout = 65531;
|
|
||||||
scrollnorth = 38;
|
scrollnorth = 38;
|
||||||
|
openmap = 131151;
|
||||||
scrollwest = 37;
|
scrollwest = 37;
|
||||||
newmap = 131150;
|
newmap = 131150;
|
||||||
zoomin = 65530;
|
zoomin = 65530;
|
||||||
openmap = 131151;
|
zoomout = 65531;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@ mainwindow
|
||||||
{
|
{
|
||||||
positionx = 124;
|
positionx = 124;
|
||||||
sizewidth = 739;
|
sizewidth = 739;
|
||||||
windowstate = 2;
|
|
||||||
sizeheight = 572;
|
sizeheight = 572;
|
||||||
|
windowstate = 2;
|
||||||
positiony = 35;
|
positiony = 35;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ namespace CodeImp.DoomBuilder
|
||||||
|
|
||||||
#region ================== Constructor / Disposer
|
#region ================== Constructor / Disposer
|
||||||
|
|
||||||
// Constructor for new map
|
// Constructor
|
||||||
public MapManager()
|
public MapManager()
|
||||||
{
|
{
|
||||||
// We have no destructor
|
// We have no destructor
|
||||||
|
@ -126,6 +126,9 @@ namespace CodeImp.DoomBuilder
|
||||||
config = General.LoadGameConfiguration(options.ConfigFile);
|
config = General.LoadGameConfiguration(options.ConfigFile);
|
||||||
data = new MapSet();
|
data = new MapSet();
|
||||||
|
|
||||||
|
// Create temp wadfile
|
||||||
|
tempwad = new WAD(General.MakeTempFilename());
|
||||||
|
|
||||||
// Initiate graphics
|
// Initiate graphics
|
||||||
if(!graphics.Initialize()) return false;
|
if(!graphics.Initialize()) return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue