diff options
author | Ludvig Strigeus | 2001-11-06 20:00:47 +0000 |
---|---|---|
committer | Ludvig Strigeus | 2001-11-06 20:00:47 +0000 |
commit | 097f76ae00bd80cb6886673d45749aad95733771 (patch) | |
tree | 957f2e1a341916d5a9e85d152cabc10af2cf906c /scummsys.h | |
parent | 63c86a496ae2923022cc05d2f999aba9e3fd1a3d (diff) | |
download | scummvm-rg350-097f76ae00bd80cb6886673d45749aad95733771.tar.gz scummvm-rg350-097f76ae00bd80cb6886673d45749aad95733771.tar.bz2 scummvm-rg350-097f76ae00bd80cb6886673d45749aad95733771.zip |
full screen flag,
better mouse cursors,
removed change log from individual files
svn-id: r3462
Diffstat (limited to 'scummsys.h')
-rw-r--r-- | scummsys.h | 43 |
1 files changed, 7 insertions, 36 deletions
diff --git a/scummsys.h b/scummsys.h index 0a6fa1dee6..ecb8624065 100644 --- a/scummsys.h +++ b/scummsys.h @@ -15,36 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * Change Log: - * $Log$ - * Revision 1.8 2001/11/06 10:34:48 cmatsuoka - * Added missing missing/sys files. - * - * Revision 1.7 2001/11/05 19:21:49 strigeus - * bug fixes, - * speech in dott - * - * Revision 1.6 2001/11/03 06:33:29 cmatsuoka - * Protecting VC++-specific pragmas with ifdef _MSC_VER to allow - * a clean Cygwin build. - * - * Revision 1.5 2001/10/23 19:51:50 strigeus - * recompile not needed when switching games - * debugger skeleton implemented - * - * Revision 1.4 2001/10/16 10:01:47 strigeus - * preliminary DOTT support - * - * Revision 1.3 2001/10/09 18:35:02 strigeus - * fixed object parent bug - * fixed some signed/unsigned comparisons - * - * Revision 1.2 2001/10/09 17:38:20 strigeus - * Autodetection of endianness. - * - * Revision 1.1.1.1 2001/10/09 14:30:14 strigeus - * initial revision - * + * $Header$ * */ @@ -131,16 +102,16 @@ typedef signed long int32; #define MKID(a) ((((a)>>24)&0xFF) | (((a)>>8)&0xFF00) | (((a)<<8)&0xFF0000) | (((a)<<24)&0xFF000000)) #if defined(SCUMM_NEED_ALIGNMENT) - int FORCEINLINE READ_LE_UINT16(void *ptr) { + uint FORCEINLINE READ_LE_UINT16(void *ptr) { return (((byte*)ptr)[1]<<8)|((byte*)ptr)[0]; } #else - int FORCEINLINE READ_LE_UINT16(void *ptr) { + uint FORCEINLINE READ_LE_UINT16(void *ptr) { return *(uint16*)(ptr); } #endif -int FORCEINLINE READ_BE_UINT16(void *ptr) { +uint FORCEINLINE READ_BE_UINT16(void *ptr) { return (((byte*)ptr)[0]<<8)|((byte*)ptr)[1]; } @@ -197,16 +168,16 @@ uint32 FORCEINLINE READ_BE_UINT32(void *ptr) { return *(uint32*)(ptr); } -int FORCEINLINE READ_LE_UINT16(void *ptr) { +uint FORCEINLINE READ_LE_UINT16(void *ptr) { byte *b = (byte*)ptr; return (b[1]<<8) + b[0]; } -int FORCEINLINE READ_BE_UINT16(void *ptr) { +uint FORCEINLINE READ_BE_UINT16(void *ptr) { return *(uint16*)(ptr); } -int FORCEINLINE READ_BE_UINT16_UNALIGNED(void *ptr) { +uint FORCEINLINE READ_BE_UINT16_UNALIGNED(void *ptr) { return (((byte*)ptr)[0]<<8)|((byte*)ptr)[1]; } |