diff options
author | Torbjörn Andersson | 2003-12-28 15:08:12 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-12-28 15:08:12 +0000 |
commit | 6ae8218d537a2b627a0abad597d5084c796d1de8 (patch) | |
tree | 13941f5a83d4594739f665b364cb4d05154be6fc /sword2/driver/_mouse.cpp | |
parent | 302c9f72fcf76cde76a3ee467b0fe5771a5faa3f (diff) | |
download | scummvm-rg350-6ae8218d537a2b627a0abad597d5084c796d1de8.tar.gz scummvm-rg350-6ae8218d537a2b627a0abad597d5084c796d1de8.tar.bz2 scummvm-rg350-6ae8218d537a2b627a0abad597d5084c796d1de8.zip |
Hopefully the last big renaming. Now the datatypes have names like
"StandardHeader" instead of "_standardHeader".
svn-id: r11997
Diffstat (limited to 'sword2/driver/_mouse.cpp')
-rw-r--r-- | sword2/driver/_mouse.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sword2/driver/_mouse.cpp b/sword2/driver/_mouse.cpp index a53feb448c..a5743609a5 100644 --- a/sword2/driver/_mouse.cpp +++ b/sword2/driver/_mouse.cpp @@ -48,8 +48,8 @@ bool Input::checkForMouseEvents(void) { * @return a pointer to the mouse event, or NULL of there is none */ -_mouseEvent *Input::mouseEvent(void) { - _mouseEvent *me; +MouseEvent *Input::mouseEvent(void) { + MouseEvent *me; if (_mouseBacklog) { me = &_mouseLog[_mouseLogPos]; @@ -211,12 +211,12 @@ int32 Graphics::setMouseAnim(uint8 *ma, int32 size, int32 mouseFlash) { else _mouseFrame = MOUSEFLASHFRAME; - _mouseAnim = (struct _mouseAnim *) malloc(size); + _mouseAnim = (MouseAnim *) malloc(size); if (!_mouseAnim) return RDERR_OUTOFMEMORY; memcpy((uint8 *) _mouseAnim, ma, size); - _mouseOffsets = (int32 *) ((uint8 *) _mouseAnim + sizeof(struct _mouseAnim)); + _mouseOffsets = (int32 *) ((uint8 *) _mouseAnim + sizeof(MouseAnim)); animateMouse(); drawMouse(); @@ -246,12 +246,12 @@ int32 Graphics::setLuggageAnim(uint8 *ma, int32 size) { } if (ma) { - _luggageAnim = (struct _mouseAnim *) malloc(size); + _luggageAnim = (MouseAnim *) malloc(size); if (!_luggageAnim) return RDERR_OUTOFMEMORY; memcpy((uint8 *) _luggageAnim, ma, size); - _luggageOffset = (int32 *) ((uint8 *) _luggageAnim + sizeof(struct _mouseAnim)); + _luggageOffset = (int32 *) ((uint8 *) _luggageAnim + sizeof(MouseAnim)); animateMouse(); drawMouse(); |