Skip to content

Commit

Permalink
Added ID to Model def
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 17, 2003
1 parent 557ef1b commit fd7490e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/Include/dedfile.h
Expand Up @@ -138,6 +138,7 @@ typedef struct

typedef struct
{
ded_stringid_t id; // Optional identifier for the definition.
ded_stateid_t state;
int off;
ded_sprid_t sprite; // Only used by autoscale.
Expand Down
1 change: 1 addition & 0 deletions doomsday/Src/dedread.c
Expand Up @@ -753,6 +753,7 @@ int DED_ReadData(ded_t *ded, char *buffer, const char *sourceFile)
for(;;)
{
READLABEL;
RV_STR("ID", mdl->id)
RV_STR("State", mdl->state)
RV_INT("Off", mdl->off)
RV_STR("Sprite", mdl->sprite.id)
Expand Down

0 comments on commit fd7490e

Please sign in to comment.