Some questions about coding

  • KIRILL
    26th Nov 2011 Member 0 Permalink

    WHY YOU LOOK AND NOT ANSWER????????

    Some questions
    1) How to do, that when after reaction with elements, will be created 2, or more elements (at once, without random)

    For example: ACID and IRON = BRMT and CAUS and SALT [it just example], or FWRK and NEUT = PHOT and ELEC etc;

    Just with this code:

    else if ((r&0xFF)==PT_Na_s)
    {
    create_part(r>>8, x+rx, y+ry, PT_SALT);
    part_change_type(i,x,y,PT_H2);
    }

    ACID flows slowly and very bad {some particles stops and then moves up (!)};


    2) How to link .c file to element

    3) How to delete or add menu?

    4) And what mean >>> int update_...(UPDATE_FUNC_ARGS); and >>> int update_...(UPDATE_FUNC_ARGS);
    and &update_NEUT, &graphics_NEUT},??? because when I add int update_p(U...) and &update_p, &graphics_p} the programm not compile

    LOOK PLEASE THIS VIDEO [in 720p quality] AND PLEASE HELP ME)))

    ALSO I HAVE THE { my element}.c with code, so why it not working I can't understand

    I do, like other people doing.