home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwwin / rwknight.rc_ / rwknight.bin
Text File  |  1995-11-14  |  3KB  |  76 lines

  1. /**********************************************************************
  2.  *
  3.  * File :     rwknight.rc
  4.  *
  5.  * Abstract : Resource definitions for Knight demo
  6.  *
  7.  **********************************************************************
  8.  *
  9.  * This file is a product of Criterion Software Ltd.
  10.  *
  11.  * This file is provided as is with no warranties of any kind and is
  12.  * provided without any obligation on Criterion Software Ltd. or
  13.  * Canon Inc. to assist in its use or modification.
  14.  *
  15.  * Criterion Software Ltd. will not, under any
  16.  * circumstances, be liable for any lost revenue or other damages arising
  17.  * from the use of this file.
  18.  *
  19.  * Copyright (c) 1995 Criterion Software Ltd.
  20.  * All Rights Reserved.
  21.  *
  22.  * RenderWare is a trademark of Canon Inc.
  23.  *
  24.  ************************************************************************/
  25.  
  26. #include "windows.h"
  27. #include "resource.h"
  28.  
  29. CRITERION_LOGO          BITMAP  MOVEABLE PURE   "RWLOGO.BMP"
  30.  
  31. ABOUT DIALOG DISCARDABLE  31, 50, 242, 139
  32. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  33. CAPTION "Knight Help"
  34. FONT 8, "System"
  35. BEGIN
  36.     CONTROL         "",-1,"Static",SS_BLACKFRAME,136,14,97,13
  37.     LTEXT           "File Menu",-1,143,3,34,10
  38.     LTEXT           "Exit: End Application",-1,140,16,69,10
  39.     CONTROL         "",-1,"Static",SS_BLACKFRAME,136,113,98,21
  40.     LTEXT           "Mouse Buttons",-1,143,102,62,10
  41.     LTEXT           "Right: Pan Camera",-1,140,119,69,9
  42.     LTEXT           "Stretch: Toggle Stretching",-1,140,47,88,11
  43.     LTEXT           "Demo: Toggle Demo Mode",-1,140,58,89,10
  44.     LTEXT           "Knight1, Knight2, Observer: Select Viewpoint",-1,140,71,
  45.                     89,17
  46.     CONTROL         "",-1,"Static",SS_BLACKFRAME,136,43,97,56
  47.     LTEXT           "Mode Menu",-1,143,30,47,10
  48.     DEFPUSHBUTTON   "OK",1,48,122,32,14,WS_GROUP
  49.     CTEXT           "This application demonstrates the use of RenderWare for animation in a typical game scenario",
  50.                     -1,3,89,123,28
  51.     CONTROL         "",2,"Button",BS_OWNERDRAW,10,4,108,82
  52. END
  53.  
  54. RW_ICON                 ICON    DISCARDABLE     "RW.ICO"
  55.  
  56. KNIGHT_MENU MENU DISCARDABLE 
  57. BEGIN
  58.     POPUP "&File"
  59.     BEGIN
  60.         MENUITEM "E&xit",                       ID_FILE_EXIT
  61.     END
  62.     POPUP "&Mode"
  63.     BEGIN
  64.         MENUITEM "&Stretch",                    ID_MODE_STRETCH, GRAYED
  65.         MENUITEM "&Demo",                       ID_MODE_DEMO, CHECKED
  66.         MENUITEM SEPARATOR
  67.         MENUITEM "&Observer",                   ID_MODE_OBSERVER
  68.         MENUITEM "Knight&1",                    ID_MODE_KNIGHT1
  69.         MENUITEM "Knight&2",                    ID_MODE_KNIGHT2
  70.     END
  71.     POPUP "&Help"
  72.     BEGIN
  73.         MENUITEM "&About",                      ID_HELP_ABOUT
  74.     END
  75. END
  76.