i want to make a game.
i need a main menu and the game part.
i want the main menu to be a seperate window, but can you
have both the menu and game in one source code ?
what would be the best way...
Type: Posts; User: slx47
i want to make a game.
i need a main menu and the game part.
i want the main menu to be a seperate window, but can you
have both the menu and game in one source code ?
what would be the best way...
I made a opengl program. My program exits but it still is running a process, how do you exit the program completely including its process ?
heres my current code:
case WM_DESTROY:
...
OpenGL is some much easier than directx :)
i want to get the fps for my program but not sure how to do it, anyone know how to do this ?
You misspelled printf(you put pritf) here:
how do you update the caption in the top bar ? I want to tell the fps.
____________________________
|Bar Caption |-|o|X|
----------------------------------------- |...
actually visual basic is a language "kinda". like with a command button you add it then you edit it. You dont write all the code to display it like its location of the form you just drag. Also vb...
i tried that but the compiler said sprintf was a undeclared identitifier ?
I want to display the fps for my app. heres part of my code:
case WM_PAINT:
TextOut(hDC,1,1,fcount,lstrlen(fcount)); //fcount = int
I cant make it 4 fields but i cant get the length...
i know you have to add devmode but where in your code do you add it because i keep getting errors ?
i think it goes like this:
DEVMODE devModeScreen;...
make sure its a win32 app.
How do you get the frame rate in opengl/c++ ?
I built a win32 opengl app and it quits and doesnt show up in tasks but it is still running in the processes. Anyone know how fix this ?
Thanks alot now it works for me !!!
I keep getting this message with the same code:
--------------------Configuration: sw - Win32 Debug--------------------
Compiling...
sw.cpp
c:\program files\microsoft visual...
you have to include the libraries under project options(glu32.lib, glaux.lib, opengl32.lib)
if you get this to work can you tell me which compiler u used ?
// Includes
#include <windows.h>
#include <gl/gl.h>
#include <gl/glu.h>
#include <gl/glaux.h>
sorry to say but that didnt fix it :(
I got the free version. I tried to compile a win32 opengl program using:
bcc32.exe -c c:\sw.cpp
-c is compile but it has errors with the header and libraries anyone know how to compile this ?
i select win32 application and my code is:
// Includes
#include <windows.h>
#include <gl/gl.h>
#include <gl/glu.h>
#include <gl/glaux.h>
im using winmain w/opengl. I switched it to win32 but i got this error:
--------------------Configuration: sw - Win32 Debug--------------------
Compiling...
sw.cpp
c:\program files\microsoft...
can someone tell me what kind of error this is(using visual cpp):
--------------------Configuration: s - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001:...
i am using visual c++ and my errors are:
--------------------Configuration: s - Win32 Debug--------------------
Compiling...
s.cpp
C:\Documents and Settings\Ralph\s.cpp(40) : error C2601:...
Where do i install the opengl sdk(its self extracting). I tried a few diff. places and still cant make any opengl programs. Anyone else have a problem with missing dll's ?
What do you use for 3d modeling ? I use blender cause its free and ez to use.