forked from DRRP-Team/DRRP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMENUDEF
81 lines (72 loc) · 2.49 KB
/
MENUDEF
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/**
* Copyright (c) 2017-2019 DRRP-Team
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
OptionMenuSettings {
Linespacing 12
}
ListMenu "MainMenu" {
IfGame (DooM) {
STATICPATCH 85, 0, "M_DOOM"
POSITION 92, 72
STATICTEXT 187, 188, "DRRP v0.2.x EAB"
// TODO: $DRRP_D_DRRPVERSION
}
TEXTITEM "$DRRP_D_MENU_NEWGAME", "N", "PlayerClassMenu"
TEXTITEM "$DRRP_D_MENU_DRRPMENU", "D", "DRRPMenu"
TEXTITEM "$DRRP_D_MENU_OPTIONS", "O", "OptionsMenu"
TEXTITEM "$DRRP_D_MENU_LOADGAME", "L", "LoadGameMenu"
TEXTITEM "$DRRP_D_MENU_SAVEGAME", "S", "SaveGameMenu"
TEXTITEM "$DRRP_D_MENU_QUITGAME", "Q", "QuitMenu"
}
OPTIONMENU "DRRPMenu" {
TITLE "Doom RPG Remake Project"
STATICTEXT " "
StaticText "$DRRP_D_MENU_DRRPMENU_INVENTORY"
Command "$DRRP_D_MENU_DRRPMENU_NOTEPAD", "openmenu NotebookMenu"
STATICTEXT " "
StaticText "$DRRP_D_MENU_DRRPMENU_SETTINGS"
Submenu "$DRRP_D_MENU_DRRPMENU_LANGUAGE", "Language"
Submenu "$DRRP_D_MENU_DRRPMENU_FLASHLIGHT", "Flashlight"
Submenu "$DRRP_D_MENU_DRRPMENU_SHADERS", "Shaders"
}
OptionMenu "Language" {
Title "$DRRP_D_MENU_DRRPMENU_LANGUAGET"
StaticText " "
Command "English US", "language enu"
Command "Russian", "language rus"
}
OptionValue LocationOptions {
0, "$DRRP_D_MENU_FLASHLIGHT_HELMET"
1, "$DRRP_D_MENU_FLASHLIGHT_RSHOULDER"
2, "$DRRP_D_MENU_FLASHLIGHT_LSHOULDER"
3, "$DRRP_D_MENU_FLASHLIGHT_CENTER"
}
OptionMenu "Flashlight" {
Title "$DRRP_D_MENU_FLASHLIGHT_TITLE"
StaticText " "
ColorPicker "$DRRP_D_MENU_FLASHLIGHT_COLOR", "flashlight_color"
StaticText " "
Slider "$DRRP_D_MENU_FLASHLIGHT_BRIGHNESS", "flashlight_intensity", 0, 1024, 64, 0
StaticText " "
Slider "$DRRP_D_MENU_FLASHLIGHT_IANGLE", "flashlight_inner", 0, 180, 10, 0
Slider "$DRRP_D_MENU_FLASHLIGHT_OANGLE", "flashlight_outer", 0, 180, 10, 0
Option "$DRRP_D_MENU_FLASHLIGHT_LOCATION", flashlight_location, LocationOptions
StaticText " "
Control "$DRRP_D_MENU_FLASHLIGHT_KEY", "toggleflashlight"
}
OptionMenu "Shaders" {
Title "$DRRP_D_MENU_SHADERS_TITLE"
StaticText " "
Option "$DRRP_D_MENU_SHADERS_ENABLE","gl_custompost","ONOFF"
StaticText " "
Option "$DRRP_D_MENU_SHADERS_HELMET","drrp_enable_helmet_shader","ONOFF"
Option "$DRRP_D_MENU_SHADERS_CINEMATIC","drrp_enable_cinematic_shader","ONOFF"
}
OptionMenu "NotebookMenu" protected {
Class "NotebookMenu"
Title "$DRRP_B_ID117"
// filled in by code
}