Skip to content

Commit

Permalink
Added model particles
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 24, 2003
1 parent c3a15a9 commit 1bb3db2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doomsday/Src/dedfile.c
Expand Up @@ -320,7 +320,12 @@ int DED_AddPtcGen(ded_t *ded, const char *state)
{
ded_ptcgen_t *gen = DED_NewEntry( (void**) &ded->ptcgens,
&ded->count.ptcgens, sizeof(ded_ptcgen_t));
int i;

strcpy(gen->state, state);
for(i = 0; i < DED_PTC_STAGES; i++)
gen->stages[i].model = -1;

return gen - ded->ptcgens;
}

Expand Down Expand Up @@ -399,6 +404,7 @@ int DED_AddLine(ded_t *ded, int id)
ded_linetype_t *li = DED_NewEntry( (void**) &ded->lines,
&ded->count.lines, sizeof(ded_linetype_t));
li->id = id;
//li->act_count = -1;
return li - ded->lines;
}

Expand Down

0 comments on commit 1bb3db2

Please sign in to comment.