scummvm/engines/sword25
Max Horn 44393b2dc8 ALL: Add code to help stop people from accidentally using "bad" APIs
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-30 21:27:42 +00:00
..
fmv SWORD25: Play the cutscene audio 2010-10-30 09:17:21 +00:00
gfx ALL: Add code to help stop people from accidentally using "bad" APIs 2010-10-30 21:27:42 +00:00
input SWORD25: Start to rename read/write methods of *PersistenceBlock classes 2010-10-28 00:26:25 +00:00
kernel SWORD25: Comment out unused static variable. 2010-10-28 22:45:15 +00:00
math SWORD25: Get rid of most of the 'kernel service/superclass' code 2010-10-25 22:41:25 +00:00
package SWORD25: Added a hack to allow the new English voice pack to be detected 2010-10-30 04:30:42 +00:00
script SWORD25: Start to rename read/write methods of *PersistenceBlock classes 2010-10-28 00:26:25 +00:00
sfx SWORD25: Get rid of most of the 'kernel service/superclass' code 2010-10-25 22:41:25 +00:00
util SWORD25: Work around for bug in Mac OS X 10.2 SDK 2010-10-19 09:42:48 +00:00
detection.cpp SWORD25: Standardised savegame filenames, start on advanced engine features 2010-10-28 09:51:56 +00:00
module.mk SWORD25: Get rid of CallbackRegistry 2010-10-28 00:25:33 +00:00
sword25.cpp SWORD25: Standardised savegame filenames, start on advanced engine features 2010-10-28 09:51:56 +00:00
sword25.h SWORD25: 'Implement' RTL support & add TODOs about missing feature support 2010-10-25 22:41:48 +00:00