6 2
7 1
7 1
6 2
Type: Posts; User: loopshot
6 2
7 1
7 1
6 2
Has any one ever heard of a nested pragmas with inline and external. If so what does it look like? I am designing a scanner for M3 as the first part of a complier and I need to make the state machine...
Thanks agian every one. If there is any thing i hate about programming it is that if you have not done something for a while it totally leaves your head on the littlest of semantics.
Boom, it was the extention. I am calling bull $!*% on windows. I right clicked to get the path and it did not say .text.
#include <stdio.h>
main()
{
char quit;
FILE* file = 0;
file = fopen("C:\\Binary\\Test", "r+");
For some reason i am having trouble opening a file with fopen.
#include <stdio.h>
main()
{
char quit;
FILE* file = 0;
the only way to get a real random number would to be record a physical events out come, so you would have to have a physical thing happen in your computer, then you would have to have a way to...
i have not done file IO in a long time so can someone awnser this question
will function fputc() work only when you are at the end of a file or will it replace what is in the file buffer with what...
Thanks alot Salem, i havent used C in a while.
Ok i have this:
void array_dump();
void print_array();
void free_color_array();
int width = 256;
int height = 256;
do you mean like this:
int return_int(void **vp);
instead of that i already have:
int return_int(void *vp)
Ok i am trying to return an int from a void pointer, that points to a bitmap file, and this is my function
note: the file is in little endian and the computers we are using are in big endian so...
It is just good programming practice to keep the data abstraction in place.
Hey all its been a while, summer work. So ok new guy this is what you need to do first. First learn C++ and then come back to talk to us about game programming.
I would like to test your wonderfull looking editor. congrats for getting this far. :)
Sounds great, will make games like quake wars look great, now mabe oceans in games wont be the spammed texture fests that they are.
I am straight up all books, i will look at online tutorials if i am really interested in something and my mind wont comprimise with time but will eventually buy a book in a few days. Most seem to not...
I think I can see your problem when it comes to game engine design.
First let me explain why I think what your problem it what it is.
At the beginning of this article you were asking about advice...
When you need to check for massive amounts of collisions you need some sort of a cheaper check to see what has the possibility of colliding, like having a invisibly circle around all of your objects...
I completely agree with the plan to make some sort of a empty base class for tieing all of your renderable objects together, but you may want to add more than just draw() to it so that next time you...
The occlusion for a game like that is quite easy, if its on the screen render it.
And making a 3d engine is quite alot of work, you are right about that, but it sounds like you have something nice...
I dont know but i heard Windows Vista will not support OpenGL, or put it over DirectX. And i think directX is becoming better then Open GL anyway
our high school had one, and they are not 50,000$ they are more like 250,000 to 300,000, one of the teachers had an engineering company so he just leaves it at school so he can make models for...
i think you would need to do some assembly, but i really have no idea
yes that is a way but you should just delete it right on the spot to free up system memory as soon as possible