mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 03:39:54 +02:00
- bugfixes and cleanup for g3d editor and map editor so they now compile and run using newer wxwidgets (should also be backwards compatible with 2.8
This commit is contained in:
@@ -106,6 +106,8 @@ private:
|
||||
|
||||
string appPath;
|
||||
|
||||
bool startupSettingsInited;
|
||||
|
||||
void loadUnit(string path, string skillName);
|
||||
void loadModel(string path);
|
||||
void loadParticle(string path);
|
||||
@@ -159,6 +161,9 @@ public:
|
||||
void onKeyDown(wxKeyEvent &e);
|
||||
|
||||
string getModelInfo();
|
||||
|
||||
void setupTimer();
|
||||
void setupStartupSettings();
|
||||
};
|
||||
|
||||
// =====================================================
|
||||
@@ -171,14 +176,17 @@ private:
|
||||
|
||||
public:
|
||||
GlCanvas(MainWindow *mainWindow, int *args);
|
||||
~GlCanvas();
|
||||
|
||||
void onMouseWheel(wxMouseEvent &event);
|
||||
void onMouseMove(wxMouseEvent &event);
|
||||
void onPaint(wxPaintEvent &event);
|
||||
void onKeyDown(wxKeyEvent &event);
|
||||
void setCurrentGLContext();
|
||||
|
||||
private:
|
||||
MainWindow *mainWindow;
|
||||
wxGLContext *context;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user