-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathc3dit.rc
204 lines (180 loc) · 5.4 KB
/
c3dit.rc
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
#include "header.h"
#include "version.h"
1 24 "C3Dit.exe.Manifest"
ID_TB_IMAGE BITMAP "toolbar_buttons.bmp"
IDR_MENU MENU
{
POPUP "&File"
{
MENUITEM "&New", IDF_NEW
MENUITEM "&Open", IDF_OPEN
MENUITEM "Save &As", IDF_SAVEAS
MENUITEM SEPARATOR
/*POPUP "Recent Files"
{
MENUITEM "allo.car", 0
}
MENUITEM SEPARATOR*/
MENUITEM "E&xit", IDF_EXIT
}
POPUP "&View"
{
MENUITEM "Perspective", IDV_PERSPECTIVE
MENUITEM "First Person", IDV_PERSPECTIVE+7
MENUITEM "Left", IDV_PERSPECTIVE+1
MENUITEM "Right", IDV_PERSPECTIVE+2
MENUITEM "Front", IDV_PERSPECTIVE+3
MENUITEM "Back", IDV_PERSPECTIVE+4
MENUITEM "Top", IDV_PERSPECTIVE+5
MENUITEM "Bottom", IDV_PERSPECTIVE+6
MENUITEM SEPARATOR
MENUITEM "Bones", IDV_BONES, CHECKED
MENUITEM "Joints", IDV_JOINTS, CHECKED
MENUITEM "Wireframe", IDF_WIRE
MENUITEM "Lighting\tSHIFT+L", IDF_LIGHT
MENUITEM "Axes", IDV_AXES, CHECKED
MENUITEM "Grid", IDV_GRID, CHECKED
MENUITEM "Specular", IDV_SPECULAR, CHECKED
MENUITEM "EnvMap", IDV_ENVMAP, CHECKED
}
POPUP "&Texture"
{
MENUITEM "Import Texture", IDF_IMTEX
MENUITEM "Export Texture", IDF_EXTEX
MENUITEM SEPARATOR
MENUITEM "Flip UV Map", IDT_FLIPUV
}
POPUP "&Data"
{
POPUP "Tools"
{
MENUITEM "Flip Triangles", IDT_FLIPTRIS
MENUITEM "Swap Y -> Z", 0, GRAYED//IDT_FLIPXYZ
}
MENUITEM SEPARATOR
MENUITEM "Animations", IDF_ANI
MENUITEM "Sounds", IDF_SND
MENUITEM "Properties", IDF_PROPERTIES
}
POPUP "&Help"
{
MENUITEM "&Help", IDF_HELP
//MENUITEM "Update", IDF_UPDATE, GRAYED
MENUITEM SEPARATOR
MENUITEM "About", IDF_ABOUT
}
}
ID_DLG_CAR DIALOGEX 0, 0, 128, 128
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_DLGMODALFRAME
CAPTION "Properties"
FONT 10, "Calibri"
{
LTEXT "Name", 0, 4, 16, 32, 12
EDITTEXT ID_NAME, 32, 16, 48, 12, ES_LEFT | ES_AUTOHSCROLL
LTEXT "Radius", 0, 4, 29, 32, 12
EDITTEXT ID_O_RADIUS, 32, 29, 48, 12, ES_LEFT | ES_NUMBER
LTEXT "ZMin", 0, 4, 42, 32, 12
EDITTEXT ID_O_YLO, 32, 42, 32, 12, ES_LEFT | ES_NUMBER
LTEXT "ZMax", 0, 65, 42, 32, 12
EDITTEXT ID_O_YHI, 96, 42, 32, 12, ES_LEFT | ES_NUMBER
}
ID_dlg_ANI DIALOGEX 0, 0, 128, 128
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_DLGMODALFRAME
//EXSTYLE WS_EX_TOOLWINDOW
CAPTION "Animations"
FONT 10, "Calibri"
{
PUSHBUTTON "Close", IDB_CLOSE, 95, 113, 32, 14, BS_DEFPUSHBUTTON
PUSHBUTTON "Save", IDB_SAVE, 62, 113, 32, 14
PUSHBUTTON "Open", IDB_OPEN, 30, 113, 32, 14
PUSHBUTTON "Apply", IDF_UPDATE, 4, 98, 24, 12
//PUSHBUTTON "Prev", IDB_PREV, 4, 98, 24, 12
//PUSHBUTTON "Next", IDB_NEXT, 30, 98, 24, 12
//Animation info
GROUPBOX "Animation", 0, 1, 1, 126, 111
LTEXT "Name", 0, 4, 16, 72, 12
LTEXT "Anim KPS:", 0, 4, 29, 72, 12
LTEXT "Anim Time:", 0, 4, 42, 72, 12
LTEXT "Frames:", 0, 4, 55, 40, 12
EDITTEXT ID_NAME, 48, 16, 72, 12, ES_LEFT | ES_AUTOHSCROLL
EDITTEXT ID_AKPS, 48, 29, 72, 12, ES_LEFT | ES_NUMBER
EDITTEXT ID_ATIME, 48, 42, 72, 12, ES_LEFT | ES_NUMBER | ES_READONLY
EDITTEXT ID_AFRM, 50, 55, 72, 12, ES_LEFT | ES_NUMBER | ES_READONLY
}
/////////////////////////////////////////////////////////////////////////////
//
// Sound Dialog
//
ID_dlg_SND DIALOGEX 0, 0, 128, 128
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_DLGMODALFRAME
CAPTION "Sounds"
FONT 10, "Calibri"
{
PUSHBUTTON "Close", IDB_CLOSE, 95, 113, 32, 14, BS_DEFPUSHBUTTON
PUSHBUTTON "Save", IDB_SAVE, 62, 113, 32, 14
PUSHBUTTON "Open", IDB_OPEN, 30, 113, 32, 14
//PUSHBUTTON "Prev", IDB_PREV, 4, 98, 24, 12
//PUSHBUTTON "Next", IDB_NEXT, 30, 98, 24, 12
//PUSHBUTTON "Play", IDB_SPLAY, 56, 98, 24, 12
PUSHBUTTON "Apply", IDF_UPDATE, 4, 98, 24, 12
PUSHBUTTON "Play", IDB_SPLAY, 30, 98, 24, 12
//Animation info
GROUPBOX "Sound", 0, 1, 1, 126, 111
LTEXT "Name", 0, 4, 16, 72, 12
LTEXT "Size:", 0, 4, 29, 72, 12
EDITTEXT ID_NAME, 48, 16, 72, 12, ES_LEFT | ES_AUTOHSCROLL
LTEXT "0 Kbs", ID_SIZE, 50, 29, 72, 12
}
/////////////////////////////////////////////////////////////////////////////
//
// About Dialog
//
ID_ABOUT_DIALOG DIALOGEX 0, 0, 200, 128
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_DLGMODALFRAME
CAPTION "About"
//FONT 10, "Calibri"
{
LTEXT "", ID_ABOUT_TEXT, 5, 5, 197, 100
PUSHBUTTON "Ok", ID_ABOUT_OK, 95, 113, 32, 14, BS_DEFPUSHBUTTON
}
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION RESOURCE_VERSION
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
{
BLOCK "StringFileInfo"
{
BLOCK "040904e4"
{
VALUE "CompanyName", "EpicZen"
VALUE "FileDescription", "Carnivores 3D Editor"
VALUE "FileVersion", RESOURCE_VERSION
VALUE "InternalName", "C3Dit.exe"
VALUE "LegalCopyright", "(c) 2011 EpicZen. All rights reserved."
VALUE "OriginalFilename", "C3Dit.exe"
VALUE "ProductName", "C3Dit"
VALUE "ProductVersion", "1.0\0"
}
}
BLOCK "VarFileInfo"
{
//VALUE "Translation", 0x409, 1252
VALUE "Translation", 0xc09, 3081
}
}