1,079
edits
(Created page with 'This is a list of all the tokens that are being used in a #ifdef or #ifndef in a .cpp or .h file, except for .h files, where tokens used as #ifndef FOO_H or #ifndef FOO_H_ are ex…') |
(Select which defines are actually to be defined by backend; removed lots of defines used only internally by a single engine or backend) |
||
Line 2: | Line 2: | ||
No additional filtering has been performed as of yet; some tokens are defined by a platform, while others may not actually be used. Additionally, defined symbols not used in #ifndef or #ifdef are not included at all here. | No additional filtering has been performed as of yet; some tokens are defined by a platform, while others may not actually be used. Additionally, defined symbols not used in #ifndef or #ifdef are not included at all here. | ||
==Defines to be set by/for backends== | |||
The following defines are meant to be defined by backend authors, typically | |||
in configure (or a custom Makefile). Usually these enable or disable certain | |||
features in ScummVM. E.g. a low-powered port might turn off some features | |||
that won't work on the target device anyway, to free up some memory. | |||
{| border="1" cellspacing="0" cellpadding="2" width=100 | {| border="1" cellspacing="0" cellpadding="2" width=100 | ||
Line 10: | Line 16: | ||
! Purpose | ! Purpose | ||
|- | |- | ||
| | | AUDIO_REVERSE_STEREO | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | BACKEND_8BIT | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DATA_PATH | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DISABLE_COMMAND_LINE | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DISABLE_DOSBOX_OPL | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DISABLE_FANCY_THEMES | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DISABLE_GUI_BUILTIN_THEME | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DISABLE_HELP | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DISABLE_SID | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DISABLE_TEXT_CONSOLE | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DYNAMIC_MODULES | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_AGI | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_AGOS2 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_FASCIN_ADLIB | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_GROOVIE2 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_HE | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_IHNM | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_INHM | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_KEYMAPPER | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_LOL | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_PROFILING | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_SAGA2 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_SCI32 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_SCI3_GAMES | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_SCUMM | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_SCUMM_7_8 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_VKEYBD | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | FORCE_RTL | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | PLUGIN_DIRECTORY | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | PLUGIN_EXPORT | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | PLUGIN_PREFIX | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | PLUGIN_SUFFIX | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | SCUMM_LITTLE_ENDIAN | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | SCUMM_NEED_ALIGNMENT | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_ALSA | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_ARM_COSTUME_ASM | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_ARM_GFX_ASM | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_ARM_SCALER_ASM | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_ARM_SMUSH_ASM | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_DETECTLANG | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_FLAC | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_FLUIDSYNTH | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_HQ_SCALERS | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_INDEO3 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_MAD | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_MPEG2 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_MPEG2_0_3_1 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_MT32EMU | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_NASM | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_OSD | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_PROFILER | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_READLINE | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_RGB_COLOR | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_SCALERS | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_SEQ_MIDI | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_TEXT_CONSOLE | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_TRANSLATION | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_TREMOLO | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_TREMOR | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_VORBIS | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | USE_ZLIB | ||
| | | | ||
| | | | ||
| | | | ||
|} | |||
==Unsorted== | |||
The following defines have not yet put into any category. | |||
Many of them might also be inappropriate for this page. | |||
{| border="1" cellspacing="0" cellpadding="2" width=100 | |||
|- | |- | ||
| | ! Token | ||
! Defined by | |||
! Used in | |||
! Purpose | |||
|- | |||
| ANDROID | |||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ARM | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | COREAUDIO_DISABLE_REVERB | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DEBUG | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DEBUG_ADLIB | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DEBUG_EXTRACTION_TABLES | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DEBUG_HASH_COLLISIONS | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DEBUG_PARSER | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DEBUG_RATECONV | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DEBUG_SPRITE_MASK | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DEBUG_WII_GDB | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DEBUG_WII_MEMSTATS | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DETECTOR_TESTING_HACK | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DETECT_BRODERBUND_TITLES | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DISABLE_MD5 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DISABLE_NES_APU | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DISABLE_PSP_MP3 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DISABLE_SAVEGAME_SORTING | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DISC_CACHE | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DITHER | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DL_DEBUG | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DRAW_GRAPHICS | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DUMP_OBJECT | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DUMP_SCRIPT | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DUMP_SCRIPTS | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DUMP_STDOUT | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DW2_EXACT_SIZE | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | DXA_EXPERIMENT_MAXD | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | ENABLE_RENDER_MEASURE | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | EPOC_AS_APP | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | FILE_TIME_SUPPORT | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | FORCEINLINE | ||
| | | | ||
| | | | ||
Line 481: | Line 499: | ||
|- | |- | ||
| FUNCTION_DEBUG | | FUNCTION_DEBUG | ||
| | | | ||
| | | | ||
Line 491: | Line 504: | ||
|- | |- | ||
| GAMECUBE | | GAMECUBE | ||
| | | | ||
| | | | ||
Line 536: | Line 509: | ||
|- | |- | ||
| GUI_THEME_EVAL | | GUI_THEME_EVAL | ||
| | | | ||
| | | | ||
Line 581: | Line 524: | ||
|- | |- | ||
| INCLUDED_FROM_BASE_VERSION_CPP | | INCLUDED_FROM_BASE_VERSION_CPP | ||
| | | | ||
| | | | ||
Line 601: | Line 539: | ||
|- | |- | ||
| IPHONE_OFFICIAL | | IPHONE_OFFICIAL | ||
| | | | ||
| | | | ||
Line 666: | Line 599: | ||
|- | |- | ||
| MAC_OPTIONS | | MAC_OPTIONS | ||
| | | | ||
| | | | ||
Line 721: | Line 644: | ||
|- | |- | ||
| MT32EMU_HAVE_X86 | | MT32EMU_HAVE_X86 | ||
| | | | ||
| | | | ||
Line 776: | Line 689: | ||
|- | |- | ||
| PERFECT_5_TO_4_RESCALING | | PERFECT_5_TO_4_RESCALING | ||
| | | | ||
| | | | ||
Line 851: | Line 739: | ||
|- | |- | ||
| RONIN_TIMER_ACCESS | | RONIN_TIMER_ACCESS | ||
| | | | ||
| | | | ||
Line 895: | Line 778: | ||
| | | | ||
|- | |- | ||
| | | SCI_VERBOSE_RESMAN | ||
| | | | ||
| | | | ||
Line 906: | Line 789: | ||
|- | |- | ||
| SCRIPT_TEST | | SCRIPT_TEST | ||
| | | | ||
| | | | ||
Line 941: | Line 814: | ||
|- | |- | ||
| SCUMM_IMUSE_INTERNAL | | SCUMM_IMUSE_INTERNAL | ||
| | | | ||
| | | | ||
Line 981: | Line 839: | ||
|- | |- | ||
| SOUND_CROP_CHANNELS | | SOUND_CROP_CHANNELS | ||
| | | | ||
| | | | ||
Line 1,011: | Line 864: | ||
|- | |- | ||
| TEST_MEMORY_COPY | | TEST_MEMORY_COPY | ||
| | | | ||
| | | | ||
Line 1,056: | Line 904: | ||
|- | |- | ||
| USERSPACE_ONLY | | USERSPACE_ONLY | ||
| | | | ||
| | | | ||
Line 1,116: | Line 909: | ||
|- | |- | ||
| USE_HASHMAP_MEMORY_POOL | | USE_HASHMAP_MEMORY_POOL | ||
| | | | ||
| | | | ||
Line 1,276: | Line 934: | ||
|- | |- | ||
| WRAP_MALLOC | | WRAP_MALLOC | ||
| | | | ||
| | | | ||
Line 1,356: | Line 949: | ||
|- | |- | ||
| __FRAMFS_SAVE_MANAGER__ | | __FRAMFS_SAVE_MANAGER__ | ||
| | | | ||
| | | | ||
Line 1,456: | Line 1,039: | ||
|- | |- | ||
| __SYMBIAN32__ | | __SYMBIAN32__ | ||
| | | | ||
| | | | ||
Line 1,479: | Line 1,057: | ||
| | | | ||
| | | | ||
|} | |} |
edits