#include <windows.h>
#include "Dino.h"
#include "version.h"
wdino ACCELERATORS
{
  VK_F3, ACTION_GET, VIRTKEY
  "g", ACTION_GET
  "G", ACTION_GET
  VK_F4, ACTION_WRITE, VIRTKEY
  "w", ACTION_WRITE
  "W", ACTION_WRITE
  VK_F10, ACTION_EXIT, VIRTKEY
  "q", ACTION_EXIT
  "Q", ACTION_EXIT
  "^c", ACTION_EXIT
  "^C", ACTION_EXIT
  VK_ESCAPE, ACTION_HIDE, VIRTKEY
  VK_F5, ACTION_UNDO, VIRTKEY
  "u", ACTION_UNDO
  "U", ACTION_UNDO
  VK_F6, ACTION_REDO, VIRTKEY
  "r", ACTION_REDO
  "R", ACTION_REDO
  "c", ACTION_CLEAR
  "C", ACTION_CLEAR
  VK_F7, ACTION_PRACTICE, VIRTKEY
  "p", ACTION_PRACTICE
  "P", ACTION_PRACTICE
  VK_F8, ACTION_RANDOMIZE, VIRTKEY
  "z", ACTION_RANDOMIZE
  "Z", ACTION_RANDOMIZE
  VK_F9, ACTION_SOLVE, VIRTKEY
  "s", ACTION_SOLVE
  "S", ACTION_SOLVE
  VK_F11, ACTION_ORIENTIZE, VIRTKEY
  "o", ACTION_ORIENTIZE
  "O", ACTION_ORIENTIZE
  VK_F12, ACTION_DIM, VIRTKEY
  "m", ACTION_DIM
  "M", ACTION_DIM
  "v", ACTION_VIEW
  "V", ACTION_VIEW
  "2", ACTION_PERIOD2
  "3", ACTION_PERIOD3
  "4", ACTION_BOTH
  "b", ACTION_BOTH
  "B", ACTION_BOTH
  ".", ACTION_SPEED
  ">", ACTION_SPEED
  ",", ACTION_SLOW
  "<", ACTION_SLOW
  "@", ACTION_SOUND
  VK_NUMPAD9, ACTION_TR, VIRTKEY
  VK_PRIOR, ACTION_TR, VIRTKEY
  VK_NUMPAD3, ACTION_BR, VIRTKEY
  VK_NEXT, ACTION_BR, VIRTKEY
  VK_NUMPAD1, ACTION_BL, VIRTKEY
  VK_END, ACTION_BL, VIRTKEY
  VK_NUMPAD7, ACTION_TL, VIRTKEY
  VK_HOME, ACTION_TL, VIRTKEY
  VK_F12, ACTION_CW, VIRTKEY
  VK_NUMPAD5, ACTION_CW, VIRTKEY
  VK_CLEAR, ACTION_CW, VIRTKEY
  VK_F11, ACTION_CCW, VIRTKEY
  VK_DIVIDE, ACTION_CCW, VIRTKEY
  VK_NUMPAD8, ACTION_TOP, VIRTKEY
  VK_UP, ACTION_TOP, VIRTKEY
  VK_NUMPAD6, ACTION_RIGHT, VIRTKEY
  VK_RIGHT, ACTION_RIGHT, VIRTKEY
  VK_NUMPAD2, ACTION_BOTTOM, VIRTKEY
  VK_DOWN, ACTION_BOTTOM, VIRTKEY
  VK_NUMPAD4, ACTION_LEFT, VIRTKEY
  VK_LEFT, ACTION_LEFT, VIRTKEY
  VK_NUMPAD9, ACTION_SHIFT_TR, VIRTKEY, SHIFT
  VK_PRIOR, ACTION_SHIFT_TR, VIRTKEY, SHIFT
  VK_NUMPAD3, ACTION_SHIFT_BR, VIRTKEY, SHIFT
  VK_NEXT, ACTION_SHIFT_BR, VIRTKEY, SHIFT
  VK_NUMPAD1, ACTION_SHIFT_BL, VIRTKEY, SHIFT
  VK_END, ACTION_SHIFT_BL, VIRTKEY, SHIFT
  VK_NUMPAD7, ACTION_SHIFT_TL, VIRTKEY, SHIFT
  VK_HOME, ACTION_SHIFT_TL, VIRTKEY, SHIFT
  VK_F12, ACTION_SHIFT_CW, VIRTKEY, SHIFT
  VK_NUMPAD5, ACTION_SHIFT_CW, VIRTKEY, SHIFT
  VK_CLEAR, ACTION_SHIFT_CW, VIRTKEY, SHIFT
  VK_F11, ACTION_SHIFT_CCW, VIRTKEY, SHIFT
  VK_DIVIDE, ACTION_SHIFT_CCW, VIRTKEY, SHIFT
  VK_NUMPAD8, ACTION_SHIFT_TOP, VIRTKEY, SHIFT
  VK_UP, ACTION_SHIFT_TOP, VIRTKEY, SHIFT
  VK_NUMPAD6, ACTION_SHIFT_RIGHT, VIRTKEY, SHIFT
  VK_RIGHT, ACTION_SHIFT_RIGHT, VIRTKEY, SHIFT
  VK_NUMPAD2, ACTION_SHIFT_BOTTOM, VIRTKEY, SHIFT
  VK_DOWN, ACTION_SHIFT_BOTTOM, VIRTKEY, SHIFT
  VK_NUMPAD4, ACTION_SHIFT_LEFT, VIRTKEY, SHIFT
  VK_LEFT, ACTION_SHIFT_LEFT, VIRTKEY, SHIFT
  VK_NUMPAD9, ACTION_CONTROL_TR, VIRTKEY, CONTROL
  VK_PRIOR, ACTION_CONTROL_TR, VIRTKEY, CONTROL
  VK_NUMPAD3, ACTION_CONTROL_BR, VIRTKEY, CONTROL
  VK_NEXT, ACTION_CONTROL_BR, VIRTKEY, CONTROL
  VK_NUMPAD1, ACTION_CONTROL_BL, VIRTKEY, CONTROL
  VK_END, ACTION_CONTROL_BL, VIRTKEY, CONTROL
  VK_NUMPAD7, ACTION_CONTROL_TL, VIRTKEY, CONTROL
  VK_HOME, ACTION_CONTROL_TL, VIRTKEY, CONTROL
  VK_F12, ACTION_CONTROL_CW, VIRTKEY, CONTROL
  VK_NUMPAD5, ACTION_CONTROL_CW, VIRTKEY, CONTROL
  VK_CLEAR, ACTION_CONTROL_CW, VIRTKEY, CONTROL
  VK_F11, ACTION_CONTROL_CCW, VIRTKEY, CONTROL
  VK_DIVIDE, ACTION_CONTROL_CCW, VIRTKEY, CONTROL
  VK_NUMPAD8, ACTION_CONTROL_TOP, VIRTKEY, CONTROL
  VK_UP, ACTION_CONTROL_TOP, VIRTKEY, CONTROL
  VK_NUMPAD6, ACTION_CONTROL_RIGHT, VIRTKEY, CONTROL
  VK_RIGHT, ACTION_CONTROL_RIGHT, VIRTKEY, CONTROL
  VK_NUMPAD2, ACTION_CONTROL_BOTTOM, VIRTKEY, CONTROL
  VK_DOWN, ACTION_CONTROL_BOTTOM, VIRTKEY, CONTROL
  VK_NUMPAD4, ACTION_CONTROL_LEFT, VIRTKEY, CONTROL
  VK_LEFT, ACTION_CONTROL_LEFT, VIRTKEY, CONTROL
  VK_NUMPAD9, ACTION_SHIFT_CONTROL_TR, VIRTKEY, SHIFT, CONTROL
  VK_PRIOR, ACTION_SHIFT_CONTROL_TR, VIRTKEY, SHIFT, CONTROL
  VK_NUMPAD3, ACTION_SHIFT_CONTROL_BR, VIRTKEY, SHIFT, CONTROL
  VK_NEXT, ACTION_SHIFT_CONTROL_BR, VIRTKEY, SHIFT, CONTROL
  VK_NUMPAD1, ACTION_SHIFT_CONTROL_BL, VIRTKEY, SHIFT, CONTROL
  VK_END, ACTION_SHIFT_CONTROL_BL, VIRTKEY, SHIFT, CONTROL
  VK_NUMPAD7, ACTION_SHIFT_CONTROL_TL, VIRTKEY, SHIFT, CONTROL
  VK_HOME, ACTION_SHIFT_CONTROL_TL, VIRTKEY, SHIFT, CONTROL
  VK_F12, ACTION_SHIFT_CONTROL_CW, VIRTKEY, SHIFT, CONTROL
  VK_NUMPAD5, ACTION_SHIFT_CONTROL_CW, VIRTKEY, SHIFT, CONTROL
  VK_CLEAR, ACTION_SHIFT_CONTROL_CW, VIRTKEY, SHIFT, CONTROL
  VK_F11, ACTION_SHIFT_CONTROL_CCW, VIRTKEY, SHIFT, CONTROL
  VK_DIVIDE, ACTION_SHIFT_CONTROL_CCW, VIRTKEY, SHIFT, CONTROL
  VK_NUMPAD8, ACTION_SHIFT_CONTROL_TOP, VIRTKEY, SHIFT, CONTROL
  VK_UP, ACTION_SHIFT_CONTROL_TOP, VIRTKEY, SHIFT, CONTROL
  VK_NUMPAD6, ACTION_SHIFT_CONTROL_RIGHT, VIRTKEY, SHIFT, CONTROL
  VK_RIGHT, ACTION_SHIFT_CONTROL_RIGHT, VIRTKEY, SHIFT, CONTROL
  VK_NUMPAD2, ACTION_SHIFT_CONTROL_BOTTOM, VIRTKEY, SHIFT, CONTROL
  VK_DOWN, ACTION_SHIFT_CONTROL_BOTTOM, VIRTKEY, SHIFT, CONTROL
  VK_NUMPAD4, ACTION_SHIFT_CONTROL_LEFT, VIRTKEY, SHIFT, CONTROL
  VK_LEFT, ACTION_SHIFT_CONTROL_LEFT, VIRTKEY, SHIFT, CONTROL
  VK_NUMPAD9, ACTION_ALT_TR, VIRTKEY, ALT
  VK_PRIOR, ACTION_ALT_TR, VIRTKEY, ALT
  VK_NUMPAD3, ACTION_ALT_BR, VIRTKEY, ALT
  VK_NEXT, ACTION_ALT_BR, VIRTKEY, ALT
  VK_NUMPAD1, ACTION_ALT_BL, VIRTKEY, ALT
  VK_END, ACTION_ALT_BL, VIRTKEY, ALT
  VK_NUMPAD7, ACTION_ALT_TL, VIRTKEY, ALT
  VK_HOME, ACTION_ALT_TL, VIRTKEY, ALT
  VK_F12, ACTION_ALT_CW, VIRTKEY, ALT
  VK_NUMPAD5, ACTION_ALT_CW, VIRTKEY, ALT
  VK_CLEAR, ACTION_ALT_CW, VIRTKEY, ALT
  VK_F11, ACTION_ALT_CCW, VIRTKEY, ALT
  VK_DIVIDE, ACTION_ALT_CCW, VIRTKEY, ALT
  VK_NUMPAD8, ACTION_ALT_TOP, VIRTKEY, ALT
  VK_UP, ACTION_ALT_TOP, VIRTKEY, ALT
  VK_NUMPAD6, ACTION_ALT_RIGHT, VIRTKEY, ALT
  VK_RIGHT, ACTION_ALT_RIGHT, VIRTKEY, ALT
  VK_NUMPAD2, ACTION_ALT_BOTTOM, VIRTKEY, ALT
  VK_DOWN, ACTION_ALT_BOTTOM, VIRTKEY, ALT
  VK_NUMPAD4, ACTION_ALT_LEFT, VIRTKEY, ALT
  VK_LEFT, ACTION_ALT_LEFT, VIRTKEY, ALT
  VK_NUMPAD9, ACTION_CONTROL_ALT_TR, VIRTKEY, CONTROL, ALT
  VK_PRIOR, ACTION_CONTROL_ALT_TR, VIRTKEY, CONTROL, ALT
  VK_NUMPAD3, ACTION_CONTROL_ALT_BR, VIRTKEY, CONTROL, ALT
  VK_NEXT, ACTION_CONTROL_ALT_BR, VIRTKEY, CONTROL, ALT
  VK_NUMPAD1, ACTION_CONTROL_ALT_BL, VIRTKEY, CONTROL, ALT
  VK_END, ACTION_CONTROL_ALT_BL, VIRTKEY, CONTROL, ALT
  VK_NUMPAD7, ACTION_CONTROL_ALT_TL, VIRTKEY, CONTROL, ALT
  VK_HOME, ACTION_CONTROL_ALT_TL, VIRTKEY, CONTROL, ALT
  VK_F12, ACTION_CONTROL_ALT_CW, VIRTKEY, CONTROL, ALT
  VK_NUMPAD5, ACTION_CONTROL_ALT_CW, VIRTKEY, CONTROL, ALT
  VK_CLEAR, ACTION_CONTROL_ALT_CW, VIRTKEY, CONTROL, ALT
  VK_F11, ACTION_CONTROL_ALT_CCW, VIRTKEY, CONTROL, ALT
  VK_DIVIDE, ACTION_CONTROL_ALT_CCW, VIRTKEY, CONTROL, ALT
  VK_NUMPAD8, ACTION_CONTROL_ALT_TOP, VIRTKEY, CONTROL, ALT
  VK_UP, ACTION_CONTROL_ALT_TOP, VIRTKEY, CONTROL, ALT
  VK_NUMPAD6, ACTION_CONTROL_ALT_RIGHT, VIRTKEY, CONTROL, ALT
  VK_RIGHT, ACTION_CONTROL_ALT_RIGHT, VIRTKEY, CONTROL, ALT
  VK_NUMPAD2, ACTION_CONTROL_ALT_BOTTOM, VIRTKEY, CONTROL, ALT
  VK_DOWN, ACTION_CONTROL_ALT_BOTTOM, VIRTKEY, CONTROL, ALT
  VK_NUMPAD4, ACTION_CONTROL_ALT_LEFT, VIRTKEY, CONTROL, ALT
  VK_LEFT, ACTION_CONTROL_ALT_LEFT, VIRTKEY, CONTROL, ALT
  "?", ACTION_DESCRIPTION
  "!", ACTION_FEATURES
  94, ACTION_REFERENCES /* ^ */
  "a", ACTION_ABOUT
  "A", ACTION_ABOUT
  VK_F1, ACTION_ABOUT, VIRTKEY
}
wdino ICON "dino.ico"
wdino MENU
{
  POPUP "&File"
  {
    MENUITEM "&Get\tF3", ACTION_GET
    MENUITEM "&Write\tF4", ACTION_WRITE
    MENUITEM "E&xit\tF10", ACTION_EXIT
  }
  POPUP "&Edit"
  {
    MENUITEM "&Undo\tF5", ACTION_UNDO
    MENUITEM "&Redo\tF6", ACTION_REDO
    MENUITEM "&Clear", ACTION_CLEAR
    MENUITEM "&Practice\tF7", ACTION_PRACTICE
    MENUITEM "Randomi&ze\tF8", ACTION_RANDOMIZE
    MENUITEM "Auto-&solve\tF9", ACTION_SOLVE
    MENUITEM "&Orientize\tF11", ACTION_ORIENTIZE
    MENUITEM "&Speed\t>", ACTION_SPEED
    MENUITEM "&Slow\t<", ACTION_SLOW
    MENUITEM "&Sound\t@", ACTION_SOUND
    MENUITEM "&View", ACTION_VIEW
    MENUITEM "Di&mension\tF12", ACTION_DIM
  }
  POPUP "&Mode"
  {
    MENUITEM "Period &2\tKEYBOARD 2", ACTION_PERIOD2
    MENUITEM "Period &3\tKEYBOARD 3", ACTION_PERIOD3
    MENUITEM "&Both\tb", ACTION_BOTH
  }
  POPUP "&Help"
  {
    MENUITEM "&Description\t?", ACTION_DESCRIPTION
    MENUITEM "&Features\t!", ACTION_FEATURES
    MENUITEM "&References\t^", ACTION_REFERENCES
    MENUITEM "&About\tF1", ACTION_ABOUT
  }
}
ABOUT DIALOG 25, 28, 190, 100
/*;LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL*/
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About"
{
  ICON "wdino", -1, 5, 7, 16, 16
  LTEXT "Windows Dinosaur Cube  Version " VERSION, -1, 30, 11, 150, 18
  CONTROL "", -1, "Static", SS_BLACKRECT, 20, 29, 148, 1
  LTEXT "Send bugs (reports, or fixes) to the author: David Bagley <bagleyd@tux.org>", -1, 30, 33, 150, 18
  CONTROL "", -1, "Static", SS_BLACKRECT, 20, 53, 148, 1
  LTEXT "The latest version is at: http://www.tux.org/~bagleyd/puzzles.html", -1, 30, 58, 150, 18
  CONTROL "", -1, "Static", SS_BLACKRECT, 20, 79, 148, 1
  DEFPUSHBUTTON "OK", IDOK, 79, 84, 32, 14, WS_GROUP
}
