XFcCoreEnums.h File Reference

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# XFcCoreEnums.h File Reference

Core enumerations. More...

This graph shows which files directly or indirectly include this file:

## Enumerations

enum

XFCPLATFORM {
XFCPLATFORM_WINDOWS = 0x01000000,
XFCPLATFORM_EPOC = 0x02000000,
XFCPLATFORM_S60 = 0x024F6001,
XFCPLATFORM_N7650 = 0x024E6001,
XFCPLATFORM_N3650 = 0x024F6002,
XFCPLATFORM_NGAGE = 0x024F6003,
XFCPLATFORM_SEP800 = 0x02531e01,
XFCPLATFORM_LINUX = 0x03000000,
XFCPLATFORM_WINCE = 0x04000000,
XFCPLATFORM_IPAQ3600 = 0x04013600,
XFCPLATFORM_IPAQ3800 = 0x04013800,
XFCPLATFORM_PALM = 0x05000000,
XFCPLATFORM_MASK = 0xff000000
}

| Constants for platform id. More...

enum

XFCBLENDMODE_2D {
XFCBLEND_NONE,
XFCBLEND_ALPHA,
XFCBLEND_ALPHA_FAST,
XFCBLEND_MUL,
XFCBLEND_MUL_FAST,
XFCBLEND_ADD,
XFCBLEND_ADD_FAST,
XFCBLEND_INVMUL,
XFCBLEND_INVMUL_FAST
}

| Constants for sprite blend modes. More...

enum

XFCSURFACETRANSFORM_2D {
XFCTRANSFORM_FLIP_HORIZONTAL = 0x1,
XFCTRANSFORM_FLIP_VERTICAL = 0x2,
XFCTRANSFORM_ROTATE_0 = (0x0 << 2),
XFCTRANSFORM_ROTATE_90 = (0x1 << 2),
XFCTRANSFORM_ROTATE_180 = (0x2 << 2),
XFCTRANSFORM_ROTATE_270 = (0x3 << 2),
XFCTRANSFORM_ROTATE_MASK = (0x3 << 2)
}

| Constants for surface transformation flags. More...
enum | XFCGFXFLAGS { XFCGFX_DISCARDCONTENTS = 256, XFCGFX_DISCARDCHANGES = 512 }
| Misc gfx flags. More...

enum

XFCGFXFORMAT {
XFCGF_DEFAULT = 0,
XFCGF_R5G6B5 = 1,
XFCGF_X8R8G8B8 = 2,
XFCGF_A1R5G5B5 = 3,
XFCGF_A8R8G8B8 = 4,
XFCGF_X6X5X5 = 5,
XFCGF_1X5X5X5 = 6,
XFCGF_PAL55X5 = 7,
XFCGF_R5G5X1B5 = 8,
XFCGF_R5G5A1B5 = 9,
XFCGF_PREMULA8R8G8B8 = 10
}

| Constants for framebuffer formats. More...
enum | XFCRESOURCEFLAGS { XFCRESOURCE_DEFAULT = 0x0, XFCRESOURCE_NONREMOVABLE = 0x1, XFCRESOURCE_NONMOVABLE = 0x3 }
| Bitmasks for resource type. More...

enum

XFCDEVICESTATEEVENTS {
XFCDSE_FOCUSLOST = 1,
XFCDSE_FOCUSGAIN,
XFCDSE_AUDIOLOST,
XFCDSE_KILLSIGNAL,
XFCDSE_MEDIACHANGED,
XFCDSE_LOWMEMORY,
XFCDSE_PHONEEVENT,
XFCDSE_LOWBATTERY
}

| Device state events. More...

enum

XFCPHONEEVENT {
XFCPE_IDLE,
XFCPE_DIALLING,
XFCPE_RINGING,
XFCPE_ANSWERING,
XFCPE_CONNECTING,
XFCPE_CONNECTED,
XFCPE_HANGINGUP
}

enum | XFCDEVICESTATEEVENTSEVERITY { XFCDSE_SEVERITY_NOTE = 0, XFCDSE_SEVERITY_MODERATE, XFCDSE_SEVERITY_CRITICAL }
| Recommendations what to do when some device state event happens. More...
enum | XFCMEMORYFLAGS { XFCMEMORY_DEFAULT = 0, XFCMEMORY_TEMPORARY = 1 }
| Memory allocation flags. More...
enum | XFCOUTOFMEMORYACTION { XFCOMA_NONE = 0, XFCOMA_PANIC = 1, XFCOMA_ASSERT = 2 }
| Out of memory action flags. More...
enum | XFCIDLEMODE { XFCIM_ACTIVE = 0, XFCIM_IDLE = 1 }
| Device idle mode flags. More...

enum

XFCLOCALES {
XFCLOC_NONE = 0,
XFCLOC_AFAR,
XFCLOC_ABKHAZIAN,
XFCLOC_AFRIKAANS,
XFCLOC_AMHARIC,
XFCLOC_ARABIC,
XFCLOC_ASSAMESE,
XFCLOC_AYMARA,
XFCLOC_AZERBAIJ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FCLOC_MALAY,
XFCLOC_MALTESE,
XFCLOC_BURMESE,
XFCLOC_NAURU,
XFCLOC_NEPALI,
XFCLOC_DUTCH,
XFCLOC_NORWEGIAN,
XFCLOC_OCCITAN,
XFCLOC_OROMO,
XFCLOC_ORIYA,
XFCLOC_PUNJABI,
XFCLOC_POLISH,
XFCLOC_PASHTO,
XFCLOC_PORTUGUESE,
XFCLOC_QUECHUA,
XFCLOC_RHAETO,
XFCLOC_KIRUNDI,
XFCLOC_ROMANIAN,
XFCLOC_RUSSIAN,
XFCLOC_KINYARWANDA,
XFCLOC_SANSKRIT,
XFCLOC_SINDHI,
XFCLOC_SANGHO,
XFCLOC_SINHALESE,
XFCLOC_SLOVAK,
XFCLOC_SLOVENIAN,
XFCLOC_SAMOAN,
XFCLOC_SHONA,
XFCLOC_SOMALI,
XFCLOC_ALBANIAN,
XFCLOC_SERBIAN,
XFCLOC_SISWATI,
XFCLOC_SESOTHO,
XFCLOC_SUNDANESE,
XFCLOC_SWEDISH,
XFCLOC_SWAHILI,
XFCLOC_TAMIL,
XFCLOC_TELUGU,
XFCLOC_TAJIK,
XFCLOC_THAI,
XFCLOC_TIGRINYA,
XFCLOC_TURKMEN,
XFCLOC_TAGALOG,
XFCLOC_SETSWANA,
XFCLOC_TONGA,
XFCLOC_TURKISH,
XFCLOC_TSONGA,
XFCLOC_TATAR,
XFCLOC_TWI,
XFCLOC_UIGHUR,
XFCLOC_UKRAINIAN,
XFCLOC_URDU,
XFCLOC_UZBEK,
XFCLOC_VIETNAMESE,
XFCLOC_VOLAPUK,
XFCLOC_WOLOF,
XFCLOC_XHOSA,
XFCLOC_YIDDISH,
XFCLOC_YORUBA,
XFCLOC_ZHUANG,
XFCLOC_CHINESE,
XFCLOC_ZULU
}

| List of all possible locales. More...

## Detailed Description

Core enumerations.

X-Forge Core
Copyright 2000-2003 Fathammer Ltd

Id
  XFcCoreEnums.h,v 1.30 2003/09/30 09:18:24 jouni Exp

Date
  2003/09/30 09:18:24

Revision
  1.30

## Enumeration Type Documentation

enum XFCBLENDMODE_2D

Constants for sprite blend modes.

Enumeration values:

  XFCBLEND_NONE | No blending (default).
  XFCBLEND_ALPHA | Alpha blend (crossfade).
  XFCBLEND_ALPHA_FAST | Fast 50:50 (avg) alpha.
  XFCBLEND_MUL | Multiplicative blending.
  XFCBLEND_MUL_FAST | Fast 100% mul blend.
  XFCBLEND_ADD | Additive blend.
  XFCBLEND_ADD_FAST | Fast 100% add blend.
  XFCBLEND_INVMUL | Inverse multiplication.
  XFCBLEND_INVMUL_FAST | Fast 100% inverse mul blend.

enum XFCDEVICESTATEEVENTS

Device state events.

Enumeration values:

  XFCDSE_FOCUSLOST | Application has lost focus.
  XFCDSE_FOCUSGAIN | Application has (re)gained focus.
  XFCDSE_AUDIOLOST | Application has lost audio. Application can try to re-init audio later.
  XFCDSE_KILLSIGNAL | Operating system tells program to terminate.
  XFCDSE_MEDIACHANGED | Removable media has been removed or inserted.
  XFCDSE_LOWMEMORY | Operating system is low on memory. (Freeing memory from X-Forge memory pool won't help).
  XFCDSE_PHONEEVENT | Some phone event (incoming call, SMS, etc) has occured.
  XFCDSE_LOWBATTERY | Low battery warning; game should not start any power-intensive operations (such as a race in a racing game).

enum XFCDEVICESTATEEVENTSEVERITY

Recommendations what to do when some device state event happens.

Enumeration values:

  XFCDSE_SEVERITY_NOTE | Application may choose to ignore this event.
  XFCDSE_SEVERITY_MODERATE | Application should go to a pause mode, and shut down audio.
  XFCDSE_SEVERITY_CRITICAL | Application should shut down its threads and terminate immediately.

enum XFCGFXFLAGS

Misc gfx flags.

Enumeration values:

  XFCGFX_DISCARDCONTENTS | Discard contents on lock.
  XFCGFX_DISCARDCHANGES | Discard changes on unlock.

enum XFCGFXFORMAT

Constants for framebuffer formats.

Enumeration values:

  XFCGF_DEFAULT | Preferred (hardware-supported) mode.
  XFCGF_R5G6B5 | 16-bit color.
  XFCGF_X8R8G8B8 | 8+24-bit color (8 bit for padding).
  XFCGF_A1R5G5B5 | 16-bit color with 1-bit alpha.
  XFCGF_A8R8G8B8 | 32-bit color with 8-bit alpha.
  XFCGF_X6X5X5 | Special 32-bit format with 5:6:5:5:6:5 bit mask, XGXRXB.
  XFCGF_1X5X5X5 | same as XFCGF_X6X5X5, with topmost bit as alpha.
  XFCGF_PAL55X5 | Paletted 55X5bit format (512B palette in the beginning of 8bit surface).
  XFCGF_R5G5X1B5 | 16-bit color with 5 bits in green component.
  XFCGF_R5G5A1B5 | 16-bit color with 5 bits in green component, 1-bit alpha in LSB of green component.
  XFCGF_PREMULA8R8G8B8 | 32-bit color with 8-bit alpha, color components are premultiplied with the alpha

enum XFCIDLEMODE

Device idle mode flags.

Enumeration values:

  XFCIM_ACTIVE |
  XFCIM_IDLE | Default: keep device active even though user does nothing.

enum XFCLOCALES

List of all possible locales.

Enumeration values:

  XFCLOC_NONE |
  XFCLOC_AFAR |
  XFCLOC_ABKHAZIAN |
  XFCLOC_AFRIKAANS |
  XFCLOC_AMHARIC |
  XFCLOC_ARABIC |
  XFCLOC_ASSAMESE |
  XFCLOC_AYMARA |
  XFCLOC_AZERBAIJANI |
  XFCLOC_BASHKIR |
  XFCLOC_BYELORUSSIAN |
  XFCLOC_BULGARIAN |
  XFCLOC_BIHARI |
  XFCLOC_BISLAMA |
  XFCLOC_BENGALI |
  XFCLOC_TIBETAN |
  XFCLOC_BRETON |
  XFCLOC_CATALAN |
  XFCLOC_CORSICAN |
  XFCLOC_CZECH |
  XFCLOC_WELSH |
  XFCLOC_DANISH |
  XFCLOC_GERMAN |
  XFCLOC_BHUTANI |
  XFCLOC_GREEK |
  XFCLOC_ENGLISH |
  XFCLOC_ESPERANTO |
  XFCLOC_SPANISH |
  XFCLOC_ESTONIAN |
  XFCLOC_BASQUE |
  XFCLOC_PERSIAN |
  XFCLOC_FINNISH |
  XFCLOC_FIJI |
  XFCLOC_FAROESE |
  XFCLOC_FRENCH |
  XFCLOC_FRISIAN |
  XFCLOC_IRISH |
  XFCLOC_GAELIC |
  XFCLOC_GALICIAN |
  XFCLOC_GUARANI |
  XFCLOC_GUJARATI |
  XFCLOC_HAUSA |
  XFCLOC_HEBREW |
  XFCLOC_HINDI |
  XFCLOC_CROATIAN |
  XFCLOC_HUNGARIAN |
  XFCLOC_ARMENIAN |
  XFCLOC_INTERLINGUA |
  XFCLOC_INDONESIAN |
  XFCLOC_INTERLINGUE |
  XFCLOC_INUPIAK |
  XFCLOC_ICELANDIC |
  XFCLOC_ITALIAN |
  XFCLOC_INUKTITUT |
  XFCLOC_JAPANESE |
  XFCLOC_JAVANESE |
  XFCLOC_GEORGIAN |
  XFCLOC_KAZAKH |
  XFCLOC_GREENLANDIC |
  XFCLOC_CAMBODIAN |
  XFCLOC_KANNADA |
  XFCLOC_KOREAN |
  XFCLOC_KASHMIRI |
  XFCLOC_KURDISH |
  XFCLOC_KIRGHIZ |
  XFCLOC_LATIN |
  XFCLOC_LINGALA |
  XFCLOC_LAOTHIAN |
  XFCLOC_LITHUANIAN |
  XFCLOC_LATVIAN |
  XFCLOC_MALAGASY |
  XFCLOC_MAORI |
  XFCLOC_MACEDONIAN |
  XFCLOC_MALAYALAM |
  XFCLOC_MONGOLIAN |
  XFCLOC_MOLDAVIAN |
  XFCLOC_MARATHI |
  XFCLOC_MALAY |
  XFCLOC_MALTESE |
  XFCLOC_BURMESE |
  XFCLOC_NAURU |
  XFCLOC_NEPALI |
  XFCLOC_DUTCH |
  XFCLOC_NORWEGIAN |
  XFCLOC_OCCITAN |
  XFCLOC_OROMO |
  XFCLOC_ORIYA |
  XFCLOC_PUNJABI |
  XFCLOC_POLISH |
  XFCLOC_PASHTO |
  XFCLOC_PORTUGUESE |
  XFCLOC_QUECHUA |
  XFCLOC_RHAETO |
  XFCLOC_KIRUNDI |
  XFCLOC_ROMANIAN |
  XFCLOC_RUSSIAN |
  XFCLOC_KINYARWANDA |
  XFCLOC_SANSKRIT |
  XFCLOC_SINDHI |
  XFCLOC_SANGHO |
  XFCLOC_SINHALESE |
  XFCLOC_SLOVAK |
  XFCLOC_SLOVENIAN |
  XFCLOC_SAMOAN |
  XFCLOC_SHONA |
  XFCLOC_SOMALI |
  XFCLOC_ALBANIAN |
  XFCLOC_SERBIAN |
  XFCLOC_SISWATI |
  XFCLOC_SESOTHO |
  XFCLOC_SUNDANESE |
  XFCLOC_SWEDISH |
  XFCLOC_SWAHILI |
  XFCLOC_TAMIL |
  XFCLOC_TELUGU |
  XFCLOC_TAJIK |
  XFCLOC_THAI |
  XFCLOC_TIGRINYA |
  XFCLOC_TURKMEN |
  XFCLOC_TAGALOG |
  XFCLOC_SETSWANA |
  XFCLOC_TONGA |
  XFCLOC_TURKISH |
  XFCLOC_TSONGA |
  XFCLOC_TATAR |
  XFCLOC_TWI |
  XFCLOC_UIGHUR |
  XFCLOC_UKRAINIAN |
  XFCLOC_URDU |
  XFCLOC_UZBEK |
  XFCLOC_VIETNAMESE |
  XFCLOC_VOLAPUK |
  XFCLOC_WOLOF |
  XFCLOC_XHOSA |
  XFCLOC_YIDDISH |
  XFCLOC_YORUBA |
  XFCLOC_ZHUANG |
  XFCLOC_CHINESE |
  XFCLOC_ZULU |

enum XFCMEMORYFLAGS

Memory allocation flags.

Enumeration values:

  XFCMEMORY_DEFAULT |
  XFCMEMORY_TEMPORARY | Normal memory allocation.

enum XFCOUTOFMEMORYACTION

Out of memory action flags.

Enumeration values:

  XFCOMA_NONE |
  XFCOMA_PANIC | Do nothing when memory runs out.
  XFCOMA_ASSERT | Cause a system panic when memory runs out.

enum XFCPHONEEVENT

Enumeration values:

  XFCPE_IDLE |
  XFCPE_DIALLING |
  XFCPE_RINGING |
  XFCPE_ANSWERING |
  XFCPE_CONNECTING |
  XFCPE_CONNECTED |
  XFCPE_HANGINGUP |

enum XFCPLATFORM

Constants for platform id.

Enumeration values:

  XFCPLATFORM_WINDOWS | Desktop windows platform (simulator).
  XFCPLATFORM_EPOC | EPOC.
  XFCPLATFORM_S60 | Nokia Series 60.
  XFCPLATFORM_N7650 | Nokia 7650.
  XFCPLATFORM_N3650 | Nokia 3650.
  XFCPLATFORM_NGAGE | Nokia N-Gage.
  XFCPLATFORM_SEP800 | Sony-Ericcsson P800.
  XFCPLATFORM_LINUX | Linux.
  XFCPLATFORM_WINCE | WinCE.
  XFCPLATFORM_IPAQ3600 | Compaq iPaq 3600 (no diagonals).
  XFCPLATFORM_IPAQ3800 | Compaq iPaq 3800 (needs display hack).
  XFCPLATFORM_PALM | PalmOS.
  XFCPLATFORM_MASK | Mask for the major platform type.

enum XFCRESOURCEFLAGS

Bitmasks for resource type.

Enumeration values:

  XFCRESOURCE_DEFAULT | Resource is movable and removable.
  XFCRESOURCE_NONREMOVABLE | Resource is movable and non-removable.
  XFCRESOURCE_NONMOVABLE | Resource is non-movable and non-removable.

enum XFCSURFACETRANSFORM_2D

Constants for surface transformation flags.

Enumeration values:

  XFCTRANSFORM_FLIP_HORIZONTAL | Flip surface horizontally (up/down).
  XFCTRANSFORM_FLIP_VERTICAL | Flip surface vertically (left/right).
  XFCTRANSFORM_ROTATE_0 | Perform no rotation.
  XFCTRANSFORM_ROTATE_90 | Rotate 90 degrees clockwise.
  XFCTRANSFORM_ROTATE_180 | Rotate 180 degrees clockwise.
  XFCTRANSFORM_ROTATE_270 | Rotate 270 degrees clockwise.
  XFCTRANSFORM_ROTATE_MASK | Used internally.

|  | X-Forge Documentation Confidential Copyright © 2002-2003 Fathammer |  | Documentation generated with doxygen by Dimitri van Heesch