Difference between revisions of "Defines"

Jump to navigation Jump to search
5,521 bytes added ,  23:01, 24 February 2020
(Select which defines are actually to be defined by backend; removed lots of defines used only internally by a single engine or backend)
 
(22 intermediate revisions by 8 users not shown)
Line 3: Line 3:
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==
=Defines to be set by/for backends=
The following defines are meant to be defined by backend authors, typically
The following defines are meant to be defined by backend authors, typically
in configure (or a custom Makefile). Usually these enable or disable certain
in configure (or a custom Makefile). Usually these enable or disable certain
Line 9: Line 9:
that won't work on the target device anyway, to free up some memory.
that won't work on the target device anyway, to free up some memory.


{| border="1" cellspacing="0" cellpadding="2" width=100
==Defines to configure the backend==
{| border="1" cellspacing="0" cellpadding="2"
|-
|-
! Token
! Token
Line 17: Line 18:
|-
|-
| AUDIO_REVERSE_STEREO
| AUDIO_REVERSE_STEREO
| configure
| audio/mixer.cpp
| Normally, Audio::Mixer produces 16bit signed interleaved (left before right) stereo data. With this define set, it changes the channel order (first right channel, then left).
|-
| DATA_PATH
|
|
|
|-
| OUTPUT_UNSIGNED_AUDIO
|
| audio/rate.h
| Normally, Audio::Mixer produces 16bit signed interleaved (left before right) stereo data. With this define set, it produces unsigned data instead.
|-
| SCUMM_BIG_ENDIAN
|
|
|
|-
| SCUMM_LITTLE_ENDIAN
|
|
|
|-
| SCUMM_NEED_ALIGNMENT
|
|
|
|
|
|
|-
|-
| BACKEND_8BIT
| SCUMMVM_DONT_DEFINE_TYPES
|
|
|
|
|
|
|-
|-
| DATA_PATH
| SMALL_SCREEN_DEVICE
|
|
|
|}
 
==Defines to enable usage of external dependencies==
{| border="1" cellspacing="0" cellpadding="2"
|-
! Token
! Defined by
! Used in
! Purpose
|-
| LEGACY_FLAC
|
| audio/decoders/flac.cpp:
| Enable source compatibility with ancient versions of the FLAC library.
|-
| USE_A52
|
|
|
|
|
|
|-
|-
| DISABLE_COMMAND_LINE
| USE_FAAD
|
|
|
|
|
|
|-
|-
| DISABLE_DOSBOX_OPL
| USE_FLAC
|
|
| Enable support for FLAC audio data, using libflac.
|-
| USE_ICONV
|
|
|
|
|-
| USE_MAD
|
|
|
|
| Enable support for MP3 audio data, using libmad.
|-
|-
| DISABLE_FANCY_THEMES
| USE_READLINE
|
|
|
|
|
|
|-
|-
| DISABLE_GUI_BUILTIN_THEME
| USE_TREMOLO
|
|
|
|
|
|
|-
|-
| DISABLE_HELP
| USE_TREMOR
|
|
|
|
|
|
|-
|-
| DISABLE_SID
| USE_VORBIS
|
|
|
|
|
|
|-
|-
| DISABLE_TEXT_CONSOLE
| USE_ZLIB
|
|
|
|
|
|
|}
==Defines to configure plugin handling==
{| border="1" cellspacing="0" cellpadding="2"
|-
! Token
! Defined by
! Used in
! Purpose
|-
|-
| DYNAMIC_MODULES
| DYNAMIC_MODULES
Line 70: Line 134:
|
|
|
|
|-
| PLUGIN_DIRECTORY
|
|
|
|-
| PLUGIN_EXPORT
|
|
|
|-
| PLUGIN_PREFIX
|
|
|
|-
| PLUGIN_SUFFIX
|
|
|
|}
==Defines to enable engines or parts of them==
The following all are typically defined by config.mak, which is created by running the configure script. They are then used by the build system to enable / disable support for the various engines.
{| border="1" cellspacing="0" cellpadding="2"
|-
! Token
! Defined by
! Used in
! Purpose
|-
|-
| ENABLE_AGI
| ENABLE_AGI
|
|
|
|-
| ENABLE_AGOS
|
|
|
|
Line 81: Line 181:
|
|
|-
|-
| ENABLE_FASCIN_ADLIB
| ENABLE_CINE
|
|
|
|-
| ENABLE_CRUISE
|
|
|
|-
| ENABLE_CSTIME
| configure
| build system, Mohawk engine
| Enables support for [[Where in Time is Carmen Sandiego?]] in the [[Mohawk]] engine
|-
| ENABLE_DRACI
|
|
|
|-
| ENABLE_DRASCULA
|
|
|
|-
| ENABLE_GOB
|
|
|
|-
| ENABLE_GROOVIE
|
|
|
|
Line 92: Line 222:
|-
|-
| ENABLE_HE
| ENABLE_HE
| configure
| build system, SCUMM engine
| Enables support for [[Humongous Entertainment]] games in the [[SCUMM]] engine
|-
| ENABLE_HUGO
|
|
|
|
Line 101: Line 236:
|
|
|-
|-
| ENABLE_INHM
| ENABLE_KYRA
|
|
|
|
|
|
|-
|-
| ENABLE_KEYMAPPER
| ENABLE_LASTEXPRESS
|
|
|
|
Line 116: Line 251:
|
|
|-
|-
| ENABLE_PROFILING
| ENABLE_LURE
|
|
|
|
|
|
|-
|-
| ENABLE_SAGA2
| ENABLE_M4
|
|
|
|
|
|
|-
|-
| ENABLE_SCI32
| ENABLE_MADE
|
|
|
|
|
|
|-
|-
| ENABLE_SCI3_GAMES
| ENABLE_MOHAWK
|
|
|
|
|
|
|-
|-
| ENABLE_SCUMM
| ENABLE_MYST
| configure
| build system, Mohawk engine
| Enables support for [[Myst]] in the [[Mohawk]] engine
|-
| ENABLE_PARALLACTION
|
|
|
|
|
|
|-
|-
| ENABLE_SCUMM_7_8
| ENABLE_QUEEN
|
|
|
|
|
|
|-
|-
| ENABLE_VKEYBD
| ENABLE_RIVEN
| configure
| build system, Mohawk engine
| Enables support for [[Riven: The Sequel to Myst]] in the [[Mohawk]] engine
|-
| ENABLE_SAGA
|
|
|
|
|
|
|-
|-
| FORCE_RTL
| ENABLE_SAGA2
|
|
|
|
|
|
|-
|-
| PLUGIN_DIRECTORY
| ENABLE_SCI
|
|
|
|
|
|
|-
|-
| PLUGIN_EXPORT
| ENABLE_SCI32
|
|
|
|
|
|
|-
|-
| PLUGIN_PREFIX
| ENABLE_SCUMM
|
|
|
|
|
|
|-
|-
| PLUGIN_SUFFIX
| ENABLE_SCUMM_7_8
|
|
|
|
|
|
|-
|-
| SCUMM_LITTLE_ENDIAN
| ENABLE_SKY
|
|
|
|
|
|
|-
|-
| SCUMM_NEED_ALIGNMENT
| ENABLE_SWORD1
|
|
|
|
|
|
|-
|-
| USE_ALSA
| ENABLE_SWORD2
|
|
|
|
|
|
|-
|-
| USE_ARM_COSTUME_ASM
| ENABLE_SWORD25
|
|
|
|
|
|
|-
|-
| USE_ARM_GFX_ASM
| ENABLE_TEENAGENT
|
|
|
|
|
|
|-
|-
| USE_ARM_SCALER_ASM
| ENABLE_TESTBED
|
|
|
|
|
|
|-
|-
| USE_ARM_SMUSH_ASM
| ENABLE_TINSEL
|
|
|
|
|
|
|-
|-
| USE_DETECTLANG
| ENABLE_TOON
|
|
|
|
|
|
|-
|-
| USE_FLAC
| ENABLE_TOUCHE
|
|
|
|
|
|
|-
|-
| USE_FLUIDSYNTH
| ENABLE_TSAGE
|
|
|
|
|
|
|-
|-
| USE_HQ_SCALERS
| ENABLE_TUCKER
|
|
|
|
|
|
|}
==Defines to change user-visible default behaviours==
{| border="1" cellspacing="0" cellpadding="2"
|-
! Token
! Defined by
! Used in
! Purpose
|-
|-
| USE_INDEO3
| FORCE_RTL
|
|
|
|
|Makes ScummVM return to the launcher instead of exiting (ideal for ports that take a long while to load). Note that this is a big HACK, in particular, it allows one to return to the launcher from engines / games which do not support this normally for a good reason (such as not being reentrant).
|-
| LURE_CLICKABLE_MENUS
|
|
|
|Makes the [[Lure of the Temptress]]' menus clickable instead of hoverable (making them more usable for touchscreens).
|}
==Defines to enable common optional features==
{| border="1" cellspacing="0" cellpadding="2"
|-
! Token
! Defined by
! Used in
! Purpose
|-
|-
| USE_MAD
| ENABLE_KEYMAPPER
|
|
|
|
|
|
|-
|-
| USE_MPEG2
| ENABLE_VKEYBD
|
|
|
|
|
|
|-
|-
| USE_MPEG2_0_3_1
| DISABLE_COMMAND_LINE
|
|
|
|
|
|
|-
|-
| USE_MT32EMU
| DISABLE_FANCY_THEMES
|
|
|
|
|
|
|-
|-
| USE_NASM
| DISABLE_SAVELOADCHOOSER_GRID
|DISABLE_FANCY_THEMES
|GUI
|Disable the thumbnail grid based save/load chooser. This chooser requires a resolution of at least 640x400 and more memory than the list based one.
|-
| DISABLE_HELP
|
|
|
|
|
|
|-
|-
| USE_OSD
| DISABLE_TEXT_CONSOLE
|
|
|
|
|
|-
| DISABLE_TOWNS_DUAL_LAYER_MODE
|
|
|SCUMM FM-Towns games
|Reduces binary size by removing the FM-Towns dual layer emulation. This removes support for SCUMM v5 FM-Towns games and it might add some glitches to SCUMM v3 FM-Towns games.
|-
|-
| USE_PROFILER
| USE_HQ_SCALERS
|
|
|
|
|
|
|-
|-
| USE_READLINE
| USE_INDEO3
|
|
|
|
|
|
|-
|-
| USE_RGB_COLOR
| USE_OSD
|
|
|
|
|
|
|-
|-
| USE_SCALERS
| USE_RGB_COLOR
|
|
|
|
|
|
|-
|-
| USE_SEQ_MIDI
| USE_SCALERS
|
|
|
|
Line 301: Line 479:
|
|
|-
|-
| USE_TREMOLO
| USE_TTS
|
|
|
|
|
| Enable Test-to-Speech feature.
|-
|-
| USE_TREMOR
| USE_BINK
|
|
|
|
|
|
|}
==Defines to enable platform specific optional features==
{| border="1" cellspacing="0" cellpadding="2"
|-
! Token
! Defined by
! Used in
! Purpose
|-
|-
| USE_VORBIS
| DISABLE_PSP_MP3
|
|
|
|
|
|
|-
|-
| USE_ZLIB
| USE_DETECTLANG
|
|
|
|
|
|Enables the detection of the system language (supported on POSIX systems, Windows)
|}
|}


==Unsorted==
==Defines to enable emulation of audio devices==
The following defines have not yet put into any category.
{| border="1" cellspacing="0" cellpadding="2"
Many of them might also be inappropriate for this page.
 
{| border="1" cellspacing="0" cellpadding="2" width=100
|-
|-
! Token
! Token
Line 333: Line 517:
! Purpose
! Purpose
|-
|-
| ANDROID
| DISABLE_DOSBOX_OPL
|
|
|
|
|
|
|-
|-
| ARM
| DISABLE_NES_APU
|
|
|
|
|
|-
| DISABLE_PC98_RHYTHM_CHANNEL
|
|
| PC-98 versions of Legend of Kyrandia 2 and Lands of Lore
| Reduces binary size by disabling the rhythm channel when emulating certain PC-98 sound cards
|-
|-
| COREAUDIO_DISABLE_REVERB
| DISABLE_SID
|
|
|
|
|
|
|-
|-
| DEBUG
| ENABLE_FASCIN_ADLIB
| strangerke
| Fascination
| Enable the MDY/TBR player used by Fascination (Dos Floppy).
|-
| USE_MT32EMU
|
|
|
|
|
|
|}
==Defines to enable platform specific MIDI drivers==
{| border="1" cellspacing="0" cellpadding="2"
|-
! Token
! Defined by
! Used in
! Purpose
|-
|-
| DEBUG_ADLIB
| USE_ALSA
|
|
|
|
|
|
|-
|-
| DEBUG_EXTRACTION_TABLES
| USE_FLUIDSYNTH
|
|
|
|
|
|
|-
|-
| DEBUG_HASH_COLLISIONS
| USE_SEQ_MIDI
|
|
|
|
|
|
|-
|-
| DEBUG_PARSER
| USE_SNDIO
|
|
|
|
|
|
|-
|-
| DEBUG_RATECONV
| USE_TIMIDITY
|
|
|
|
|}
==Defines to enable common optimizations==
{| border="1" cellspacing="0" cellpadding="2"
|-
! Token
! Defined by
! Used in
! Purpose
|-
| DISABLE_GUI_BUILTIN_THEME
|
|
|
|
|Disables embedding the default theme into the executable (reduces the binary size)
|-
|-
| DEBUG_SPRITE_MASK
| DISABLE_SAVEGAME_SORTING
|
|
|
|
|
|
|-
|-
| DEBUG_WII_GDB
| REDUCE_MEMORY_USAGE
|
|
|
|
|
|
|-
|-
| DEBUG_WII_MEMSTATS
| STREAM_AUDIO_FROM_DISK
|
|
|
|
|
|
|}
==Defines to enable platform specific optimizations==
{| border="1" cellspacing="0" cellpadding="2"
|-
|-
| DETECTOR_TESTING_HACK
! Token
! Defined by
! Used in
! Purpose
|-
| MT32EMU_HAVE_X86
|
|
|
|
|
|
|-
|-
| DETECT_BRODERBUND_TITLES
| USE_ARM_COSTUME_ASM
|
|
|
|
|
|
|-
|-
| DISABLE_MD5
| USE_ARM_GFX_ASM
|
|
|
|
|
|
|-
|-
| DISABLE_NES_APU
| USE_ARM_SCALER_ASM
|
|
|
|
|
|
|-
|-
| DISABLE_PSP_MP3
| USE_ARM_SMUSH_ASM
|
|
|
|
|-
| USE_NASM
|
|
|
|
|Enables x86 optimized versions of the HQ scalers
|}
==Defines to enable debugging and testing facilities==
{| border="1" cellspacing="0" cellpadding="2"
|-
|-
| DISABLE_SAVEGAME_SORTING
! Token
! Defined by
! Used in
! Purpose
|-
| DEBUG
|
|
|
|
|
|
|-
|-
| DISC_CACHE
| DEBUG_ADLIB
|
|
|
|
|
|
|-
|-
| DITHER
| DEBUG_EXTRACTION_TABLES
|
|
|
|
|
|
|-
|-
| DL_DEBUG
| DEBUG_HASH_COLLISIONS
|
|
|
|
|
|
|-
|-
| DRAW_GRAPHICS
| DEBUG_PARSER
|
|
|
|
|
|
|-
|-
| DUMP_OBJECT
| DEBUG_RATECONV
|
|
|
|
|
|
|-
|-
| DUMP_SCRIPT
| DEBUG_SPRITE_MASK
|
|
|
|
|
|
|-
|-
| DUMP_SCRIPTS
| DEBUG_WII_GDB
|
|
|
|
|
|
|-
|-
| DUMP_STDOUT
| DEBUG_WII_MEMSTATS
|
|
|
|
|
|
|-
|-
| DW2_EXACT_SIZE
| DETECTOR_TESTING_HACK
|
|
|
|
|
|
|-
|-
| DXA_EXPERIMENT_MAXD
| DL_DEBUG
|
|
|
|
|
|
|-
|-
| ENABLE_RENDER_MEASURE
| DUMP_OBJECT
|
|
|
|
|
|
|-
|-
| EPOC_AS_APP
| DUMP_SCRIPT
|
|
|
|
|
|
|-
|-
| FILE_TIME_SUPPORT
| DUMP_SCRIPTS
|
|
|
|
|
|
|-
|-
| FORCEINLINE
| DUMP_STDOUT
|
|
|
|
|
|
|-
|-
| FORCE_SLIDY
| ENABLE_PROFILING
|
|
|
|
Line 503: Line 743:
|
|
|-
|-
| GAMECUBE
| INTRO_TEST
|
|
|
|
|
|
|-
|-
| GUI_THEME_EVAL
| LAYOUT_DEBUG_DIALOG
|
|
|
|
|
|
|-
|-
| HEAVY_LOGGING
| PSP_ENABLE_SPEED_TESTS
|
|
|
|
|
|
|-
|-
| INADDR_NONE
| PSP_ENABLE_UNIT_TESTS
|
|
|
|
|
|
|-
|-
| INCLUDED_FROM_BASE_VERSION_CPP
| SAGA_DEBUG
|
|
|
|
|
|
|-
|-
| INTRO_TEST
| SCENE_DEBUG
|
|
|
|
|
|
|-
|-
| IPHONE
| SCI_DEBUG_PARSE_TREE_AUGMENTATION
|
|
|
|
|
|
|-
|-
| IPHONE_OFFICIAL
| SCI_VERBOSE_RESMAN
|
|
|
|
|
|
|-
|-
| JAPAN
| SCRIPT_DEBUG
|
|
|
|
|
|
|-
|-
| JOY_ANALOG
| SCRIPT_TEST
|
|
|
|
|
|
|-
|-
| JOY_INVERT_Y
| SWORD2_DEBUG
|
|
|
|
|
|
|-
|-
| LAYOUT_DEBUG_DIALOG
| TEST_MEMORY_COPY
|
|
|
|
|
|
|-
|-
| LEGACY_FLAC
| USE_PROFILER
|
|
|
|
|
|
|-
|-
| LIMIT_FPS
| VM_DEBUG_SEND
|
|
|
|
|
|
|-
|-
| LIMIT_FRAME_RATE
| __PS2_DEBUG__
|
|
|
|
|
|
|-
|-
| LINUPY
| __PS2_FILE_DEBUG__
|
|
|
|
|
|
|-
|-
| LINUXMOTO_SDL
| __PSP_DEBUG_FUNCS__
|
|
|
|
|
|
|-
|-
| LURE_CLICKABLE_MENUS
| __PSP_DEBUG_PRINT__
|
|
|
|
|
|
|-
|-
| MACOSX
| __PSP_PRINT_TO_FILE__
|
|
|
|
|
|
|}
==Defines useful for release builds==
{| border="1" cellspacing="0" cellpadding="2"
|-
|-
| MAC_OPTIONS
! Token
! Defined by
! Used in
! Purpose
|-
| RELEASE_BUILD
| The build system.
|
|
| This is (and should be) defined for all release builds.
|-
| NDEBUG
|
|
|
|
| This define disables all assertions. We usually do not set this, i.e. ship releases with assertions.
|}
==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"
|-
|-
| MAXPATHLEN
! Token
! Defined by
! Used in
! Purpose
|-
| COREAUDIO_DISABLE_REVERB
|
|
|
|
|
|
|-
|-
| MAXTRAX_HAS_MICROTONAL
| DETECT_BRODERBUND_TITLES
|
|
|
|
|
|
|-
|-
| MAXTRAX_HAS_MODULATION
| DISABLE_MD5
|
|
|
|
|
|
|-
|-
| MAX_INT
| DISC_CACHE
|
|
|
|
|
|
|-
|-
| MIN
| DITHER
|
|
|
|
|
|
|-
|-
| MIXER_DOUBLE_BUFFERING
| DRAW_GRAPHICS
|
|
|
|
|
|
|-
|-
| MOTOEZX
| DW2_EXACT_SIZE
|
|
|
|
|
|
|-
|-
| MOTOMAGX
| DXA_EXPERIMENT_MAXD
|
|
|
|
|
|
|-
|-
| MT32EMU_HAVE_X86
| ENABLE_RENDER_MEASURE
|
|
|
|
|
|
|-
|-
| NDEBUG
| EPOC_AS_APP
|
|
|
|
|
|
|-
|-
| NDS
| FILE_TIME_SUPPORT
|
|
|
|
|
|
|-
|-
| NORETURN_POST
| FORCEINLINE
|
|
|
|
|
|
|-
|-
| NORETURN_PRE
| FORCE_SLIDY
|
|
|
|
|
|
|-
|-
| NOSERIAL
| GUI_THEME_EVAL
|
|
|
|
|
|
|-
|-
| NO_ADAPTOR
| HEAVY_LOGGING
|
|
|
|
|
|
|-
|-
| OUTPUT_UNSIGNED_AUDIO
| INADDR_NONE
|
|
|
|
|
|
|-
|-
| PATH_MAX
| INCLUDED_FROM_BASE_VERSION_CPP
|
|
|
|
|
|
|-
|-
| PERFECT_5_TO_4_RESCALING
| JAPAN
|
|
|
|
|
|
|-
|-
| PRINT_BUFFERS
| JOY_ANALOG
|
|
|
|
|
|
|-
|-
| PSP_ENABLE_SPEED_TESTS
| JOY_INVERT_Y
|
|
|
|
|
|
|-
|-
| PSP_ENABLE_UNIT_TESTS
| LIMIT_FPS
|
|
|
|
|
|
|-
|-
| PSP_KB_SHELL
| LIMIT_FRAME_RATE
|
|
|
|
|
|
|-
|-
| QTOPIA
| MAC_OPTIONS
|
|
|
|
|
|
|-
|-
| REDUCE_MEMORY_USAGE
| MAXPATHLEN
|
|
|
|
|
|
|-
|-
| REG_EXEMEMCNT
| MAXTRAX_HAS_MICROTONAL
|
|
|
|
|
|
|-
|-
| REG_EXMEMCNT
| MAXTRAX_HAS_MODULATION
|
|
|
|
|
|
|-
|-
| RELEASE_BUILD
| MAX_INT
|
|
|
|
|
|
|-
|-
| RONIN_TIMER_ACCESS
| MIN
|
|
|
|
|
|
|-
|-
| S60
| NORETURN_POST
|
|
|
|
|
|
|-
|-
| SAGA_DEBUG
| NORETURN_PRE
|
|
|
|
|
|
|-
|-
| SAMPLES_PER_SEC_8000
| NOSERIAL
|
|
|
|
|
|
|-
|-
| SCALER_PROFILE
| NO_ADAPTOR
|
|
|
|
|
|
|-
|-
| SCENE_DEBUG
| PATH_MAX
|
|
|
|
|
|
|-
|-
| SCI_CONSOLE
| PERFECT_5_TO_4_RESCALING
|
|
|
|
|
|
|-
|-
| SCI_DEBUG_PARSE_TREE_AUGMENTATION
| PRINT_BUFFERS
|
|
|
|
|
|
|-
|-
| SCI_VERBOSE_RESMAN
| PSP_KB_SHELL
|
|
|
|
|
|
|-
|-
| SCRIPT_DEBUG
| REG_EXEMEMCNT
|
|
|
|
|
|
|-
|-
| SCRIPT_TEST
| REG_EXMEMCNT
|
|
|
|
|
|
|-
|-
| SCUMMVM_DONT_DEFINE_TYPES
| RONIN_TIMER_ACCESS
|
|
|
|
|
|
|-
|-
| SCUMMVM_IPC_INCLUDE
| SAMPLES_PER_SEC_8000
|
|
|
|
|
|
|-
|-
| SCUMMVM_SVN_REVISION
| SCALER_PROFILE
|
|
|
|
|
|
|-
|-
| SCUMM_BIG_ENDIAN
| SCI_CONSOLE
|
|
|
|
|
|-
| SCUMMVM_SVN_REVISION
| The build system.
|
|
| Appends the specified revision number to the version string.
|-
|-
| SCUMM_IMUSE_INTERNAL
| SCUMM_IMUSE_INTERNAL
Line 828: Line 1,100:
|
|
|-
|-
| SMALL_SCREEN_DEVICE
| SCUMMVM_IPC_INCLUDE
|
|
|
|
Line 843: Line 1,115:
|
|
|-
|-
| STREAM_AUDIO_FROM_DISK
| STRINGBUFLEN
|
|
|
|-
| SYSEX_CALLBACK_FUNCTION
|
|
|
|-
| TIMIDITY_LOW_DELAY
|
|
|
|-
| UNICODE
|
|
|
|-
| UNZ_BUFSIZE
|
|
|
|
|
|
|-
|-
| STRINGBUFLEN
| UNZ_MAXFILENAMEINZIP
|
|
|
|
|
|
|-
|-
| SWORD2_DEBUG
| UPGRADE_ALL_TARGETS_HACK
|
|
|
|
|
|
|-
|-
| SYSEX_CALLBACK_FUNCTION
| USERSPACE_ONLY
|
|
|
|
|
|
|-
|-
| TEST_MEMORY_COPY
| USE_HASHMAP_MEMORY_POOL
|
|
|
|
|
|
|-
|-
| TIMIDITY_LOW_DELAY
| WAVE_PRECISION
|
|
|
|
|
|
|-
|-
| UIQ
| WIN32_PLATFORM_WFSP
|
|
|
|
|
|
|-
|-
| UNICODE
| WRAP_MALLOC
|
|
|
|
|
|
|-
|-
| UNIX
| __FRAMFS_SAVE_MANAGER__
|
|
|
|
|
|
|-
|-
| UNZ_BUFSIZE
| __MINGW32CE__
|
|
|
|
|
|
|-
|-
| UNZ_MAXFILENAMEINZIP
| __MMX__
|
|
|
|
|
|
|-
|-
| UPGRADE_ALL_TARGETS_HACK
| __N64_PORTDEFS__
|
|
|
|
|
|
|-
|-
| USERSPACE_ONLY
| __PAKFS_SAVE_MANAGER__
|
|
|
|
|
|
|-
|-
| USE_HASHMAP_MEMORY_POOL
| __PS2FILE_IO__
|
|
|
|
|
|
|-
|-
| VM_DEBUG_SEND
| __PS2_FILE_SEMA__
|
|
|
|
|
|
|-
|-
| WAVE_PRECISION
| __SSE__
|
|
|
|
|
|
|-
|-
| WIN32
| __USE_INLINE__
|
|
|
|
|
|
|-
|-
| WIN32_PLATFORM_WFSP
| __USE_LIBMC__
|
|
|
|
|
|
|}
=Defines used to determine the target platform/OS=
{| border="1" cellspacing="0" cellpadding="2"
|-
! Token
! Defined by
! Used in
! Purpose
|-
|-
| WRAP_MALLOC
| ANDROID
|
|
|
|
|
|
|-
|-
| __DC__
| ARM
|
|
|
|
|
|
|-
|-
| __DS__
| GAMECUBE
|
|
|
|
|
|
|-
|-
| __FRAMFS_SAVE_MANAGER__
| IPHONE
|
|
|
|
|
|
|-
|-
| __MINGW32CE__
| IPHONE_OFFICIAL
|
|
|
|
|
|
|-
|-
| __MMX__
| LINUPY
|
|
|
|
|
|
|-
|-
| __N64_PORTDEFS__
| LINUXMOTO_SDL
|
|
|
|
|
|
|-
|-
| __N64__
| MACOSX
|
|
|
|
|
|
|-
|-
| __OS2__
| MOTOEZX
|
|
|
|
|
|
|-
|-
| __PAKFS_SAVE_MANAGER__
| MOTOMAGX
|
|
|
|
|
|
|-
|-
| __PLAYSTATION2__
| NDS
|
|
|
|
|
|
|-
|-
| __PS2FILE_IO__
| QTOPIA
|
|
|
|
|
|
|-
|-
| __PS2_DEBUG__
| S60
|
|
|
|
|
|
|-
|-
| __PS2_FILE_DEBUG__
| UIQ
|
|
|
|
|
|
|-
|-
| __PS2_FILE_SEMA__
| UNIX
|
|
|
|
|
|-
| WEBOS
| Build system
|
|
| [[WebOS]] port
|-
|-
| __PSP_DEBUG_FUNCS__
| WIN32
|
|
|
|
|
|
|-
|-
| __PSP_DEBUG_PRINT__
| __DC__
|
|
|
|
|
|
|-
|-
| __PSP_PRINT_TO_FILE__
| __DS__
|
|
|
|
|
|
|-
|-
| __PSP__
| __N64__
|
|
|
|
|
|
|-
|-
| __sgi
| __OS2__
|
|
|
|
|
|
|-
|-
| __SSE__
| __PLAYSTATION2__
|
|
|
|
|
|
|-
|-
| __SYMBIAN32__
| __PSP__
|
|
|
|
|
|
|-
|-
| __USE_INLINE__
| __sgi
|
|
|
|
|
|
|-
|-
| __USE_LIBMC__
| __SYMBIAN32__
|
|
|
|
TrustedUser
2,147

edits

Navigation menu