Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-03-17 | ALL: Use GCC_ATLEAST(). | Christoph Mallon | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-10 | COMMON: Always prefer GCC 4.x versions of READ_UINT*/WRITE_UINT* | Max Horn | |
In addition, we use them if in GCC >= 3.3 if unaligned access is possible. The GCC variants of these macros also contain protection against overzealous compilers' static aliasing optimizations. | |||
2011-05-09 | COMMON: Tweak some comments | Max Horn | |
2011-04-12 | COMMON: Let MKTAG always return an uint32 | Max Horn | |
2011-04-12 | COMMON: Use correct MKTAG definition, stupid | Max Horn | |
2011-04-12 | COMMON: Replace MKID_BE by MKTAG | Max Horn | |
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro. | |||
2010-09-01 | COMMON: changed read/write endian function to use __may_alias__ attribute | Yotam Barnoy | |
This is a better solution for the gcc aliasing problem that happens when aliasing a struct onto something else. What happens is that the compiler assumes no aliasing can happen when -O2 and -O3 are activated, and a call to READ_UINT32() followed by WRITE_UINT32() and another READ_UINT32() will be optimized to return the original read value instead of re-reading. svn-id: r52480 | |||
2010-01-25 | Strip trailing spaces/tabs. | Johannes Schickel | |
svn-id: r47541 | |||
2009-09-11 | Slightly modified version of Patch #2838562: Improve endian.h and stream.h | Max Horn | |
svn-id: r44027 | |||
2009-08-24 | reverting changes from patch 43696 that shouldnt have been committed | Norbert Lange | |
svn-id: r43697 | |||
2009-08-24 | Enable alternative palettse for Amiga Monkey Island - Patch ID: 2819787 | Norbert Lange | |
use tables for palette colors instead of code with constants svn-id: r43696 | |||
2008-01-27 | Removed trailing spaces. | Jordi Vilalta Prat | |
svn-id: r30664 | |||
2007-05-30 | Updated legal headers in source files, based on what Pidgin (the IM client ↵ | Max Horn | |
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024 | |||
2007-04-28 | Double-invert the logic on some big/little endian checks (the idea is that ↵ | Max Horn | |
we want to fallback to safe code unless we definitely know no endian/alignment issues are in the way; this way it will work even if the endianess is unknown) svn-id: r26649 | |||
2006-11-12 | Slighty modified Patch #1571787: "Support for Mac Broken Sword 1". sword1macdemo | Eugene Sandulenko | |
target was commented out until existence of the demo is confirmed. svn-id: r24697 | |||
2006-04-15 | cleanup | Max Horn | |
svn-id: r21919 | |||
2006-02-25 | Removed the obsolete MKID macro; added some doxygen comments, in particular ↵ | Max Horn | |
for MKID_BE svn-id: r20873 | |||
2006-02-25 | Removed the (useless and confusing) PROTO_MKID_BE macro | Max Horn | |
svn-id: r20860 | |||
2006-02-11 | Change CVS keywords to SVN keywords | Max Horn | |
svn-id: r20510 | |||
2006-01-18 | Update copyright notice | Eugene Sandulenko | |
svn-id: r20088 | |||
2005-10-18 | Update FSF address. Eek. Actually that took place on May 1, 2005 | Eugene Sandulenko | |
svn-id: r19142 | |||
2005-10-11 | Added WRITE_UINT16() and WRITE_UINT32() as well. | Torbjörn Andersson | |
svn-id: r19019 | |||
2005-10-11 | Added READ_UINT16(). It looks like SAGA will need it. | Torbjörn Andersson | |
svn-id: r19018 | |||
2005-07-30 | Remove trailing whitespaces. | Eugene Sandulenko | |
svn-id: r18604 | |||
2005-06-23 | Moved endian macros to a separate header file | Max Horn | |
svn-id: r18441 |