The DSIM Project







Home

What is DSIM ?

Screenshots

Download

Developpement

Contact






















Hosted by:
SourceForge
Logo




The AI motor

3) Creating the entities:
Creating ourself or creating the entites is the same thing.
The only difference it that we will not ask you to enter the names of your 200 entities. ;)
creation_pnj(map,i) creates our entities.
At first, we create a pointer to a _perso structure:
pnj = (struct _perso *) malloc(sizeof(struct _perso))
pnj_tab[numero_id] = pnj adds this new entity to the array.
Then we do exactly the same thing as the 2)
- Previous - Next -





Copyright Dsim 2000/2001