EvilEngine/GRUP: Difference between revisions
Content added Content deleted
No edit summary |
EnergyDrink (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
{{#vardefine:type|[[Base]]}}<nowiki/> |
{{#vardefine:type|[[Base]]}}<nowiki/> |
||
{{#vardefine:basetype|0x11}}<nowiki/> |
{{#vardefine:basetype|0x11}}<nowiki/> |
||
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU}}<nowiki/> |
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU RatProto}}<nowiki/> |
||
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Core/x/xGroup.h xGroup.h]}}<nowiki/> |
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Core/x/xGroup.h xGroup.h]}}<nowiki/> |
||
{{#vardefine:image|}}<nowiki/> |
{{#vardefine:image|}}<nowiki/> |
Revision as of 19:56, 25 June 2022
GRUP | |
---|---|
Group | |
Type | Base |
Base Type | 0x11 |
Games used | Night of 100 Frights Battle for Bikini Bottom |
Source code | xGroup.h |
This asset groups an amount of other assets. It's used, for example, to make duplicatotrons function.
Format
Groups are base assets, so they start with their 0x8 byte header, then are followed by:
Offset | Type | Variable | Description |
---|---|---|---|
0x08 | short | itemCount | |
0x0A | short | groupFlags | what to do with an event when it is received.
|
0x0C | AssetID[itemCount] | unknown | List of asset IDs for each item in the group. |
Events | |||
- | Event[numberOfEvents] | Events | can GRUP receive/send events? |