#ifndef __COMMONSCRIPTDEFINE_H__ #define __COMMONSCRIPTDEFINE_H__ // platform const int PLATFORM_UNKNOWN = 0; const int PLATFORM_WIN32 = 1; const int PLATFORM_XBOX = 2; // see GraUtil.h const int BLEND_MODE_NONE = 0; const int BLEND_MODE_ALPHA = 1; const int BLEND_MODE_MODULATE = 2; const int BLEND_MODE_ADD = 3; const int BLEND_MODE_SUB = 4; const int BLEND_MODE_INVERT = 5; const int BLEND_MODE_MAX = 6; const int TEXT_ALIGN_LEFT = 0; const int TEXT_ALIGN_CENTER = 1; const int TEXT_ALIGN_CENTER_X = 1; const int TEXT_ALIGN_RIGHT = 2; const int TEXT_ALIGN_CENTER_Y = 4; const int TEXT_ALIGN_CENTER_XY = 5; const int TEXT_MULTILINES = 8; const int TEXT_SHADOW = 16; const int TEXT_ITALIC = 32; const int TEXT_MULTICOLOR = 64; const int TEXT_ZALWAYS = 256; // see UIBase const int UI_ALIGN_CENTER_X = 1; const int UI_ALIGN_CENTER_Y = 2; const int UI_ALIGN_CENTER_XY = 3; const int UI_ALIGN_RIGHT = 4; const int UI_ALIGN_BOTTOM = 8; // pause const int PAUSE_NONE = 0; const int PAUSE_PLAYER = 1; const int PAUSE_CAMERA = 2; const int PAUSE_OBJ = 4; const int PAUSE_GAME = 8; const int PAUSE_SCENE = 16; // see InputDevice.h const int BUTTONKEY_A = 512; const int BUTTONKEY_B = 513; const int BUTTONKEY_X = 514; const int BUTTONKEY_Y = 515; const int BUTTONKEY_LTRIGGER = 516; const int BUTTONKEY_RTRIGGER = 517; const int BUTTONKEY_LTHUMB = 518; const int BUTTONKEY_RTHUMB = 519; const int BUTTONKEY_BLACK = 520; const int BUTTONKEY_WHITE = 521; const int BUTTONKEY_START = 522; const int BUTTONKEY_BACK = 523; const int BUTTONKEY_JOY1_UP = 524; const int BUTTONKEY_JOY1_DOWN = 525; const int BUTTONKEY_JOY1_LEFT = 526; const int BUTTONKEY_JOY1_RIGHT = 527; const int BUTTONKEY_JOY2_UP = 528; const int BUTTONKEY_JOY2_DOWN = 529; const int BUTTONKEY_JOY2_LEFT = 530; const int BUTTONKEY_JOY2_RIGHT = 531; const int BUTTONKEY_PAD_UP = 532; const int BUTTONKEY_PAD_DOWN = 533; const int BUTTONKEY_PAD_LEFT = 534; const int BUTTONKEY_PAD_RIGHT = 535; const int BUTTONKEY_MOUSE_LEFT = 536; const int BUTTONKEY_MOUSE_RIGHT = 537; const int BUTTONKEY_MOUSE_CENTER = 538; // see ModelEntity const int MODEL_EFFECT_GLOW = 1; const int MODEL_EFFECT_REFRACTION = 2; const int MODEL_EFFECT_ALPHA = 3; // quit, see XBoxSysUtil const int QUIT_NORMAL = 0; const int QUIT_DASHBOARD_MEMORY = 10; const int QUIT_DASHBOARD_SETTINGS = 11; const int QUIT_DASHBOARD_MUSIC = 12; // rumble // // Strength: 0 - 1. 0 = No Rumble. 1 = Full rumble. // // // param1 , param2 default values // , const int RUMBLE_FLAT = 0; // amplitude [0..1] , 0.5 const int RUMBLE_SINEWAVE = 1; // amplitude [0..1] , period (secs) 1, 1 const int RUMBLE_SQUAREWAVE = 2; // amplitude [0..1] , period (secs) 1, 1 const int RUMBLE_SAWTOOTHWAVE1 = 3; // amplitude [0..1] , period (secs) 1, 1 const int RUMBLE_SAWTOOTHWAVE2 = 4; // amplitude [0..1] , period (secs) 1, 1 const int RUMBLE_GRADIENT = 5; // start [0..1] , end [0..1] 0, 1 const int RUMBLE_RANDOM = 6; // min [0..1] , max [0..1] 0, 1 const int RUMBLE_NUM_STYLES = 7; // END MARKER const int MOTOR_LEFT = 0; // Large motor const int MOTOR_RIGHT = 1; // Small motor const int MOTOR_BOTH = 2; // Both motors // see GAudio.cpp const int ENVIRONMENT_DEFAULT = 0; const int ENVIRONMENT_GENERIC = 1; const int ENVIRONMENT_PADDEDCELL = 2; const int ENVIRONMENT_ROOM = 3; const int ENVIRONMENT_BATHROOM = 4; const int ENVIRONMENT_LIVINGROOM = 5; const int ENVIRONMENT_STONEROOM = 6; const int ENVIRONMENT_AUDITORIUM = 7; const int ENVIRONMENT_CONCERTHALL = 8; const int ENVIRONMENT_CAVE = 9; const int ENVIRONMENT_ARENA = 10; const int ENVIRONMENT_HANGAR = 11; const int ENVIRONMENT_CARPETEDHALLWAY = 12; const int ENVIRONMENT_HALLWAY = 13; const int ENVIRONMENT_STONECORRIDOR = 14; const int ENVIRONMENT_ALLEY = 15; const int ENVIRONMENT_FOREST = 16; const int ENVIRONMENT_CITY = 17; const int ENVIRONMENT_MOUNTAINS = 18; const int ENVIRONMENT_QUARRY = 19; const int ENVIRONMENT_PLAIN = 20; const int ENVIRONMENT_PARKINGLOT = 21; const int ENVIRONMENT_SEWERPIPE = 22; const int ENVIRONMENT_UNDERWATER = 23; #endif