Assassin2684 wrote: |
Pretty good. I like how you did yours. i might redo mine in C++ but with a better interface. |
Quan Chi2 wrote: |
Yeah, maybe I should have mentioned that with the source? Should I put a copy of that file in with the source? |
Mine GO BOOM wrote: |
|
Code: Show/Hide n_parse = strtok(s_parse, ",");
do { i = atoi(n_parse); if (*c_parse = (UnitLink*)getById(esdata.units, i)) c_parse++; else printf("Discarding non-existant unit type %d.\n", i); } while (n_parse = strtok(NULL, ",")); |