PDA

View Full Version : Game Engine Editor



Ruggero Visitnin
11-03-2014, 02:21 PM
i know this question is not all about opengl but here i am.
I'm thinking on how to develop an editor for my "game engine" and i'm thinking c# windows form is perfect: is fast, easy to use and so on.
The question is that my engine is written in c++, so i'm thinking to use windows form only as gui for the tools and keep my c++ code as it is.
How can i do it? thanks for help.

DragonForce99
11-04-2014, 02:48 AM
in short you can't

but you can use gui libraris like gtk+opengl

take a look:https://projects.gnome.org/gtkglext/

or use SDL for gui

Ruggero Visitnin
11-04-2014, 11:30 AM
i know there is a way because this is the way DICE writes his Game Engine Editor's code but i know this way is not well known therefore i'll try something else.

Ruggero Visitnin
11-14-2014, 09:55 AM
Guys i'm stuck on how to use glew combined with gtk + or qt, can someone give me a good explanation on how to use qt or gtk combined with glew?

GClements
11-14-2014, 10:29 AM
Guys i'm stuck on how to use glew combined with gtk + or qt, can someone give me a good explanation on how to use qt or gtk combined with glew?
You shouldn't need to use GLEW. For Qt, you can use QGLContext::getProcAddress() to get a pointer to an extension function. Similarly with gdk_gl_get_proc_address() for GtkGLExt.