aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/main.cpp
AgeCommit message (Collapse)Author
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-20GPH: Cleanup Readme and support scripts.John Willis
GP2X: Cleanup Readme. SDL: Change a few backend defines to GPH_DEVICE from the device name (blocking main and loadGFXMode so they can be written elsewhere). svn-id: r53639
2010-09-06SDL: Add masks to the SDL backend to support the OpenPandora backend.John Willis
svn-id: r52599
2010-08-19DINGOO: new port. Patch #3039277Eugene Sandulenko
svn-id: r52210
2010-06-26Define WIN32_LEAN_AND_MEAN before including windows.h.Johannes Schickel
This will cause our code to include less functionality, but might on the other hand fasten up the compilation. svn-id: r50346
2010-05-21SDL: Split quit() method into deinit() so error codes could be returned.Eugene Sandulenko
svn-id: r49131
2009-11-11Remove (now) obsolete HACK for WIN32.Johannes Schickel
svn-id: r45832
2009-11-10Add an ugly HACK to fix bug #2895217 "MSVC compilation broken with r47595".Johannes Schickel
svn-id: r45815
2009-11-10Fix for bug #2895217 "MSVC compilation broken with r47595".Johannes Schickel
svn-id: r45814
2009-11-10Move Symbian main implementation from main.cpp to SymbianOS.cppLars Persson
svn-id: r45802
2009-11-09SDL: Separate Symbian specific main() from standard SDL main() -- to be ↵Max Horn
moved into a separate file svn-id: r45795
2009-08-22Patch #2826508: "Motorola A1200/E6/A1600 (motoezx) patch"Eugene Sandulenko
svn-id: r43636
2009-06-04Initial import of the GP2XWiz backend (based on the GP2X and SDL backends). ↵John Willis
Includes configure changes and one #ifdef to SDL backend. Also updates NEWS. svn-id: r41156
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-09-28Don't include windows.h for Symbian emulator buildsLars Persson
svn-id: r29119
2007-08-11Fixed compilation.Torbjörn Andersson
svn-id: r28532
2007-08-11windows.h needs to be included before sdl.h, to avoid redefinition of ARRAYSIZEFilippos Karapetis
svn-id: r28522
2007-08-11SDL backend cleanup (minor)Max Horn
svn-id: r28520