Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 336 vs 337 for /trunk/Source Code/Platform/Input/EventHandler.cpp

Diff revisions: vs.
  @@ -6,11 +6,11 @@
6 6 namespace Input {
7 7
8 8 EventHandler::EventHandler(InputInterface* pApp, Kernel* const kernel) : _kernel(kernel),
9 - _pApplication(pApp),
10 - _pJoystickInterface(nullptr),
11 - _pEffectMgr(nullptr)
9 + _pApplication(pApp),
10 + _pJoystickInterface(nullptr),
11 + _pEffectMgr(nullptr)
12 12 {
13 - DIVIDE_ASSERT(kernel != nullptr, "EventHandler error: INVALID KERNEL PASSED ON HANDLER CREATION");
13 + DIVIDE_ASSERT(kernel != nullptr, "EventHandler error: INVALID KERNEL PASSED ON HANDLER CREATION");
14 14 }
15 15
16 16 void EventHandler::initialize(JoystickInterface* pJoystickInterface, EffectManager* pEffectMgr){
  @@ -85,7 +85,7 @@
85 85 D32 dForce = mapVars["Force"]->getValue();
86 86 D32 dAttackFactor = 1.0;
87 87 if (mapVars.find("AttackFactor") != mapVars.end())
88 - dAttackFactor = mapVars["AttackFactor"]->getValue();
88 + dAttackFactor = mapVars["AttackFactor"]->getValue();
89 89
90 90 OIS::ConstantEffect* pConstForce = dynamic_cast<OIS::ConstantEffect*>(pEffect->getForceEffect());
91 91 pConstForce->level = (I16)dForce;
  @@ -101,7 +101,7 @@
101 101 pPeriodForce->period = (U32)dPeriod;
102 102 }
103 103
104 - LRESULT DlgProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ){ return FALSE; }
104 + LRESULT DlgProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ){ return FALSE; }
105 105
106 106 }; //namespace Input
107 107 }; //namespace Divide