MainFrm.h 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
  1. /*
  2. ===========================================================================
  3. Doom 3 GPL Source Code
  4. Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
  5. This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
  6. Doom 3 Source Code is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation, either version 3 of the License, or
  9. (at your option) any later version.
  10. Doom 3 Source Code is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
  16. In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
  17. If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
  18. ===========================================================================
  19. */
  20. #if !defined(AFX_MAINFRM_H__330BBF0A_731C_11D1_B539_00AA00A410FC__INCLUDED_)
  21. #define AFX_MAINFRM_H__330BBF0A_731C_11D1_B539_00AA00A410FC__INCLUDED_
  22. #if _MSC_VER >= 1000
  23. #pragma once
  24. #endif // _MSC_VER >= 1000
  25. #include "XYWnd.h"
  26. #include "NewTexWnd.h"
  27. #include "ZWnd.h"
  28. #include "CamWnd.h"
  29. #include "TextureBar.h"
  30. const int RAD_SHIFT = 0x01;
  31. const int RAD_ALT = 0x02;
  32. const int RAD_CONTROL = 0x04;
  33. const int RAD_PRESS = 0x08;
  34. struct SCommandInfo
  35. {
  36. char* m_strCommand;
  37. unsigned int m_nKey;
  38. unsigned int m_nModifiers;
  39. unsigned int m_nCommand;
  40. };
  41. struct SKeyInfo
  42. {
  43. char* m_strName;
  44. unsigned int m_nVKKey;
  45. };
  46. class CMainFrame : public CFrameWnd
  47. {
  48. DECLARE_DYNAMIC(CMainFrame)
  49. public:
  50. CMainFrame();
  51. void HandleKey(UINT nChar, UINT nRepCnt, UINT nFlags, bool bDown = true)
  52. {
  53. if (bDown)
  54. OnKeyDown(nChar, nRepCnt, nFlags);
  55. else
  56. OnKeyUp(nChar, nRepCnt, nFlags);
  57. };
  58. // Attributes
  59. public:
  60. // Operations
  61. public:
  62. // Overrides
  63. // ClassWizard generated virtual function overrides
  64. //{{AFX_VIRTUAL(CMainFrame)
  65. public:
  66. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  67. virtual BOOL PreTranslateMessage(MSG* pMsg);
  68. protected:
  69. virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  70. virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  71. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  72. virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  73. //}}AFX_VIRTUAL
  74. // Implementation
  75. public:
  76. void UpdatePatchToolbarButtons();
  77. void NudgeSelection(int nDirection, float fAmount);
  78. void UpdateTextureBar();
  79. void SetButtonMenuStates();
  80. void SetTexValStatus();
  81. void SetGridStatus();
  82. void RoutineProcessing();
  83. CXYWnd* ActiveXY();
  84. void UpdateWindows(int nBits);
  85. void SetStatusText(int nPane, const char* pText);
  86. void UpdateStatusText();
  87. void SetWindowStyle(int nStyle);
  88. bool GetNurbMode() {
  89. return nurbMode;
  90. }
  91. idCurve_NURBS<idVec2> *GetNurb() {
  92. return &nurb;
  93. }
  94. void OnPrecisionCursorCycle();
  95. virtual ~CMainFrame();
  96. CXYWnd* GetXYWnd() {return m_pXYWnd;};
  97. CXYWnd* GetXZWnd() {return m_pXZWnd;};
  98. CXYWnd* GetYZWnd() {return m_pYZWnd;};
  99. CCamWnd* GetCamera() {return m_pCamWnd;};
  100. CZWnd* GetZWnd() {return m_pZWnd;};
  101. void SetActiveXY(CXYWnd* p)
  102. {
  103. if (m_pActiveXY)
  104. m_pActiveXY->SetActive(false);
  105. m_pActiveXY = p;
  106. if (m_pActiveXY)
  107. m_pActiveXY->SetActive(true);
  108. };
  109. #ifdef _DEBUG
  110. virtual void AssertValid() const;
  111. virtual void Dump(CDumpContext& dc) const;
  112. #endif
  113. protected: // control bar embedded members
  114. CStatusBar m_wndStatusBar;
  115. CToolBar m_wndToolBar;
  116. CTextureBar m_wndTextureBar;
  117. CSplitterWnd m_wndSplit;
  118. CSplitterWnd m_wndSplit2;
  119. CSplitterWnd m_wndSplit3;
  120. CXYWnd* m_pXYWnd;
  121. CXYWnd* m_pYZWnd;
  122. CXYWnd* m_pXZWnd;
  123. CCamWnd* m_pCamWnd;
  124. CZWnd* m_pZWnd;
  125. CString m_strStatus[15];
  126. CXYWnd* m_pActiveXY;
  127. bool m_bCamPreview;
  128. bool busy;
  129. bool nurbMode;
  130. idCurve_NURBS<idVec2> nurb;
  131. // Generated message map functions
  132. protected:
  133. bool m_bDoLoop;
  134. void CreateQEChildren();
  135. void LoadCommandMap();
  136. void SaveCommandMap();
  137. void ShowMenuItemKeyBindings(CMenu *pMenu);
  138. void SetEntityCheck();
  139. void SetGridChecks(int nID);
  140. public:
  141. void Nudge(int nDim, float fNudge);
  142. void SetBusy(bool b) {
  143. busy = b;
  144. }
  145. // these are public so i can easily reflect messages
  146. // from child windows..
  147. //{{AFX_MSG(CMainFrame)
  148. afx_msg void OnBSPStatus(UINT wParam, long lParam);
  149. afx_msg void OnBSPDone(UINT wParam, long lParam);
  150. afx_msg void OnParentNotify(UINT message, LPARAM lParam);
  151. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  152. afx_msg void OnTimer(UINT nIDEvent);
  153. afx_msg void OnDestroy();
  154. afx_msg void OnClose();
  155. afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
  156. afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
  157. afx_msg void OnSize(UINT nType, int cx, int cy);
  158. afx_msg void ToggleCamera();
  159. afx_msg void OnFileClose();
  160. afx_msg void OnFileExit();
  161. afx_msg void OnFileLoadproject();
  162. afx_msg void OnFileNew();
  163. afx_msg void OnFileOpen();
  164. afx_msg void OnFilePointfile();
  165. afx_msg void OnFilePrint();
  166. afx_msg void OnFilePrintPreview();
  167. afx_msg void OnFileSave();
  168. afx_msg void OnFileSaveas();
  169. afx_msg void OnFileSaveCopy();
  170. afx_msg void OnViewShowModels();
  171. afx_msg void OnView100();
  172. afx_msg void OnViewCenter();
  173. afx_msg void OnViewConsole();
  174. afx_msg void OnViewDownfloor();
  175. afx_msg void OnViewEntity();
  176. afx_msg void OnViewMediaBrowser();
  177. afx_msg void OnViewFront();
  178. afx_msg void OnViewShowblocks();
  179. afx_msg void OnViewShowclip();
  180. afx_msg void OnViewShowTriggers();
  181. afx_msg void OnViewShowcoordinates();
  182. afx_msg void OnViewShowent();
  183. afx_msg void OnViewShowlights();
  184. afx_msg void OnViewShownames();
  185. afx_msg void OnViewShowpath();
  186. afx_msg void OnViewShowCombatNodes();
  187. afx_msg void OnViewShowwater();
  188. afx_msg void OnViewShowworld();
  189. afx_msg void OnViewTexture();
  190. afx_msg void OnViewUpfloor();
  191. afx_msg void OnViewXy();
  192. afx_msg void OnViewZ100();
  193. afx_msg void OnViewZoomin();
  194. afx_msg void OnViewZoomout();
  195. afx_msg void OnViewZzoomin();
  196. afx_msg void OnViewZzoomout();
  197. afx_msg void OnViewSide();
  198. afx_msg void OnTexturesShowinuse();
  199. afx_msg void OnTexturesInspector();
  200. afx_msg void OnMiscFindbrush();
  201. afx_msg void OnMiscGamma();
  202. afx_msg void OnMiscNextleakspot();
  203. afx_msg void OnMiscPreviousleakspot();
  204. afx_msg void OnMiscPrintxy();
  205. afx_msg void OnMiscSelectentitycolor();
  206. afx_msg void OnMiscFindOrReplaceEntity();
  207. afx_msg void OnMiscFindNextEntity();
  208. afx_msg void OnMiscSetViewPos();
  209. afx_msg void OnTexturebk();
  210. afx_msg void OnColorsMajor();
  211. afx_msg void OnColorsMinor();
  212. afx_msg void OnColorsXybk();
  213. afx_msg void OnBrush3sided();
  214. afx_msg void OnBrush4sided();
  215. afx_msg void OnBrush5sided();
  216. afx_msg void OnBrush6sided();
  217. afx_msg void OnBrush7sided();
  218. afx_msg void OnBrush8sided();
  219. afx_msg void OnBrush9sided();
  220. afx_msg void OnBrushArbitrarysided();
  221. afx_msg void OnBrushFlipx();
  222. afx_msg void OnBrushFlipy();
  223. afx_msg void OnBrushFlipz();
  224. afx_msg void OnBrushRotatex();
  225. afx_msg void OnBrushRotatey();
  226. afx_msg void OnBrushRotatez();
  227. afx_msg void OnRegionOff();
  228. afx_msg void OnRegionSetbrush();
  229. afx_msg void OnRegionSetselection();
  230. afx_msg void OnRegionSettallbrush();
  231. afx_msg void OnRegionSetxy();
  232. afx_msg void OnSelectionArbitraryrotation();
  233. afx_msg void OnSelectionClone();
  234. afx_msg void OnSelectionConnect();
  235. afx_msg void OnSelectionCsgsubtract();
  236. afx_msg void OnSelectionCsgmerge();
  237. afx_msg void OnSelectionDelete();
  238. afx_msg void OnSelectionDeselect();
  239. afx_msg void OnSelectionDragedges();
  240. afx_msg void OnSelectionDragvertecies();
  241. afx_msg void OnSelectionCenterOrigin();
  242. afx_msg void OnSelectionMakehollow();
  243. afx_msg void OnSelectionSelectcompletetall();
  244. afx_msg void OnSelectionSelectinside();
  245. afx_msg void OnSelectionSelectpartialtall();
  246. afx_msg void OnSelectionSelecttouching();
  247. afx_msg void OnSelectionUngroupentity();
  248. afx_msg void OnSelectionWireFrameOn();
  249. afx_msg void OnSelectionWireFrameOff();
  250. afx_msg void OnSelectionVisibleOn();
  251. afx_msg void OnSelectionVisibleOff();
  252. afx_msg void OnAutocaulk();
  253. afx_msg void OnUpdateAutocaulk(CCmdUI* pCmdUI);
  254. afx_msg void OnTexturesPopup();
  255. afx_msg void OnSplinesPopup();
  256. afx_msg void OnSplinesEditPoints();
  257. afx_msg void OnSplinesAddPoints();
  258. afx_msg void OnSplinesDeletePoint();
  259. afx_msg void OnSplinesInsertPoint();
  260. afx_msg void OnPopupSelection();
  261. afx_msg void OnViewChange();
  262. afx_msg void OnViewCameraupdate();
  263. afx_msg void OnUpdateViewCameraupdate(CCmdUI* pCmdUI);
  264. afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
  265. afx_msg void OnHelpAbout();
  266. afx_msg void OnViewClipper();
  267. afx_msg void OnCameraAngledown();
  268. afx_msg void OnCameraAngleup();
  269. afx_msg void OnCameraBack();
  270. afx_msg void OnCameraDown();
  271. afx_msg void OnCameraForward();
  272. afx_msg void OnCameraLeft();
  273. afx_msg void OnCameraRight();
  274. afx_msg void OnCameraStrafeleft();
  275. afx_msg void OnCameraStraferight();
  276. afx_msg void OnCameraUp();
  277. afx_msg void OnGridToggle();
  278. afx_msg void OnPrefs();
  279. afx_msg void OnToggleToolbar();
  280. afx_msg void OnToggleTextureBar();
  281. afx_msg void OnTogglecamera();
  282. afx_msg void OnToggleview();
  283. afx_msg void OnTogglez();
  284. afx_msg void OnToggleLock();
  285. afx_msg void OnEditMapinfo();
  286. afx_msg void OnEditEntityinfo();
  287. afx_msg void OnViewNextview();
  288. afx_msg void OnHelpCommandlist();
  289. afx_msg void OnFileNewproject();
  290. afx_msg void OnFlipClip();
  291. afx_msg void OnClipSelected();
  292. afx_msg void OnSplitSelected();
  293. afx_msg void OnToggleviewXz();
  294. afx_msg void OnToggleviewYz();
  295. afx_msg void OnColorsBrush();
  296. afx_msg void OnColorsClipper();
  297. afx_msg void OnColorsGridtext();
  298. afx_msg void OnColorsSelectedbrush();
  299. afx_msg void OnColorsGridblock();
  300. afx_msg void OnColorsViewname();
  301. afx_msg void OnColorSetoriginal();
  302. afx_msg void OnColorSetqer();
  303. afx_msg void OnColorSetblack();
  304. afx_msg void OnColorSetSuperMal();
  305. afx_msg void OnColorSetMax();
  306. afx_msg void OnSnaptogrid();
  307. afx_msg void OnSelectScale();
  308. afx_msg void OnSelectMouserotate();
  309. afx_msg void OnEditCopybrush();
  310. afx_msg void OnEditPastebrush();
  311. afx_msg void OnEditUndo();
  312. afx_msg void OnEditRedo();
  313. afx_msg void OnUpdateEditUndo(CCmdUI* pCmdUI);
  314. afx_msg void OnUpdateEditRedo(CCmdUI* pCmdUI);
  315. afx_msg void OnSelectionInvert();
  316. afx_msg void OnSelectionTextureDec();
  317. afx_msg void OnSelectionTextureFit();
  318. afx_msg void OnSelectionTextureInc();
  319. afx_msg void OnSelectionTextureRotateclock();
  320. afx_msg void OnSelectionTextureRotatecounter();
  321. afx_msg void OnSelectionTextureScaledown();
  322. afx_msg void OnSelectionTextureScaleup();
  323. afx_msg void OnSelectionTextureShiftdown();
  324. afx_msg void OnSelectionTextureShiftleft();
  325. afx_msg void OnSelectionTextureShiftright();
  326. afx_msg void OnSelectionTextureShiftup();
  327. afx_msg void OnGridNext();
  328. afx_msg void OnGridPrev();
  329. afx_msg void OnSelectionTextureScaleLeft();
  330. afx_msg void OnSelectionTextureScaleRight();
  331. afx_msg void OnTextureReplaceall();
  332. afx_msg void OnScalelockx();
  333. afx_msg void OnScalelocky();
  334. afx_msg void OnScalelockz();
  335. afx_msg void OnSelectMousescale();
  336. afx_msg void OnViewCubicclipping();
  337. afx_msg void OnFileImport();
  338. afx_msg void OnFileProjectsettings();
  339. afx_msg void OnUpdateFileImport(CCmdUI* pCmdUI);
  340. afx_msg void OnViewCubein();
  341. afx_msg void OnViewCubeout();
  342. afx_msg void OnFileSaveregion();
  343. afx_msg void OnUpdateFileSaveregion(CCmdUI* pCmdUI);
  344. afx_msg void OnSelectionMovedown();
  345. afx_msg void OnSelectionMoveup();
  346. afx_msg void OnToolbarMain();
  347. afx_msg void OnToolbarTexture();
  348. afx_msg void OnSelectionPrint();
  349. afx_msg void OnSelectionTogglesizepaint();
  350. afx_msg void OnBrushMakecone();
  351. afx_msg void OnTexturesLoad();
  352. afx_msg void OnToggleRotatelock();
  353. afx_msg void OnCurveBevel();
  354. afx_msg void OnCurveIncreaseVert();
  355. afx_msg void OnCurveDecreaseVert();
  356. afx_msg void OnCurveIncreaseHorz();
  357. afx_msg void OnCurveDecreaseHorz();
  358. afx_msg void OnCurveCylinder();
  359. afx_msg void OnCurveEighthsphere();
  360. afx_msg void OnCurveEndcap();
  361. afx_msg void OnCurveHemisphere();
  362. afx_msg void OnCurveInvertcurve();
  363. afx_msg void OnCurveQuarter();
  364. afx_msg void OnCurveSphere();
  365. afx_msg void OnFileImportmap();
  366. afx_msg void OnFileExportmap();
  367. afx_msg void OnEditLoadprefab();
  368. afx_msg void OnViewShowcurves();
  369. afx_msg void OnSelectionSelectNudgedown();
  370. afx_msg void OnSelectionSelectNudgeleft();
  371. afx_msg void OnSelectionSelectNudgeright();
  372. afx_msg void OnSelectionSelectNudgeup();
  373. afx_msg void OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
  374. afx_msg void OnTexturesLoadlist();
  375. afx_msg void OnDontselectcurve();
  376. afx_msg void OnDynamicLighting();
  377. afx_msg void OnCurveSimplepatchmesh();
  378. afx_msg void OnPatchToggleBox();
  379. afx_msg void OnPatchWireframe();
  380. afx_msg void OnCurvePatchcone();
  381. afx_msg void OnCurvePatchtube();
  382. afx_msg void OnPatchWeld();
  383. afx_msg void OnCurvePatchbevel();
  384. afx_msg void OnCurvePatchendcap();
  385. afx_msg void OnCurvePatchinvertedbevel();
  386. afx_msg void OnCurvePatchinvertedendcap();
  387. afx_msg void OnPatchDrilldown();
  388. afx_msg void OnCurveInsertcolumn();
  389. afx_msg void OnCurveInsertrow();
  390. afx_msg void OnCurveDeletecolumn();
  391. afx_msg void OnCurveDeleterow();
  392. afx_msg void OnCurveInsertAddcolumn();
  393. afx_msg void OnCurveInsertAddrow();
  394. afx_msg void OnCurveInsertInsertcolumn();
  395. afx_msg void OnCurveInsertInsertrow();
  396. afx_msg void OnCurveNegative();
  397. afx_msg void OnCurveNegativeTextureX();
  398. afx_msg void OnCurveNegativeTextureY();
  399. afx_msg void OnCurveDeleteFirstcolumn();
  400. afx_msg void OnCurveDeleteFirstrow();
  401. afx_msg void OnCurveDeleteLastcolumn();
  402. afx_msg void OnCurveDeleteLastrow();
  403. afx_msg void OnPatchBend();
  404. afx_msg void OnPatchInsdel();
  405. afx_msg void OnPatchEnter();
  406. afx_msg void OnPatchTab();
  407. afx_msg void OnCurvePatchdensetube();
  408. afx_msg void OnCurvePatchverydensetube();
  409. afx_msg void OnCurveCap();
  410. afx_msg void OnCurveCapInvertedbevel();
  411. afx_msg void OnCurveCapInvertedendcap();
  412. afx_msg void OnCurveRedisperseCols();
  413. afx_msg void OnCurveRedisperseRows();
  414. afx_msg void OnPatchNaturalize();
  415. afx_msg void OnPatchNaturalizeAlt();
  416. afx_msg void OnSnapToGrid();
  417. afx_msg void OnCurvePatchsquare();
  418. afx_msg void OnTexturesTexturewindowscale10();
  419. afx_msg void OnTexturesTexturewindowscale100();
  420. afx_msg void OnTexturesTexturewindowscale200();
  421. afx_msg void OnTexturesTexturewindowscale25();
  422. afx_msg void OnTexturesTexturewindowscale50();
  423. afx_msg void OnTexturesFlush();
  424. afx_msg void OnCurveOverlayClear();
  425. afx_msg void OnCurveOverlaySet();
  426. afx_msg void OnCurveThicken();
  427. afx_msg void OnCurveCyclecap();
  428. afx_msg void OnCurveCyclecapAlt();
  429. afx_msg void OnCurveMatrixTranspose();
  430. afx_msg void OnTexturesReloadshaders();
  431. afx_msg void OnShowEntities();
  432. afx_msg void OnViewEntitiesasBoundingbox();
  433. afx_msg void OnViewEntitiesasSelectedskinned();
  434. afx_msg void OnViewEntitiesasSelectedwireframe();
  435. afx_msg void OnViewEntitiesasSkinned();
  436. afx_msg void OnViewEntitiesasSkinnedandboxed();
  437. afx_msg void OnViewEntitiesasWireframe();
  438. afx_msg void OnViewShowhint();
  439. afx_msg void OnUpdateTexturesShowinuse(CCmdUI* pCmdUI);
  440. afx_msg void OnTexturesShowall();
  441. afx_msg void OnTexturesHideall();
  442. afx_msg void OnPatchInspector();
  443. afx_msg void OnViewOpengllighting();
  444. afx_msg void OnSelectAll();
  445. afx_msg void OnViewShowcaulk();
  446. afx_msg void OnCurveFreeze();
  447. afx_msg void OnCurveUnFreeze();
  448. afx_msg void OnCurveUnFreezeAll();
  449. afx_msg void OnSelectReselect();
  450. afx_msg void OnViewShowangles();
  451. afx_msg void OnEditSaveprefab();
  452. afx_msg void OnCurveMoreendcapsbevelsSquarebevel();
  453. afx_msg void OnCurveMoreendcapsbevelsSquareendcap();
  454. afx_msg void OnBrushPrimitivesSphere();
  455. afx_msg void OnViewCrosshair();
  456. afx_msg void OnViewHideshowHideselected();
  457. afx_msg void OnViewHideshowHideNotselected();
  458. afx_msg void OnViewHideshowShowhidden();
  459. afx_msg void OnTexturesShadersShow();
  460. afx_msg void OnTexturesFlushUnused();
  461. afx_msg void OnViewGroups();
  462. afx_msg void OnDropGroupAddtoWorld();
  463. afx_msg void OnDropGroupName();
  464. afx_msg void OnDropGroupNewgroup();
  465. afx_msg void OnDropGroupRemove();
  466. afx_msg void OnProjectedLight();
  467. afx_msg void OnShowLighttextures();
  468. afx_msg void OnShowLightvolumes();
  469. afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
  470. afx_msg void OnSplinesMode();
  471. afx_msg void OnSplinesLoad();
  472. afx_msg void OnSplinesSave();
  473. afx_msg void OnSplinesEdit();
  474. afx_msg void OnSplineTest();
  475. afx_msg void OnSplinesTarget();
  476. afx_msg void OnSplinesTargetPoints();
  477. afx_msg void OnSplinesCameraPoints();
  478. afx_msg void OnPopupNewcameraInterpolated();
  479. afx_msg void OnPopupNewcameraSpline();
  480. afx_msg void OnPopupNewcameraFixed();
  481. afx_msg void OnSelectionMoveonly();
  482. afx_msg void OnSelectBrushesOnly();
  483. afx_msg void OnSelectByBoundingBrush();
  484. afx_msg void OnSelectBrushlight();
  485. afx_msg void OnSelectionCombine();
  486. afx_msg void OnPatchCombine();
  487. afx_msg void OnShowDoom();
  488. afx_msg void OnViewRendermode();
  489. afx_msg void OnViewRebuildrenderdata();
  490. afx_msg void OnViewRealtimerebuild();
  491. afx_msg void OnViewRenderentityoutlines();
  492. afx_msg void OnViewMaterialanimation();
  493. afx_msg void OnAxialTextureByWidth();
  494. afx_msg void OnAxialTextureByHeight();
  495. afx_msg void OnAxialTextureArbitrary();
  496. afx_msg void OnSelectionExportToobj();
  497. afx_msg void OnSelectionExportToCM();
  498. afx_msg void OnViewRenderselection();
  499. afx_msg void OnSelectNomodels();
  500. afx_msg void OnViewShowShowvisportals();
  501. afx_msg void OnViewShowNoDraw();
  502. afx_msg void OnViewRendersound();
  503. afx_msg void OnSoundShowsoundvolumes();
  504. afx_msg void OnSoundShowselectedsoundvolumes();
  505. afx_msg void OnNurbEditor();
  506. afx_msg void OnSelectCompleteEntity();
  507. afx_msg void OnGenerateMaterialsList();
  508. afx_msg void OnMru(unsigned int nID);
  509. afx_msg void OnViewNearest(unsigned int nID);
  510. afx_msg void OnTextureWad(unsigned int nID);
  511. afx_msg void OnBspCommand(unsigned int nID);
  512. afx_msg void OnGrid1(unsigned int nID);
  513. afx_msg void OnDisplayChange(WPARAM wp, LPARAM lp);
  514. afx_msg void OnSelectAlltargets();
  515. //}}AFX_MSG
  516. void CheckTextureScale(int id);
  517. DECLARE_MESSAGE_MAP()
  518. };
  519. /////////////////////////////////////////////////////////////////////////////
  520. //{{AFX_INSERT_LOCATION}}
  521. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  522. #endif // !defined(AFX_MAINFRM_H__330BBF0A_731C_11D1_B539_00AA00A410FC__INCLUDED_)