AGI: Renamed some #defines to our code conventions and moved them to enums
This commit is contained in:
parent
026a2c52da
commit
273e37f726
10 changed files with 182 additions and 176 deletions
|
@ -180,7 +180,7 @@ int AgiEngine::handleController(int key) {
|
|||
if (!(getFeatures() & GF_AGIMOUSE)) {
|
||||
// Handle mouse button events
|
||||
if (key == BUTTON_LEFT) {
|
||||
v->flags |= ADJ_EGO_XY;
|
||||
v->flags |= fAdjEgoXY;
|
||||
v->parm1 = WIN_TO_PIC_X(_mouse.x);
|
||||
v->parm2 = WIN_TO_PIC_Y(_mouse.y);
|
||||
return true;
|
||||
|
@ -188,7 +188,7 @@ int AgiEngine::handleController(int key) {
|
|||
}
|
||||
|
||||
if (d || key == KEY_STATIONARY) {
|
||||
v->flags &= ~ADJ_EGO_XY;
|
||||
v->flags &= ~fAdjEgoXY;
|
||||
v->direction = v->direction == d ? 0 : d;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue