aboutsummaryrefslogtreecommitdiff
path: root/saga/interface.h
diff options
context:
space:
mode:
authorEugene Sandulenko2004-10-07 23:26:41 +0000
committerEugene Sandulenko2004-10-07 23:26:41 +0000
commitbf905b2eeb256eeaa8ac216abe5ca0bcc4ee422e (patch)
tree3c7e69340b2597924637cf3684018dbe50ee1529 /saga/interface.h
parent4dc49e713b04137a4242ee64b901713e4ff43136 (diff)
downloadscummvm-rg350-bf905b2eeb256eeaa8ac216abe5ca0bcc4ee422e.tar.gz
scummvm-rg350-bf905b2eeb256eeaa8ac216abe5ca0bcc4ee422e.tar.bz2
scummvm-rg350-bf905b2eeb256eeaa8ac216abe5ca0bcc4ee422e.zip
More de-C'fying. Pass Point object instead of direct reference.
svn-id: r15458
Diffstat (limited to 'saga/interface.h')
-rw-r--r--saga/interface.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/saga/interface.h b/saga/interface.h
index 59915055df..300ed951c2 100644
--- a/saga/interface.h
+++ b/saga/interface.h
@@ -160,16 +160,16 @@ class Interface {
int deactivate();
int setStatusText(const char *new_txt);
int draw();
- int update(Point *imouse_pt, int update_flag);
+ int update(Point imousePt, int update_flag);
private:
- int hitTest(Point *imouse_pt, int *ibutton);
+ int hitTest(Point imousePt, int *ibutton);
int drawStatusBar(R_SURFACE *ds);
- int handleCommandUpdate(R_SURFACE *ds, Point *imouse_pt);
- int handleCommandClick(R_SURFACE *ds, Point *imouse_pt);
- int handlePlayfieldUpdate(R_SURFACE *ds, Point *imouse_pt);
- int handlePlayfieldClick(R_SURFACE *ds, Point *imouse_pt);
+ int handleCommandUpdate(R_SURFACE *ds, Point imousePt);
+ int handleCommandClick(R_SURFACE *ds, Point imousePt);
+ int handlePlayfieldUpdate(R_SURFACE *ds, Point imousePt);
+ int handlePlayfieldClick(R_SURFACE *ds, Point imousePt);
private:
SagaEngine *_vm;