mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-27 10:24:18 +00:00
Define cursor enum and custom cursor window message (#980)
* Define cursor enum and custom cursor window message * Fix param name * Remove unused header
This commit is contained in:
committed by
GitHub
parent
b67af71f33
commit
df20b05510
@@ -2,7 +2,6 @@
|
||||
|
||||
#include "3dmanager/lego3dmanager.h"
|
||||
#include "legoinputmanager.h"
|
||||
#include "legonotify.h"
|
||||
#include "legosoundmanager.h"
|
||||
#include "legovideomanager.h"
|
||||
#include "misc.h"
|
||||
@@ -109,10 +108,10 @@ void LegoCameraController::OnRButtonUp(MxPoint32 p_point)
|
||||
// FUNCTION: LEGO1 0x10012230
|
||||
void LegoCameraController::OnMouseMove(MxU8 p_modifier, MxPoint32 p_point)
|
||||
{
|
||||
if (p_modifier & c_lButtonState) {
|
||||
if (p_modifier & LegoEventNotificationParam::c_lButtonState) {
|
||||
LeftDrag(p_point.GetX(), p_point.GetY());
|
||||
}
|
||||
else if (p_modifier & c_rButtonState) {
|
||||
else if (p_modifier & LegoEventNotificationParam::c_rButtonState) {
|
||||
RightDrag(p_point.GetX(), p_point.GetY());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -766,7 +766,7 @@ MxResult LegoWorld::Tickle()
|
||||
switch (m_startupTicks) {
|
||||
case e_start:
|
||||
m_worldStarted = TRUE;
|
||||
SetAppCursor(0);
|
||||
SetAppCursor(e_cursorArrow);
|
||||
ReadyWorld();
|
||||
return TRUE;
|
||||
case e_two:
|
||||
|
||||
Reference in New Issue
Block a user