//Microsoft Developer Studio generated resource script.
//
#include "Ch18p2_resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define IDC_STATIC -1
#include <windows.h>



/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_MAIN_ICON           ICON    DISCARDABLE     "Ch18p2_MainIcon.ico"

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "Ch18p2_resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#define IDC_STATIC -1\r\n"
    "#include <windows.h>\r\n"
    "\r\n"
    "\r\n"
    "\0"
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//

IDR_MAIN_ACCEL ACCELERATORS DISCARDABLE 
BEGIN
    VK_ESCAPE,      IDM_EXIT,               VIRTKEY, NOINVERT
    VK_F1,          IDM_TOGGLEHELP,         VIRTKEY, NOINVERT
    VK_F2,          IDM_CHANGEDEVICE,       VIRTKEY, NOINVERT
    VK_RETURN,      IDM_TOGGLESTART,        VIRTKEY, NOINVERT
    VK_RETURN,      IDM_TOGGLEFULLSCREEN,   VIRTKEY, ALT, NOINVERT
    VK_SPACE,       IDM_SINGLESTEP,         VIRTKEY, NOINVERT
    "X",            IDM_EXIT,               VIRTKEY, ALT, NOINVERT
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_SELECTDEVICE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 259
        TOPMARGIN, 7
    END

    IDD_PARTICLEPROPS, DIALOG
    BEGIN
        RIGHTMARGIN, 99
        BOTTOMMARGIN, 202
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_SELECTDEVICE DIALOG DISCARDABLE  0, 0, 267, 138
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Select Device"
FONT 8, "MS Shell Dlg"
BEGIN
    GROUPBOX        "Rendering device",IDC_STATIC,5,5,200,45
    LTEXT           "&Adapter:",IDC_STATIC,22,17,65,10,SS_CENTERIMAGE
    COMBOBOX        IDC_ADAPTER_COMBO,90,15,105,100,CBS_DROPDOWNLIST | 
                    WS_VSCROLL | WS_TABSTOP
    LTEXT           "&Device:",IDC_STATIC,22,32,65,10,SS_CENTERIMAGE
    COMBOBOX        IDC_DEVICE_COMBO,90,30,105,100,CBS_DROPDOWNLIST | 
                    WS_VSCROLL | WS_TABSTOP
    GROUPBOX        "Rendering mode",IDC_STATIC,5,52,200,45
    CONTROL         "Use desktop &window",IDC_WINDOW,"Button",
                    BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,10,62,85,15
    CONTROL         "&Fullscreen mode:",IDC_FULLSCREEN,"Button",
                    BS_AUTORADIOBUTTON,10,77,75,15
    COMBOBOX        IDC_FULLSCREENMODES_COMBO,90,77,105,204,CBS_DROPDOWNLIST | 
                    WS_VSCROLL | WS_GROUP | WS_TABSTOP
    GROUPBOX        "Multisample",IDC_STATIC,5,101,200,28
    LTEXT           "&Multisample Type:",IDC_STATIC,22,113,62,10,
                    SS_CENTERIMAGE
    COMBOBOX        IDC_MULTISAMPLE_COMBO,90,111,105,100,CBS_DROPDOWNLIST | 
                    WS_VSCROLL | WS_TABSTOP
    DEFPUSHBUTTON   "OK",IDOK,210,10,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,210,30,50,14
END

IDD_PARTICLEPROPS DIALOGEX 0, 0, 180, 304
STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_CENTER | WS_POPUP | WS_CAPTION | 
    WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CONTROLPARENT
CAPTION "Big Box O' Particle System Properties"
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_SPAWNDIR1X,80,11,29,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_SPAWNDIR1Y,112,11,29,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_SPAWNDIR1Z,143,11,29,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_SPAWNDIR2X,80,27,29,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_SPAWNDIR2Y,112,27,29,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_SPAWNDIR2Z,143,27,29,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_GRAVITYX,80,42,29,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_GRAVITYY,112,42,29,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_GRAVITYZ,143,42,29,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_POSX,80,57,29,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_POSY,112,57,29,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_POSZ,143,57,29,14,ES_AUTOHSCROLL
    PUSHBUTTON      "...",IDC_STARTCOLOR1BROWSE,54,161,16,14
    EDITTEXT        IDC_STARTCOLOR1R,72,161,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_STARTCOLOR1G,97,161,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_STARTCOLOR1B,123,161,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_STARTCOLOR1A,149,161,24,14,ES_AUTOHSCROLL
    PUSHBUTTON      "...",IDC_STARTCOLOR2BROWSE,54,177,16,14
    EDITTEXT        IDC_STARTCOLOR2R,72,177,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_STARTCOLOR2G,97,177,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_STARTCOLOR2B,123,177,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_STARTCOLOR2A,149,177,24,14,ES_AUTOHSCROLL
    PUSHBUTTON      "...",IDC_ENDCOLOR1BROWSE,54,193,16,14
    EDITTEXT        IDC_ENDCOLOR1R,72,193,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_ENDCOLOR1G,97,193,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_ENDCOLOR1B,123,193,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_ENDCOLOR1A,149,193,24,14,ES_AUTOHSCROLL
    PUSHBUTTON      "...",IDC_ENDCOLOR2BROWSE,54,209,16,14
    EDITTEXT        IDC_ENDCOLOR2R,72,209,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_ENDCOLOR2G,97,209,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_ENDCOLOR2B,123,209,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_ENDCOLOR2A,149,209,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EMITRATEMIN,97,224,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EMITRATEMAX,149,224,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_SIZEMIN,97,240,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_SIZEMAX,149,240,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_LIFETIMEMIN,97,256,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_LIFETIMEMAX,149,256,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_TEXTURE,38,271,121,14,ES_AUTOHSCROLL | ES_READONLY
    PUSHBUTTON      "...",IDC_TEXTURE_BROWSE,162,271,11,14
    LTEXT           "Start Color 1:",IDC_STATIC,7,165,43,8
    LTEXT           "Emit Rate (p/s):",IDC_STATIC,7,226,51,8
    LTEXT           "Min:",IDC_STATIC,78,226,15,8
    LTEXT           "Max:",IDC_STATIC,127,226,17,8
    LTEXT           "Part. Size:",IDC_STATIC,7,242,35,8
    LTEXT           "Min:",IDC_STATIC,78,242,15,8
    LTEXT           "Max:",IDC_STATIC,127,242,17,8
    LTEXT           "Spawn Dir 1 (XYZ):",IDC_STATIC,9,13,62,8
    LTEXT           "Spawn Dir 2 (XYZ):",IDC_STATIC,9,29,62,8
    LTEXT           "Gravity (XYZ):",IDC_STATIC,9,44,47,8
    LTEXT           "Position (XYZ):",IDC_STATIC,9,59,50,8
    LTEXT           "Lifetime (secs):",IDC_STATIC,7,258,51,8
    LTEXT           "Min:",IDC_STATIC,78,258,15,8
    LTEXT           "Max:",IDC_STATIC,127,258,17,8
    LTEXT           "Texture:",IDC_STATIC,7,273,28,8
    GROUPBOX        "System Properties:",IDC_STATIC,3,2,174,137
    GROUPBOX        "Particle Properties:",IDC_STATIC,3,144,174,144
    LTEXT           "Start Color 2:",IDC_STATIC,7,180,43,8
    LTEXT           "End Color 1:",IDC_STATIC,7,197,41,8
    LTEXT           "End Color 2:",IDC_STATIC,7,212,41,8
    LTEXT           "R",IDC_STATIC,81,151,8,8
    LTEXT           "G",IDC_STATIC,106,151,8,8
    LTEXT           "B",IDC_STATIC,132,151,8,8
    LTEXT           "A",IDC_STATIC,158,151,8,8
    PUSHBUTTON      "Save...",IDC_SAVE,3,290,35,11
    PUSHBUTTON      "Load...",IDC_LOAD,41,290,35,11
    PUSHBUTTON      "Reset",IDC_RESET,79,290,35,11
    CONTROL         "Show ground",IDC_SHOWGROUND,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,118,291,57,10
    EDITTEXT        IDC_EMITRADIUSX,80,72,29,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EMITRADIUSY,112,72,29,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EMITRADIUSZ,143,72,29,14,ES_AUTOHSCROLL
    LTEXT           "Emission Radius:",IDC_STATIC,9,75,63,8
    LTEXT           "Source Blend:",IDC_STATIC,9,92,46,8
    COMBOBOX        IDC_SRCBLEND,57,90,116,107,CBS_DROPDOWNLIST | WS_VSCROLL | 
                    WS_TABSTOP
    LTEXT           "Dest. Blend:",IDC_STATIC,9,108,40,8
    COMBOBOX        IDC_DESTBLEND,57,105,116,107,CBS_DROPDOWNLIST | 
                    WS_VSCROLL | WS_TABSTOP
    LTEXT           "Maximum Number of Active Particles:",IDC_STATIC,9,123,
                    117,8
    EDITTEXT        IDC_MAXPARTS,130,120,43,14,ES_AUTOHSCROLL
END


/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDR_MENU MENU DISCARDABLE 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "&Go/stop\tEnter",             IDM_TOGGLESTART
        MENUITEM "&Single step\tSpace",         IDM_SINGLESTEP
        MENUITEM SEPARATOR
        MENUITEM "&Change device...\tF2",       IDM_CHANGEDEVICE
        MENUITEM SEPARATOR
        MENUITEM "E&xit\tESC",                  IDM_EXIT
    END
END

IDR_POPUP MENU DISCARDABLE 
BEGIN
    POPUP "Popup"
    BEGIN
        MENUITEM "&Go/stop",                    IDM_TOGGLESTART
        MENUITEM "&Single step",                IDM_SINGLESTEP
        MENUITEM SEPARATOR
        MENUITEM "&Change device...",           IDM_CHANGEDEVICE
        MENUITEM SEPARATOR
        MENUITEM "E&xit",                       IDM_EXIT
    END
END


/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//

IDD_PARTICLEPROPS DLGINIT
BEGIN
    IDC_SRCBLEND, 0x403, 14, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x5a5f, 0x5245, 0x004f, 
    IDC_SRCBLEND, 0x403, 13, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x4f5f, 0x454e, "\000" 
    IDC_SRCBLEND, 0x403, 18, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x535f, 0x4352, 0x4f43, 0x4f4c, 0x0052, 

    IDC_SRCBLEND, 0x403, 21, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x495f, 0x564e, 0x5253, 0x4343, 0x4c4f, 
0x524f, "\000" 
    IDC_SRCBLEND, 0x403, 18, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x535f, 0x4352, 0x4c41, 0x4850, 0x0041, 

    IDC_SRCBLEND, 0x403, 21, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x495f, 0x564e, 0x5253, 0x4143, 0x504c, 
0x4148, "\000" 
    IDC_SRCBLEND, 0x403, 19, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x445f, 0x5345, 0x4154, 0x504c, 0x4148, 
"\000" 
    IDC_SRCBLEND, 0x403, 22, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x495f, 0x564e, 0x4544, 0x5453, 0x4c41, 
0x4850, 0x0041, 
    IDC_SRCBLEND, 0x403, 19, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x445f, 0x5345, 0x4354, 0x4c4f, 0x524f, 
"\000" 
    IDC_SRCBLEND, 0x403, 22, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x495f, 0x564e, 0x4544, 0x5453, 0x4f43, 
0x4f4c, 0x0052, 
    IDC_SRCBLEND, 0x403, 21, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x535f, 0x4352, 0x4c41, 0x4850, 0x5341, 
0x5441, "\000" 
    IDC_DESTBLEND, 0x403, 14, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x5a5f, 0x5245, 0x004f, 
    IDC_DESTBLEND, 0x403, 13, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x4f5f, 0x454e, "\000" 
    IDC_DESTBLEND, 0x403, 18, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x535f, 0x4352, 0x4f43, 0x4f4c, 0x0052, 

    IDC_DESTBLEND, 0x403, 21, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x495f, 0x564e, 0x5253, 0x4343, 0x4c4f, 
0x524f, "\000" 
    IDC_DESTBLEND, 0x403, 18, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x535f, 0x4352, 0x4c41, 0x4850, 0x0041, 

    IDC_DESTBLEND, 0x403, 21, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x495f, 0x564e, 0x5253, 0x4143, 0x504c, 
0x4148, "\000" 
    IDC_DESTBLEND, 0x403, 19, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x445f, 0x5345, 0x4154, 0x504c, 0x4148, 
"\000" 
    IDC_DESTBLEND, 0x403, 22, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x495f, 0x564e, 0x4544, 0x5453, 0x4c41, 
0x4850, 0x0041, 
    IDC_DESTBLEND, 0x403, 19, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x445f, 0x5345, 0x4354, 0x4c4f, 0x524f, 
"\000" 
    IDC_DESTBLEND, 0x403, 22, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x495f, 0x564e, 0x4544, 0x5453, 0x4f43, 
0x4f4c, 0x0052, 
    IDC_DESTBLEND, 0x403, 21, 0
0x3344, 0x4244, 0x454c, 0x444e, 0x535f, 0x4352, 0x4c41, 0x4850, 0x5341, 
0x5441, "\000" 
    0
END

#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

