Skip to content

Commit

Permalink
#47 started with critter properties
Browse files Browse the repository at this point in the history
  • Loading branch information
dertseha committed Mar 18, 2016
1 parent 959c646 commit 996f191
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 18 deletions.
25 changes: 25 additions & 0 deletions levelObjects/14_Critters/critterProperties.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
### Critter Properties

#### Generic Critter Properties

**Generic Critter Propertes** (75 bytes)

0000 [75]byte Unknown


#### Specific 2 Properties

**Specific 2 Properties** (2 bytes)

0000 [2]byte Unknown


#### Cyberspace Critters Specific Properties

These critters (```14/3/x```) are for cyberspace.

**Cyberspace Critters Specific Properties** (6 bytes)

0000 [6]byte Colour scheme

```Colour scheme``` contains 6 palette indices from the game palette. The index into this list comes from the geometry properties, specifically from the [Set Colour and Shade](../../media/Geometry#set-colour-and-shade) command.
37 changes: 19 additions & 18 deletions levelObjects/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,28 @@ The following table lists the object classes together with the available types p
The following table lists the byte sizes of the generic and specific property structures per class.
Many of these bytes are all zero in ```objprop.dat```; In these cases no detailed data definition will be linked.

| Class | Generic | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|:-----:|---------------------------------------------|----|----------|----|----|----|----------|----|----|
| 0 | [2](00_Weapons/weaponProperties.md) | 1 | 1 | ?? | ?? | ?? | ?? | - | - |
| 1 | ?? | 1 | 1 | 1 | 1 | 1 | 1 | 1 | - |
| 2 | [1](02_Projectiles/projectileProperties.md) | 20 | [6][2/1] | 1 | - | - | - | - | - |
| 3 | ?? | 1 | ?? | - | - | - | - | - | - |
| 4 | 22 | 1 | - | - | - | - | - | - | - |
| 5 | 9 | 1 | 1 | - | - | - | - | - | - |
| 6 | 5 | 1 | 1 | 1 | 1 | 1 | - | - | - |
| 7 | 2 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
| 8 | 2 | 1 | 1 | 1 | 1 | 1 | [6][8/5] | 1 | 2 |
| 9 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | - | - |
| 10 | 1 | 1 | 1 | 1 | 1 | 1 | - | - | - |
| 11 | ?? | 1 | 1 | ?? | - | - | - | - | - |
| 12 | 1 | 1 | 1 | 1 | - | - | - | - | - |
| 13 | 3 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | - |
| 14 | ?? | 1 | 2 | ?? | ?? | ?? | - | - | - |
| Class | Generic | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|:-----:|---------------------------------------------|----|----------|-----------|-----------|----|----------|----|----|
| 0 | [2](00_Weapons/weaponProperties.md) | 1 | 1 | ?? | ?? | ?? | ?? | - | - |
| 1 | ?? | 1 | 1 | 1 | 1 | 1 | 1 | 1 | - |
| 2 | [1](02_Projectiles/projectileProperties.md) | 20 | [6][2/1] | 1 | - | - | - | - | - |
| 3 | ?? | 1 | ?? | - | - | - | - | - | - |
| 4 | 22 | 1 | - | - | - | - | - | - | - |
| 5 | 9 | 1 | 1 | - | - | - | - | - | - |
| 6 | 5 | 1 | 1 | 1 | 1 | 1 | - | - | - |
| 7 | 2 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
| 8 | 2 | 1 | 1 | 1 | 1 | 1 | [6][8/5] | 1 | 2 |
| 9 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | - | - |
| 10 | 1 | 1 | 1 | 1 | 1 | 1 | - | - | - |
| 11 | ?? | 1 | 1 | ?? | - | - | - | - | - |
| 12 | 1 | 1 | 1 | 1 | - | - | - | - | - |
| 13 | 3 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | - |
| 14 | [75](14_Critters/critterProperties.md) | 1 | 2 | [2][14/2] | [6][14/3] | 1 | - | - | - |

[2/1]: 02_Projectiles/projectileProperties.md#specific-1-properties
[8/5]: 08_Items/itemProperties.md#cyberspace-items-specific-properties

[14/2]: 14_Critters/critterProperties.md#specific-2-properties
[14/3]: 14_Critters/critterProperties.md#cyberspace-critters-specific-properties

### Object Names

Expand Down

0 comments on commit 996f191

Please sign in to comment.