Ykkrosh
5e3e78ca78
Atlas: Changed video format to 640x480 and losslessly compressed. Added most-recently-used files list. Stopped switching sidebar when selecting tools, since it was getting annoying. Added Slow playback mode. Fixed crash when resetting sim while projectiles exist. Renderer: Added JS-accessible renderer.shadowMapSize to override the size of shadow maps. ShadowMap: Changed default depth texture bits to 24, since that seems to go faster (see #180). PolygonSortModelRenderer: Made more similar to other renderers, so that the renderer.sortAllTransparent=true mode works better. Projectile: Fixed update, so it interpolates smoothly. Entgraph: Fixed promotion detection. This was SVN commit r4876.
51 lines
1.2 KiB
C++
51 lines
1.2 KiB
C++
#ifndef SCENARIOEDITOR_H__
|
|
#define SCENARIOEDITOR_H__
|
|
|
|
#include "General/AtlasWindowCommandProc.h"
|
|
#include "CustomControls/FileHistory/FileHistory.h"
|
|
#include "SectionLayout.h"
|
|
|
|
class ScenarioEditor : public wxFrame
|
|
{
|
|
public:
|
|
ScenarioEditor(wxWindow* parent);
|
|
void OnClose(wxCloseEvent& event);
|
|
void OnTimer(wxTimerEvent& event);
|
|
void OnIdle(wxIdleEvent& event);
|
|
|
|
// void OnNew(wxCommandEvent& event);
|
|
void OnOpen(wxCommandEvent& event);
|
|
void OnSave(wxCommandEvent& event);
|
|
void OnSaveAs(wxCommandEvent& event);
|
|
void OnMRUFile(wxCommandEvent& event);
|
|
|
|
void OnQuit(wxCommandEvent& event);
|
|
void OnUndo(wxCommandEvent& event);
|
|
void OnRedo(wxCommandEvent& event);
|
|
|
|
void OnWireframe(wxCommandEvent& event);
|
|
void OnMessageTrace(wxCommandEvent& event);
|
|
void OnScreenshot(wxCommandEvent& event);
|
|
void OnMediaPlayer(wxCommandEvent& event);
|
|
void OnJavaScript(wxCommandEvent& event);
|
|
|
|
void OpenFile(const wxString& name);
|
|
|
|
static AtlasWindowCommandProc& GetCommandProc();
|
|
|
|
static float GetSpeedModifier();
|
|
|
|
private:
|
|
wxTimer m_Timer;
|
|
|
|
SectionLayout m_SectionLayout;
|
|
|
|
void SetOpenFilename(const wxString& filename);
|
|
wxString m_OpenFilename;
|
|
FileHistory m_FileHistory;
|
|
|
|
DECLARE_EVENT_TABLE();
|
|
};
|
|
|
|
#endif // SCENARIOEDITOR_H__
|