fix TORQUE_TOOLS = off compilation

This commit is contained in:
AzaezelX 2022-06-13 12:38:08 -05:00
parent 9836f6eb30
commit 4a7104e5ea
38 changed files with 80 additions and 56 deletions

View file

@ -20,6 +20,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
//-----------------------------------------------------------------------------
#ifdef TORQUE_TOOLS
#include "VPathEditor.h"
#include "console/consoleTypes.h"
@ -2188,3 +2189,4 @@ F32 Utility::GetYaw( const VectorF &pVec )
return yaw;
}
#endif

View file

@ -22,7 +22,7 @@
//-----------------------------------------------------------------------------
#ifndef _VT_VPATHEDITOR_H_
#define _VT_VPATHEDITOR_H_
#ifdef TORQUE_TOOLS
#ifndef _EDITTSCTRL_H_
#include "gui/worldEditor/editTSCtrl.h"
#endif
@ -291,5 +291,5 @@ namespace Utility
};
//-----------------------------------------------------------------------------
#endif
#endif // _VT_VPATHEDITOR_H_