Difference between revisions of "Defines"

From ScummVM :: Wiki
Jump to navigation Jump to search
(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
 
|-
 
|-
| ACTOR_DEBUG
+
| AUDIO_REVERSE_STEREO
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| ADLIB_DISABLE_VOICE_MAPPING
+
| BACKEND_8BIT
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| ALLOW_CPU_SCALER
+
| DATA_PATH
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| ANDROID
+
| DISABLE_COMMAND_LINE
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| ARM
+
| DISABLE_DOSBOX_OPL
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| ARM7
+
| DISABLE_FANCY_THEMES
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| ARM9
+
| DISABLE_GUI_BUILTIN_THEME
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| ARM_ADPCM
+
| DISABLE_HELP
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| assert
+
| DISABLE_SID
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| AUDIO_REVERSE_STEREO
+
| DISABLE_TEXT_CONSOLE
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| BACKEND_8BIT
+
| DYNAMIC_MODULES
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| BODGE
+
| ENABLE_AGI
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| breakeven_point
+
| ENABLE_AGOS2
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| CAN_WRITE_TO_DISC
+
| ENABLE_FASCIN_ADLIB
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| CASESENSITIVITYDEFAULT_NO
+
| ENABLE_GROOVIE2
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| CEACTIONSPOCKET
+
| ENABLE_HE
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| CEACTIONSSMARTPHONE
+
| ENABLE_IHNM
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| CEDEVICE
+
| ENABLE_INHM
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| CEGUI_GUIELEMENT
+
| ENABLE_KEYMAPPER
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| CEGUI_ITEMACTION
+
| ENABLE_LOL
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| CEGUI_ITEMSWITCH
+
| ENABLE_PROFILING
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| CEGUI_PANEL
+
| ENABLE_SAGA2
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| CEGUI_PANELITEM
+
| ENABLE_SCI32
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| CEGUI_PANELKEYBOARD
+
| ENABLE_SCI3_GAMES
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| C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TLANG
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DEBUG_RATECONV
+
| USE_FLAC
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DEBUG_SPRITE_MASK
+
| USE_FLUIDSYNTH
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DEBUG_WII_GDB
+
| USE_HQ_SCALERS
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DEBUG_WII_MEMSTATS
+
| USE_INDEO3
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DETECTOR_TESTING_HACK
+
| USE_MAD
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DETECT_BRODERBUND_TITLES
+
| USE_MPEG2
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DISABLE_COMMAND_LINE
+
| USE_MPEG2_0_3_1
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DISABLE_DOSBOX_OPL
+
| USE_MT32EMU
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DISABLE_FANCY_THEMES
+
| USE_NASM
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DISABLE_HELP
+
| USE_OSD
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DISABLE_MD5
+
| USE_PROFILER
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DISABLE_NES_APU
+
| USE_READLINE
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DISABLE_PSP_MP3
+
| USE_RGB_COLOR
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DISABLE_SAVEGAME_SORTING
+
| USE_SCALERS
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DISABLE_SID
+
| USE_SEQ_MIDI
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DISABLE_TEXT_CONSOLE
+
| USE_TEXT_CONSOLE
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DISC_CACHE
+
| USE_TRANSLATION
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DITHER
+
| USE_TREMOLO
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DL_DEBUG
+
| USE_TREMOR
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DRAW_GRAPHICS
+
| USE_VORBIS
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DS_BUILD_D
+
| 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
 
|-
 
|-
| DS_BUILD_F
+
! Token
 +
! Defined by
 +
! Used in
 +
! Purpose
 +
|-
 +
| ANDROID
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| dumpResources
+
| ARM
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DUMP_OBJECT
+
| COREAUDIO_DISABLE_REVERB
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DUMP_SCRIPT
+
| DEBUG
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DUMP_SCRIPTS
+
| DEBUG_ADLIB
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DUMP_STDOUT
+
| DEBUG_EXTRACTION_TABLES
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DW2_EXACT_SIZE
+
| DEBUG_HASH_COLLISIONS
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DXA_EXPERIMENT_MAXD
+
| DEBUG_PARSER
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| DYNAMIC_MODULES
+
| DEBUG_RATECONV
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| ENABLE_32BIT
+
| DEBUG_SPRITE_MASK
 
|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 
|
 
|
 
|
 
|-
 
|-
| ENABLE_VKEYBD
+
| DW2_EXACT_SIZE
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| EOF
+
| DXA_EXPERIMENT_MAXD
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| EPOC_AS_APP
+
| ENABLE_RENDER_MEASURE
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| FILE_TIME_SUPPORT
+
| EPOC_AS_APP
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| FORCEINLINE
+
| FILE_TIME_SUPPORT
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| FORCE_RTL
+
| FORCEINLINE
 
|
 
|
 
|
 
|
Line 481: Line 499:
 
|-
 
|-
 
| FUNCTION_DEBUG
 
| FUNCTION_DEBUG
|
 
|
 
|
 
|-
 
| F_OK
 
 
|
 
|
 
|
 
|
Line 491: Line 504:
 
|-
 
|-
 
| GAMECUBE
 
| GAMECUBE
|
 
|
 
|
 
|-
 
| GC_DEBUG
 
|
 
|
 
|
 
|-
 
| GC_DEBUG_CODE
 
|
 
|
 
|
 
|-
 
| GC_DEBUG_VERBOSE
 
|
 
|
 
|
 
|-
 
| GL_OES_draw_texture
 
|
 
|
 
|
 
|-
 
| GRAPHICS_QDM2_H
 
|
 
|
 
|
 
|-
 
| GRAPHICS_SJIS_H
 
|
 
|
 
|
 
|-
 
| GRAPHICS_VIDEO_COKTELDECODER_H
 
|
 
|
 
|
 
|-
 
| GUI_ENABLE_BUILTIN_THEME
 
 
|
 
|
 
|
 
|
Line 536: Line 509:
 
|-
 
|-
 
| GUI_THEME_EVAL
 
| GUI_THEME_EVAL
|
 
|
 
|
 
|-
 
| HAVE_CONFIG_H
 
|
 
|
 
|
 
|-
 
| HAVE_GETOPT_H
 
|
 
|
 
|
 
|-
 
| HAVE_GETOPT_LONG
 
|
 
|
 
|
 
|-
 
| HAVE_LIBPNG
 
|
 
|
 
|
 
|-
 
| HAVE_OBSTACK_H
 
|
 
|
 
|
 
|-
 
| HAVE_UNISTD_H
 
 
|
 
|
 
|
 
|
Line 581: Line 524:
 
|-
 
|-
 
| INCLUDED_FROM_BASE_VERSION_CPP
 
| INCLUDED_FROM_BASE_VERSION_CPP
|
 
|
 
|
 
|-
 
| int64_t
 
 
|
 
|
 
|
 
|
Line 601: Line 539:
 
|-
 
|-
 
| IPHONE_OFFICIAL
 
| IPHONE_OFFICIAL
|
 
|
 
|
 
|-
 
| isdigit
 
 
|
 
|
 
|
 
|
Line 666: Line 599:
 
|-
 
|-
 
| MAC_OPTIONS
 
| MAC_OPTIONS
|
 
|
 
|
 
|-
 
| main
 
|
 
|
 
|
 
|-
 
| MAX
 
 
|
 
|
 
|
 
|
Line 721: Line 644:
 
|-
 
|-
 
| MT32EMU_HAVE_X86
 
| MT32EMU_HAVE_X86
|
 
|
 
|
 
|-
 
| M_LN2
 
|
 
|
 
|
 
|-
 
| M_SQRT1_2
 
 
|
 
|
 
|
 
|
Line 776: Line 689:
 
|-
 
|-
 
| PERFECT_5_TO_4_RESCALING
 
| PERFECT_5_TO_4_RESCALING
|
 
|
 
|
 
|-
 
| PI
 
|
 
|
 
|
 
|-
 
| PLUGIN_DIRECTORY
 
|
 
|
 
|
 
|-
 
| PLUGIN_EXPORT
 
|
 
|
 
|
 
|-
 
| PLUGIN_PREFIX
 
|
 
|
 
|
 
|-
 
| PLUGIN_SUFFIX
 
 
|
 
|
 
|
 
|
Line 851: Line 739:
 
|-
 
|-
 
| RONIN_TIMER_ACCESS
 
| RONIN_TIMER_ACCESS
|
 
|
 
|
 
|-
 
| R_OK
 
 
|
 
|
 
|
 
|
Line 895: Line 778:
 
|
 
|
 
|-
 
|-
| SCI_VERBOSE_resMan
+
| SCI_VERBOSE_RESMAN
 
|
 
|
 
|
 
|
Line 906: Line 789:
 
|-
 
|-
 
| SCRIPT_TEST
 
| SCRIPT_TEST
|
 
|
 
|
 
|-
 
| ScummAPPH
 
|
 
|
 
|
 
|-
 
| ScummVMapph
 
 
|
 
|
 
|
 
|
Line 941: Line 814:
 
|-
 
|-
 
| SCUMM_IMUSE_INTERNAL
 
| SCUMM_IMUSE_INTERNAL
|
 
|
 
|
 
|-
 
| SCUMM_LITTLE_ENDIAN
 
|
 
|
 
|
 
|-
 
| SCUMM_NEED_ALIGNMENT
 
|
 
|
 
|
 
|-
 
| SDLSYMBIANH
 
 
|
 
|
 
|
 
|
Line 981: Line 839:
 
|-
 
|-
 
| SOUND_CROP_CHANNELS
 
| SOUND_CROP_CHANNELS
|
 
|
 
|
 
|-
 
| SOUND_SHORTEN_H
 
 
|
 
|
 
|
 
|
Line 1,011: Line 864:
 
|-
 
|-
 
| TEST_MEMORY_COPY
 
| TEST_MEMORY_COPY
|
 
|
 
|
 
|-
 
| Timer
 
 
|
 
|
 
|
 
|
Line 1,056: Line 904:
 
|-
 
|-
 
| USERSPACE_ONLY
 
| USERSPACE_ONLY
|
 
|
 
|
 
|-
 
| USE_ALSA
 
|
 
|
 
|
 
|-
 
| USE_ARM_COSTUME_ASM
 
|
 
|
 
|
 
|-
 
| USE_ARM_GFX_ASM
 
|
 
|
 
|
 
|-
 
| USE_ARM_SCALER_ASM
 
|
 
|
 
|
 
|-
 
| USE_ARM_SMUSH_ASM
 
|
 
|
 
|
 
|-
 
| USE_BUILT_IN_DRIVER_SELECTION
 
|
 
|
 
|
 
|-
 
| USE_DEBUGGER
 
|
 
|
 
|
 
|-
 
| USE_DETECTLANG
 
|
 
|
 
|
 
|-
 
| USE_DISPLAY_CALLBACK
 
|
 
|
 
|
 
|-
 
| USE_FLAC
 
|
 
|
 
|
 
|-
 
| USE_FLUIDSYNTH
 
 
|
 
|
 
|
 
|
Line 1,116: Line 909:
 
|-
 
|-
 
| USE_HASHMAP_MEMORY_POOL
 
| USE_HASHMAP_MEMORY_POOL
|
 
|
 
|
 
|-
 
| USE_HQ_SCALERS
 
|
 
|
 
|
 
|-
 
| USE_INDEO3
 
|
 
|
 
|
 
|-
 
| USE_INTERPOLATION
 
|
 
|
 
|
 
|-
 
| USE_LIBCARTRESET
 
|
 
|
 
|
 
|-
 
| USE_MAD
 
|
 
|
 
|
 
|-
 
| USE_MPEG2
 
|
 
|
 
|
 
|-
 
| USE_MPEG2_0_3_1
 
|
 
|
 
|
 
|-
 
| USE_MT32EMU
 
|
 
|
 
|
 
|-
 
| USE_NASM
 
|
 
|
 
|
 
|-
 
| USE_NEWLIB
 
|
 
|
 
|
 
|-
 
| USE_OSD
 
|
 
|
 
|
 
|-
 
| USE_PROFILER
 
|
 
|
 
|
 
|-
 
| USE_READLINE
 
|
 
|
 
|
 
|-
 
| USE_RGB_COLOR
 
|
 
|
 
|
 
|-
 
| USE_SCALERS
 
|
 
|
 
|
 
|-
 
| USE_SEQ_MIDI
 
|
 
|
 
|
 
|-
 
| USE_TEXT_CONSOLE
 
|
 
|
 
|
 
|-
 
| USE_TRANSLATION
 
|
 
|
 
|
 
|-
 
| USE_TREMOLO
 
|
 
|
 
|
 
|-
 
| USE_TREMOR
 
|
 
|
 
|
 
|-
 
| USE_VIBRA_SE_PXXX
 
|
 
|
 
|
 
|-
 
| USE_VORBIS
 
|
 
|
 
|
 
|-
 
| USE_WII_DI
 
|
 
|
 
|
 
|-
 
| USE_WII_KBD
 
|
 
|
 
|
 
|-
 
| USE_WII_SMB
 
|
 
|
 
|
 
|-
 
| USE_ZLIB
 
|
 
|
 
|
 
|-
 
| USING_ARM_BLITTERS
 
 
|
 
|
 
|
 
|
Line 1,276: Line 934:
 
|-
 
|-
 
| WRAP_MALLOC
 
| WRAP_MALLOC
|
 
|
 
|
 
|-
 
| W_OK
 
|
 
|
 
|
 
|-
 
| _DEBUG
 
|
 
|
 
|
 
|-
 
| _ENABLE_DEBUG_
 
|
 
|
 
|
 
|-
 
| _FILE_DEFINED
 
|
 
|
 
|
 
|-
 
| _GBA_NDS_FAT_INCLUDED
 
|
 
|
 
|
 
|-
 
| _L
 
|
 
|
 
|
 
|-
 
| _MSC_VER
 
|
 
|
 
|
 
|-
 
| _WIN32_WCE
 
|
 
|
 
|
 
|-
 
| _Windows
 
|
 
|
 
|
 
|-
 
| __amigaos4__
 
|
 
|
 
|
 
|-
 
| __BEOS__
 
|
 
|
 
|
 
|-
 
| __cplusplus
 
|
 
|
 
|
 
|-
 
| __CREATELURE_DAT__
 
 
|
 
|
 
|
 
|
Line 1,356: Line 949:
 
|-
 
|-
 
| __FRAMFS_SAVE_MANAGER__
 
| __FRAMFS_SAVE_MANAGER__
|
 
|
 
|
 
|-
 
| __GNUC__
 
|
 
|
 
|
 
|-
 
| __KmpSearch__
 
 
|
 
|
 
|
 
|
Line 1,456: Line 1,039:
 
|-
 
|-
 
| __SYMBIAN32__
 
| __SYMBIAN32__
|
 
|
 
|
 
|-
 
| __TextFile__
 
 
|
 
|
 
|
 
|
Line 1,479: Line 1,057:
 
|
 
|
 
|
 
|
|-
 
| __WINS__
 
|
 
|
 
|
 
 
|}
 
|}

Revision as of 20:26, 28 September 2010

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 excluded, as these are almost certainly just include guards. The list is current as of r52922.

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.

Token Defined by Used in 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.

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
FORCE_SLIDY
FUNCTION_DEBUG
GAMECUBE
GUI_THEME_EVAL
HEAVY_LOGGING
INADDR_NONE
INCLUDED_FROM_BASE_VERSION_CPP
INTRO_TEST
IPHONE
IPHONE_OFFICIAL
JAPAN
JOY_ANALOG
JOY_INVERT_Y
LAYOUT_DEBUG_DIALOG
LEGACY_FLAC
LIMIT_FPS
LIMIT_FRAME_RATE
LINUPY
LINUXMOTO_SDL
LURE_CLICKABLE_MENUS
MACOSX
MAC_OPTIONS
MAXPATHLEN
MAXTRAX_HAS_MICROTONAL
MAXTRAX_HAS_MODULATION
MAX_INT
MIN
MIXER_DOUBLE_BUFFERING
MOTOEZX
MOTOMAGX
MT32EMU_HAVE_X86
NDEBUG
NDS
NORETURN_POST
NORETURN_PRE
NOSERIAL
NO_ADAPTOR
OUTPUT_UNSIGNED_AUDIO
PATH_MAX
PERFECT_5_TO_4_RESCALING
PRINT_BUFFERS
PSP_ENABLE_SPEED_TESTS
PSP_ENABLE_UNIT_TESTS
PSP_KB_SHELL
QTOPIA
REDUCE_MEMORY_USAGE
REG_EXEMEMCNT
REG_EXMEMCNT
RELEASE_BUILD
RONIN_TIMER_ACCESS
S60
SAGA_DEBUG
SAMPLES_PER_SEC_8000
SCALER_PROFILE
SCENE_DEBUG
SCI_CONSOLE
SCI_DEBUG_PARSE_TREE_AUGMENTATION
SCI_VERBOSE_RESMAN
SCRIPT_DEBUG
SCRIPT_TEST
SCUMMVM_DONT_DEFINE_TYPES
SCUMMVM_IPC_INCLUDE
SCUMMVM_SVN_REVISION
SCUMM_BIG_ENDIAN
SCUMM_IMUSE_INTERNAL
SKIP_INTRO
SLOW_RINCE_DOWN
SMALL_SCREEN_DEVICE
SNPRINTF_LONGLONG_SUPPORT
SOUND_CROP_CHANNELS
STREAM_AUDIO_FROM_DISK
STRINGBUFLEN
SWORD2_DEBUG
SYSEX_CALLBACK_FUNCTION
TEST_MEMORY_COPY
TIMIDITY_LOW_DELAY
UIQ
UNICODE
UNIX
UNZ_BUFSIZE
UNZ_MAXFILENAMEINZIP
UPGRADE_ALL_TARGETS_HACK
USERSPACE_ONLY
USE_HASHMAP_MEMORY_POOL
VM_DEBUG_SEND
WAVE_PRECISION
WIN32
WIN32_PLATFORM_WFSP
WRAP_MALLOC
__DC__
__DS__
__FRAMFS_SAVE_MANAGER__
__MINGW32CE__
__MMX__
__N64_PORTDEFS__
__N64__
__OS2__
__PAKFS_SAVE_MANAGER__
__PLAYSTATION2__
__PS2FILE_IO__
__PS2_DEBUG__
__PS2_FILE_DEBUG__
__PS2_FILE_SEMA__
__PSP_DEBUG_FUNCS__
__PSP_DEBUG_PRINT__
__PSP_PRINT_TO_FILE__
__PSP__
__sgi
__SSE__
__SYMBIAN32__
__USE_INLINE__
__USE_LIBMC__
__WII__