aboutsummaryrefslogtreecommitdiff
path: root/common/scummsys.h
AgeCommit message (Collapse)Author
2011-05-09N64: Remove (u)int64 typedefs from common/scummsys.hMax Horn
2011-05-02ALL: Mark printf and various other symbols as forbiddenMax Horn
Right now, a few places in the frontend code still use printf and consorts. We mark the affected files with a FIXME for now, and add a dedicated exception for each. To be fixed! Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always enforce a compiler error
2011-04-12COMMON: Drop totally obsolete & outdated DEC C++ 'support'Max Horn
2011-03-19COMMON: Removed custom PI define (M_PI should be used instead)md5
2011-03-19COMMON: Enable math constants under Visual Studiomd5
2011-02-10CONFIGURE: Add basic support for ICC.Johannes Schickel
svn-id: r55862
2010-11-19COMMON: Use user include instead of system include to remove lots of ↵Lars Persson
compiler warnings for symbian svn-id: r54371
2010-10-30ALL: Add code to help stop people from accidentally using "bad" APIsMax Horn
A new header file common/forbidden.h is included by scummsys.h and it re-#defines numerous symbols like fopen(), fread(), system(), etc. with garbage, in order to provoke compile errors in any code using them. If a .cpp file really *must* use any of these (e.g. because it is a backend file), then these redefinitions can be disabled by #defining FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever this is done, an explanatory comment should be added. Note that this system cannot catch all "bad" usages (notably the Lua code in the sword25 engine), as it can only work if scummsys.h is included. svn-id: r53961
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-09-20PSP: switch from wrapping memcpy to defining our own memcpyYotam Barnoy
The advantage is that we get to do inlining and even use lwl and lwr instructions where appropriate. We have to do it ourselves because the PSP doesn't tolerate built-in instructions, but also we have a more efficient memcpy than the lib's. svn-id: r52817
2010-08-19DINGOO: new port. Patch #3039277Eugene Sandulenko
svn-id: r52210
2010-07-17Remove PalmOS portMax Horn
svn-id: r50964
2009-12-30Add Nintendo 64 port to trunk.Fabio Battaglia
svn-id: r46773
2009-11-29COMMON: Replace NORETURN by NORETURN_PRE & NORETURN_POSTMax Horn
svn-id: r46205
2009-11-23Remove SCUMMVM_USE_LONG_INTMax Horn
svn-id: r46103
2009-11-10Move definition of stdint types to the only file that needs them (mpeg_player.h)Max Horn
svn-id: r45820
2009-11-10Add some FIXME comments about defining types from stdint.h on our own.Johannes Schickel
svn-id: r45816
2009-09-27Backported NDS changes from 1.0.0 branch to trunkMax Horn
svn-id: r44426
2009-09-24Removed the MSVC-specific pragmas for disabling warnings. These are now in ↵Filippos Karapetis
ScummVM_Global.vsprops and thus not needed in scummsys.h svn-id: r44283
2009-09-22Fix warning in gcc 3.3.5, by changing FORCEINLINE definition.Johannes Schickel
svn-id: r44262
2009-09-11fix duplicate definition of FORCEINLINE on mingw toolchainsNorbert Lange
svn-id: r44033
2009-09-11Slightly modified version of Patch #2838562: Improve endian.h and stream.hMax Horn
svn-id: r44027
2009-03-25Allow building of psp backend via configure (Part 1 - Still need to add the ↵Joost Peters
fixup + EBOOT packing steps). Thanks dhewg and fingolfin for assistance. :) svn-id: r39693
2009-03-20Removed #include nds/jtypes.h from common/scummsys.h -- it already gets ↵Max Horn
loaded by portdefs.h svn-id: r39562
2009-02-20Disable MSVC warning, which is frequently paranoid.Travis Howell
svn-id: r38575
2009-02-13Changed OverlayColor from int16 to uint16 to fix the strange colours thatTorbjörn Andersson
appeared in the GUI with r36288. At least, it fixes the problem for me. I hope I didn't accidentally break anything else. svn-id: r36298
2008-12-08Removed last traces of X11 backend.Johannes Schickel
svn-id: r35287
2008-11-23Turned on MSVC warning 4505 - "Unreferenced local function has been ↵Filippos Karapetis
removed", as it's very useful in finding dead code svn-id: r35160
2008-11-23Re-enabled MSVC warning 4125 - "decimal digits terminates octal escape ↵Filippos Karapetis
sequence". This was thrown for a string with incorrect extended characters in the SAGA engine, which has been corrected now, so the warning itself is valid and quite informative. svn-id: r35159
2008-11-13* got rid of CDECLMax Horn
* got rid of scumm_strrev * added DISABLE_TEXT_CONSOLE flag which disables printf, warning, debug (but not error) svn-id: r35038
2008-06-22Turned off overzealous warning 4800 - "forcing value to bool 'true' or ↵Filippos Karapetis
'false' (performance warning)" svn-id: r32759
2008-06-04Patch #1971285: "Nintendo Wii port"Eugene Sandulenko
svn-id: r32547
2008-03-12Removed remaining traces of the dead MorphOS backend, which itself was ↵Max Horn
removed about one year ago svn-id: r31114
2008-01-05Several warnings which have been disabled for MSVC are never thrown (at ↵Filippos Karapetis
least not anymore). Removing all the unneeded ones svn-id: r30248
2007-12-21Turn off an MSVC warning, thrown with some escape sequencesFilippos Karapetis
svn-id: r29932
2007-12-20Fix compilation under MSVC9Filippos Karapetis
svn-id: r29923
2007-12-20Do not #include time.h globally (ideally, we should provide a localtime ↵Max Horn
clone in OSystem so we can completly get rid of this) svn-id: r29919
2007-12-09Only for ARM codeChris Apers
svn-id: r29787
2007-10-13Added extra includes for the DS port now that stdafx.h is no longer includedNeil Millstone
svn-id: r29205
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-01Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)Chris Apers
svn-id: r28803
2007-07-01Re-added __attribute__(packed)Max Horn
svn-id: r27830
2007-06-22Do not use SCUMMVM_USE_LONG_INT on _MSC_VER anymore (if it *is* needed after ↵Max Horn
all, speak up -- that FIXME has been in there for far too long, however) svn-id: r27641
2007-05-30Updated 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-05-01Cleanup, remove PalmOS dependencies from the ScummVM coreChris Apers
svn-id: r26690
2007-03-09Removing some unnecessary #includesMax Horn
svn-id: r26044
2007-03-08cleaned up stdafx.h, removing various unnecessary #includes (there are still ↵Max Horn
some windows ones which look fishy, though) svn-id: r26031
2007-03-08Moved the printf #define for the NDS into scummsys.h (not sure if that suits ↵Max Horn
your needs Neil, feel free to change it again if necessary) svn-id: r26024
2007-03-08Changed File::_handle to be of type void* instead of FILE* (to ease ↵Max Horn
porting); moved PS2 std C I/O defines to file.cpp (no code other than the file & savegame code should use fopen etc. directly) svn-id: r26017
2006-10-08Initial commit of the wince-gcc re-portKostas Nakos
svn-id: r24212