Search:

Type: Posts; User: gell10

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Frame problem

    by gell10
    Replies
    7
    Views
    1,349

    I put in: if(change==0) { change=1;...

    I put in:


    if(change==0)
    {
    change=1;
    }
    framerate=1.00/change;
  2. Thread: Frame problem

    by gell10
    Replies
    7
    Views
    1,349

    Okay, I understand that void main() is not legal...

    Okay, I understand that void main() is not legal C++. I didn't know that and it's a shame many tutorials write void main(). Oh well, my problem still persists. Is it because the frame rate is too...
  3. Thread: Frame problem

    by gell10
    Replies
    7
    Views
    1,349

    Ok I tried sprintf and I still have the same...

    Ok I tried sprintf and I still have the same problem. Gibberish is posted after "Framerate: " Ok here is the updated code. Only change is now I use sprintf(); Oh and I changed it to int main, for...
  4. Thread: Frame problem

    by gell10
    Replies
    7
    Views
    1,349

    What exactly is the problem with Void Main? >...

    What exactly is the problem with Void Main?

    > rate=_ecvt(framerate, 10, &decimal, &sign);
    ecvt converts specified double(framerate) to a string. 10 is the maximum number of places to display on...
  5. Thread: Frame problem

    by gell10
    Replies
    7
    Views
    1,349

    Frame problem

    Hey I am writing an Allegro Program and I want to be able to test the frame rate. I am using the header file time.h to measure time. When it is supposed to display the framerate, it displays weird...
  6. As for Scripting Games go. There is one called...

    As for Scripting Games go. There is one called runescape at http://www.runescape.com That is pretty advanced. It is a mmorpg that is written in pure javascript. I am pretty sure. Sure it is no Doom3...
  7. Replies
    4
    Views
    1,211

    I love how stuff works haha they have the basics...

    I love how stuff works haha they have the basics for everything, html perl, c and just everything else. I recommend that site for getting your feet wet in any subject you are unfamiliar with.
  8. Replies
    9
    Views
    1,782

    so what would I put in load.h? I probably could...

    so what would I put in load.h? I probably could then just make it load.cpp and not have load.h at all then? The way it is coded one function opens up to another. Which might be bad I suppose. I...
  9. Replies
    7
    Views
    2,469

    well all languages have their funny things about...

    well all languages have their funny things about them. hehe latin for example i think penus or penis means pine tree and the word facio facere means to do or to make which is where we get that word...
  10. Replies
    9
    Views
    1,782

    There was an error that when the character died...

    There was an error that when the character died the window would close really fast. I corrected this problem. It should be fine now. :D
  11. Replies
    9
    Views
    1,782

    Thank you so much for the positive feed back :D ....

    Thank you so much for the positive feed back :D . Yeah my next goal is to learn some open gl and a possibly port the battle algorithms to something with graphics. The eventual goal is something...
  12. Replies
    9
    Views
    1,782

    ok color was never implemented into the game. I...

    ok color was never implemented into the game. I removed that .h file from my zip program and I accidentally left load.h out. I have now included it in the zip file enjoy. I don't know why I used...
  13. Replies
    9
    Views
    1,782

    New Text Battle Engine

    Hey everyone. I just completed my first "real" game. It's a text battle engine thing. I hope everyone enjoys it. The source code and the executable are in the one .zip file. Tell me what you think...
  14. Replies
    7
    Views
    6,821

    thank you all for your suggestions I figured it...

    thank you all for your suggestions I figured it out thanks there was a simple error in my code's structure :D
  15. Replies
    7
    Views
    6,821

    hmm ok am i doing it right char buffer[33];...

    hmm ok am i doing it right


    char buffer[33];
    memset(buffer, ' ', 33);

    it doesn't seem to be working this is the code i am having problems with


    int magicmenuchanger(string line1,...
  16. Replies
    7
    Views
    6,821

    clearing char arrays

    Hi I have a char array- char buffer[33] and I was wondering if there is an easy function to clear it so that it is empty. I've been searching the net for a while and I can't seem to find one. There...
  17. Replies
    18
    Views
    3,576

    ok thanks i am going to try that

    ok thanks i am going to try that
  18. Replies
    18
    Views
    3,576

    oh i mean the file opens but the compiler error...

    oh i mean the file opens but the compiler error reads

    c:\program files\microsoft visual studio\vc98\include\sstream(22) : error C2504: 'basic_streambuf' : base class undefined
    c:\program...
  19. Replies
    18
    Views
    3,576

    my compiler (mvc++ 6.0) cannot open it...

    my compiler (mvc++ 6.0) cannot open <sstream> it says there are errors in that file does that mean i have to reinstall it, while itoa works just fine.
  20. Replies
    8
    Views
    1,512

    Thank you that works wonderfully :-D

    Thank you that works wonderfully :-D
  21. Replies
    8
    Views
    1,512

    yeah i'm a beginner, i'm trying to learn about...

    yeah i'm a beginner, i'm trying to learn about functions and stuff before i move onto graphics. is there a way to perform the function i said above or would i have to type out each structure...
  22. Replies
    8
    Views
    1,512

    i guess my question is, is that code possible...

    i guess my question is, is that code possible because it doesn't seem to work for me
  23. Replies
    8
    Views
    1,512

    hehe ok but my problem is i want to be able to...

    hehe ok but my problem is i want to be able to alter the data in my structures through a generic function
    for example (this is code i am making up right now so bear with me) =)


    #include...
  24. Replies
    8
    Views
    1,512

    Problem with structure function

    hi, it's me again. This time I am having problems writing a function that alters the data of the structure type. this is what i have can anyone tell me why it doesn't work. Thanks


    #include...
  25. Replies
    18
    Views
    3,576

    thanks ok all my questions are answered... for...

    thanks ok all my questions are answered... for now ;-)
Results 1 to 25 of 46
Page 1 of 2 1 2