aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/main.cpp
AgeCommit message (Collapse)Author
2010-11-28Merging the gsoc2010-opengl branchMax Horn
svn-id: r54518
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-10-13OPENGL: Merged from trunk, from rev 52105 to 53396.Johannes Schickel
This includes an rather hacky attempt to merge all the recent gp2x backend changes into the branch. I suppose the gp2x backend and probably all new backends, i.e. gph, dingux etc., might not compile anymore. Since I have no way of testing those it would be nice if porters could look into getting those up to speed in this branch. svn-id: r53399
2010-09-06SDL: Add masks to the SDL backend to support the OpenPandora backend.John Willis
svn-id: r52599
2010-08-23AMIGAOS: Fix build.Alejandro Marzini
svn-id: r52306
2010-08-19DINGOO: new port. Patch #3039277Eugene Sandulenko
svn-id: r52210
2010-07-02Cleanup and documentation.Alejandro Marzini
svn-id: r50589
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-06-24Added a init function to OSystem_SDL for early backend setup, and so ↵Alejandro Marzini
allowing better sub classing. svn-id: r50224
2010-06-22Created posix port subclassed from sdl backend. Removed unnecessary #include ↵Alejandro Marzini
in win32.cpp svn-id: r50173
2010-06-20Created win32 port from sdl backend.Alejandro Marzini
svn-id: r50103
2010-06-15Improved ModularBackend and OSystem_SDL destructors.Alejandro Marzini
svn-id: r49679
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