diff options
author | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2005-03-25 13:33:39 +0300 |
---|---|---|
committer | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2005-03-25 13:33:39 +0300 |
commit | c844aa265ad4eb50ad0e18661470fa6092052728 (patch) | |
tree | c4a778ab1227e4266022fd076e8a0cb709badd13 /source/gameengine/GamePlayer/ghost/GPG_Application.cpp | |
parent | 3dd17cec3bcaa3885e14630e6a71a8486e9b2697 (diff) |
Big patches:
Erwin Coumans: Abstract the physics engine
Charlie C: Joystick fixes
Me: Moved the ray cast (shadows, mouse sensor & ray sensor)
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/GPG_Application.cpp')
-rw-r--r-- | source/gameengine/GamePlayer/ghost/GPG_Application.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp index a956ede0d57..52bee8e81dd 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp @@ -51,7 +51,7 @@ #include "GPG_Application.h" #include <iostream> -#include <assert.h> +#include <MT_assert.h> /********************************** * Begin Blender include block @@ -725,7 +725,7 @@ void GPG_Application::exitEngine() bool GPG_Application::handleWheel(GHOST_IEvent* event) { bool handled = false; - assert(event); + MT_assert(event); if (m_mouse) { GHOST_TEventDataPtr eventData = ((GHOST_IEvent*)event)->getData(); @@ -744,7 +744,7 @@ bool GPG_Application::handleWheel(GHOST_IEvent* event) bool GPG_Application::handleButton(GHOST_IEvent* event, bool isDown) { bool handled = false; - assert(event); + MT_assert(event); if (m_mouse) { GHOST_TEventDataPtr eventData = ((GHOST_IEvent*)event)->getData(); @@ -773,7 +773,7 @@ bool GPG_Application::handleButton(GHOST_IEvent* event, bool isDown) bool GPG_Application::handleCursorMove(GHOST_IEvent* event) { bool handled = false; - assert(event); + MT_assert(event); if (m_mouse && m_mainWindow) { GHOST_TEventDataPtr eventData = ((GHOST_IEvent*)event)->getData(); @@ -790,7 +790,7 @@ bool GPG_Application::handleCursorMove(GHOST_IEvent* event) bool GPG_Application::handleKey(GHOST_IEvent* event, bool isDown) { bool handled = false; - assert(event); + MT_assert(event); if (m_keyboard) { GHOST_TEventDataPtr eventData = ((GHOST_IEvent*)event)->getData(); |