UltimateZoneBuilder/Source/Core/General/Clock.cs
MaxED 5cb573d938 GZDoom Builder 1.11:
Enhanced scripting workflow.
Thing and linedef arguments can now have default value in configuration files.
Fixed laggy visual camera movement on systems with big uptime.
Fixed incorrect alignment of Things with "hangs" flag in GZDoom Visual mode.
Fixed Editor crash when nodebuilder fails to build map. A window with error description will be shown instead.
Doom light levels were used even in maps in non-doom map format.

Tag Explorer plugin:
Elements list wasn't updated when map element was deleted.
Pugin wasn't disposed properly, which may led to Doom Builder 2 crash on map close.
Fixed plugin crash after opening another map.
Fixed unresponsive text entry in Filter text box.
Fixed plugin crash when Doom Builder can't determmine thing category ("UNKNOWN" category will be used instead).
2012-07-10 10:20:45 +00:00

49 lines
1.1 KiB
C#

#region ================== Copyright (c) 2007 Pascal vd Heiden
/*
* Copyright (c) 2007 Pascal vd Heiden, www.codeimp.com
* This program is released under GNU General Public License
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#endregion
using System;
using SlimDX;
namespace CodeImp.DoomBuilder
{
public class Clock
{
// Disposing
private bool isdisposed = false;
// Disposing
public bool IsDisposed { get { return isdisposed; } }
// Constructor
public Clock(){
// We have no destructor
GC.SuppressFinalize(this);
}
// Disposer
public void Dispose(){
// Not already disposed?
if(!isdisposed) {
isdisposed = true;
}
}
// This queries the system for the current time
public double GetCurrentTime(){
return SlimDX.Configuration.Timer.ElapsedMilliseconds;
}
}
}