Search:

Type: Posts; User: GhOsT_DeStRoYeR

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,629

    i'm after a general theory of how to create...

    i'm after a general theory of how to create one.... more the maths side.

    all i can realy tell you at the moment about the game is that its going to be for the windows OS. Im no where near making...
  2. Replies
    3
    Views
    1,629

    Map for a game

    Im currently making a RPG/Adventure game and i want to make the map of an enitre world.

    i need to beable to represent the world in many sub maps (dividing the world into about 200 segments) so...
  3. Replies
    8
    Views
    8,172

    if your worried about too many if statements and...

    if your worried about too many if statements and your evaulating integers (even if your not, you can just find a way to use integers, or modify this to work) just create an array of pointers to...
  4. Thread: c/c++

    by GhOsT_DeStRoYeR
    Replies
    5
    Views
    1,112

    #include "stack.h" #include "fileio.c" #include...

    #include "stack.h"
    #include "fileio.c"
    #include "stack.c"
    #include "string.c"

    are these files standard?? i dont seem to have them.
  5. Replies
    11
    Views
    2,893

    i'de question local variables being stored in the...

    i'de question local variables being stored in the stack, but i'm probly wrong.
    Dynamic allocation is definately held in the heap, or when the procedure ended, removing all local vars, the dynamic...
  6. Replies
    11
    Views
    2,893

    i'm assuming that you are talking about the...

    i'm assuming that you are talking about the lifetime of the variable

    1) Global variables cannot be static, declareing a global variable as static is a self defeating purpose, because you never...
  7. Replies
    15
    Views
    3,333

    ok, thanks for you help, this is exactly what i'm...

    ok, thanks for you help, this is exactly what i'm looking for. i realise that there is no problem with using 1 header file for more than one c file, its just that i find the way i've currently got it...
  8. Replies
    15
    Views
    3,333

    ok, i apologise if i have been missleading in...

    ok, i apologise if i have been missleading in what i have said.

    i'm trying (note the trying) to make a RPG adventure game similar to diablo, arcanum etc, so i want to keep all the code in smallish...
  9. Replies
    15
    Views
    3,333

    no, i have a header file for each c file. the...

    no, i have a header file for each c file. the header files contain the prototypes, extern's and typedefs.

    the problem comes when i try to use one typedef in a procedure in a different c file. its...
  10. Replies
    15
    Views
    3,333

    that is what i want to stop. if you do that then...

    that is what i want to stop. if you do that then its not realy dividing the code up real well is it?? its just sticking it in one file. i read what codeplug said, but it doesnt suit what i'm after....
  11. Replies
    15
    Views
    3,333

    ohh, ok so its imposible to put them in...

    ohh, ok

    so its imposible to put them in seperate files. realy stops just about all code management....
  12. Replies
    15
    Views
    3,333

    ok. given that code, how would you make it...

    ok.

    given that code, how would you make it possible for mystruct.c to use typedefs in main.c?
  13. Replies
    15
    Views
    3,333

    Code Management

    Hi

    up untill now all the programs i've made are small enough to be writen in one C file.

    however, now i need to split the program into smaller parts so that i can actualy understand what is...
Results 1 to 13 of 13