Fixed: acs script was not complied when the map was located in the root directory.

Fixed "Snap Map Element to Grid" documentation.
This commit is contained in:
MaxED 2013-08-23 13:28:55 +00:00
parent 9080f8885c
commit 71b0d0754d
5 changed files with 4 additions and 3 deletions

View file

@ -900,7 +900,7 @@
<td>Opens the window, which lets user to change textures, which will be used in next drawing operations.</td>
</tr>
<tr>
<td><a href="features/classic_modes/mode_snapverts.html">Snap Selected Map Elements to Grid</a></td>
<td><a href="features/classic_modes/mode_snapelements.html">Snap Selected Map Elements to Grid</a></td>
<td><div align="center"></div></td>
<td><div align="center"></div></td>
<td>Snaps selected map elements to grid.</td>

View file

@ -100,7 +100,7 @@
<li><a href="classic_modes/mode_drawellipse.html">Draw Ellipse mode</a>.</li>
<li><a href="classic_modes/mode_drawcurve.html"><span class="style1"><strong>[new]</strong></span> Draw Curve mode</a>.</li>
<li><a href="classic_modes/mode_drawbridge.html">Bridge mode</a>.</li>
<li><a href="classic_modes/mode_snapverts.html">Snap vertices mode</a>.</li>
<li><a href="classic_modes/mode_snapelements.html">Snap map elements mode</a>.</li>
<li><span class="style5">[new]</span> 3D floor indication (color can be changed in <strong>Preferences -&gt; Appearance -&gt; 3D Floors</strong>, the setting can be disabled in <a href="../preferences.html#markextrafloors">Preferences</a>)
<input class="spoilerbutton" type="button" onclick="ToggleSpoiler(this);" href="javascript:void(0);" value="Show image"/>
<div style="display: none; margin: 0px; padding: 6px; border: 1px inset;"> <img src="classic_modes/3dfloor_marks.jpg" alt="" /></div>

View file

@ -104,6 +104,7 @@ namespace CodeImp.DoomBuilder.Compilers
args = args.Replace("%FS", sourcefile);
args = args.Replace("%PT", this.tempdir.FullName);
args = args.Replace("%PS", sourcedir);
args = args.Replace(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar); //mxd. This fixes include path when the map is in a root directory
// Setup process info
processinfo = new ProcessStartInfo();

View file

@ -34,7 +34,7 @@ namespace CodeImp.DoomBuilder.BuilderModes.ClassicModes
//check things
List<Thing> things = General.Map.Map.GetMarkedThings(true);
if (things.Count == 0) {
General.Interface.DisplayStatus(StatusType.Warning, "Select some map elements first!");
General.Interface.DisplayStatus(StatusType.Warning, "Select any map element first!");
base.OnCancel();
General.Editing.ChangeMode(General.Editing.PreviousStableMode.Name);
} else {