Skip to content

Commit

Permalink
Added ASSET_TABLE structs per new Documentation
Browse files Browse the repository at this point in the history
.. Will replace OBJECT_TABLE/OBJECT_TABLE_ITEM
  • Loading branch information
betajaen committed Nov 15, 2020
1 parent b12fe66 commit f434b44
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Documentation/Development/ct_table.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Asset Lookup Table

struct ASSET_TABLE
{
ULONG at_Type;
ULONG at_AssetType;
UWORD at_Chapter;
UWORD at_Count;
UWORD at_Lowest;
Expand Down
19 changes: 19 additions & 0 deletions Code/Include/Parrot/Parrot.h
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,25 @@ struct OBJECT_TABLE
struct OBJECT_TABLE_ITEM ot_Items[MAX_ITEMS_PER_TABLE];
};

/*
Asset Table
*/

struct ASSET_TABLE
{
ULONG at_AssetType;
UWORD at_Chapter;
UWORD at_Count;
UWORD at_Lowest;
UWORD at_Highest;
};

struct ASSET_TABLE_ITEM
{
UWORD ti_Id;
UWORD ti_Archive;
};

/*
Palette Table
Expand Down

0 comments on commit f434b44

Please sign in to comment.