That Linux has less API support than Macs.
Type: Posts; User: Eber Kain
That Linux has less API support than Macs.
Use the ClearScreen() fuction that is part of whatever API your using.
I read the FAQ and all the articles before I posted, I dont think im getting my point across, or either you think I just started with C++. Lets take this for example.
class A {
public:
A() {
...
What factors should one use to determine when you should use the new and delete operators? I am completely comfortable with pointers, is there a reason to dynamicaly allocate members of a class, if...
glOrtho(window dimensions);
DrawMouse();
gluPerspective(field of vision);
DrawWord();
you use both perspectives each pass. There are some optimization techniques that can cut down the system...
Before you draw the textured object color it full white, and before you draw the white box disable textures with glDisable(GL_TEXTURE_2D). Always keep in mind that OpenGL is a State Machine, so once...
I remember posting this about 2 years ago.
Thats what it was, damn annoying I tell you. Thanks.
The error message I get is this.
C:\Programming\4x\ClientCode\SplashManager.cpp(81) : error C2039: 'LoadMenuA' : is not a member of 'sGameMode'
c:\programming\4x\clientcode\mode.h(36) :...
Provided that i have no idea how your code is designed, what I would try first is to create a new child window, like one of the tile selection windows, and use it to display a 50x50 grid of the main...
I knew there was a library function out there, but damned if I could find it. :)
Thanks alot man.
Say I create a font like so.
HFONT font = CreateFont(f_height,f_width,0,0,f_weight,f_italic,
f_underline,f_strike,f_charset,OUT_TT_PRECIS,
CLIP_DEFAULT_PRECIS,f_quality,...
You left out the most important part, the API. You doing it with OpenGL, DirectX, SDL, or some other library?
When I have these kind of problems that hang around, I take a step back and have a long stareing contest with the basic concepts behind my code design. Heres the idea I had that may help you....
...
I have setup a macro that auto increments a build number declared as a #define in a header file. For some reason, whenever the macro is finished the file is not flagged by the editor as being...
You might consider running a profile of your program, provided you are using MSVC. You can find the option under the Build->Profile... menu.
If there is not profiling option in your debugger, you...
You can put a Translatef in a display list, but if you are changing the values from frame to frame, then thats no good. Remember that the list is only going to save gl functions, so while the for...
Using a display list cannot be slower that calling the functions standard. The real speed boost you get from DisplayLists is when you have matrix manipulation routines, lighting models, or...
It does not look like you are actually calling your Cylinder() function during the draw function...
A Display List is a cache of OpenGL commands that can be executed with a single call. OpenGL holds all the transforms or whatever in memory until they are called, and does not recalculate everything...
Are they all the same size? You could use a DisplayList to create one, and then just repeat it. That should be fast enough.
unsigned int ID; //this is a unique ID for the list, like a...
So... you know exactly what pixels you need to change? If so, then change to a 2D ortho perspective with Width and Height the same as the window and draw a single poly untextured 20x20.
If you...
Warning, I could be wrong about this.
(*iter)->VertexBuffer
Dereferencing the iterator gives you the address of the object instance.
Awsome, thanks a bunch for that.
Ill set that up, thanks for the tip.